Compile Time error on 2.1.97

Christopher W. Fisher (chrisf@shadow.net)
Tue, 21 Apr 1998 12:30:30 -0400 (EDT)


this is the error i got when compile with the XD driver

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -mpentium -march=pentium
-mcpu=pentium -fno-risc -malign-loops=6 -malign-jumps=6
-malign-functions=6 -DCPU=586 -c -o xd.o xd.c
xd.c: In function `xd_dtc_init_controller':
xd.c:709: `xd' undeclared (first use this function)
xd.c:709: (Each undeclared identifier is reported only once
xd.c:709: for each function it appears in.)
make[3]: *** [xd.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/block'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 2
[root@RainMan linux]#

i done this attempt twice, once as a module AND once as a in-kernel
compile.

[root@RainMan linux]# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.90.27/specs
gcc version pgcc-2.90.27 980315 (egcs-1.0.2 release)

and using binutils 2.9.0.3

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu