2.1.93 && drivers/net/sdladrv.c

Jeff Bailey (jbailey@nisa.net)
Wed, 8 Apr 1998 18:16:18 -0700 (PDT)


Using Egcs-1.02 and binutils-2.8.1.0.30 from 'yggdrasil', my compile yields
the following:

I am running on a multi-processor Pentium Pro system with 64MB Ram, compiling
for a UP Kernel.

make zImage
.
.
.
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-f
rame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -m
align-functions=2 -DCPU=686 -c -o sdladrv.o sdladrv.c
sdladrv.c:328: parse error before `EXPORT_SYMTAB_not_defined'
sdladrv.c:328: warning: type defaults to `int' in declaration of `EXPORT_SYMTAB_
not_defined'
sdladrv.c:328: warning: data definition has no type or storage class

This error repeats for lines 456, 501, 565, 622, 681, 733, 781, 812, and 854.

The offending statement is always something like:

EXPORT_SYMBOL(sdla_mapmem);

In /usr/include/linux/module.h, I find the error which has the comment:
/* If things weren't set up in the Makefiles to get EXPORT_SYMTAB defined,
then they weren't set up to run genksyms properly so MODVERSIONS breaks. */

However, I didn't have CONFIG_MODVERSIONS set. (I tired setting it, and
that didn't help).

So, I am at a loss.

Tks,
Jeff Bailey
jbailey@nisa.net

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