problem compiling ftape-4.04a

jklaas <[email protected]> Tue, 15 Jul 2003 15:01:46 -0400 (EDT)
Newsgroups gmane.linux.tape
Message-ID <Pine.LNX.4.50.0307151444430.1228-100000@shenendoah.appalachian.home>
I wanted to get the latest ftape drivers running on my Mandrake 9.0 
installation.  So I grabbed ftape-4.04a and read all the instructions 
there.  It didn't appear that I needed to make any adjustments so I went 
ahead and ran make, but I got a bunch of warnings like this:

`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions

So, I went through and modified MCONFIG typically like the following:

472c472
< KERNEL_OPT     += -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
---
> KERNEL_OPT     += -march=i386 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -DCPU=586
476c476
< KERNEL_OPT     += -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
---
> KERNEL_OPT     += -march=i386 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -DCPU=586

That got me past those cc1 warnings.  It then barfed on:

make[2]: Entering directory `/usr/src/ftape-4.04a/ftape/lowlevel'
gcc -Wall -Wstrict-prototypes -O2  -fomit-frame-pointer -fno-strength-reduce -D__KERNEL__ -I. -I../../include -I/usr/src/linux/include -march=i386 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include ../../include/linux/modftversions.h  -DEXPORT_SYMTAB -c ftape_syms.c
In file included from /usr/src/linux/include/linux/fs.h:12,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:6,
                 from /usr/src/linux/include/linux/sched.h:9,
                 from ../../include/linux/ftape.h:35,
                 from ftape_syms.c:32:
/usr/src/linux/include/linux/wait.h: In function `__add_wait_queue_tail':
/usr/src/linux/include/linux/wait.h:220: warning: implicit declaration of function `list_add_tail'
In file included from ftape-tracing.h:35,
                 from ftape_syms.c:33:
../lowlevel/ftape-init.h: In function `ft_sigtest':
../lowlevel/ftape-init.h:70: structure has no member named `signal'

I also got pages and pages of:

fdc-io.c:1249:36: warning: pasting "(" and "ft_t_warn" does not give a valid preprocessing token

warnings.

I'm running 2.4.19-16mdk for my kernel and my gcc version is 3.2.2.  

Thanks.

-- 
			James Klaas

Procrastinate NOW!!!! -- Don't put it off.
-
To unsubscribe from this list: send the line "unsubscribe linux-tape" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html