Re: Compiling Linux 2.1.21...

Mark Hemment (markhe@sco.COM)
Mon, 20 Jan 1997 16:42:47 +0000 (GMT)


Juan Cespedes <cespedes@lander.es> wrote;
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.21/include -Wall

> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe

> -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2

> -malign-functions=2 -DCPU=586 -c -o ide.o ide.c
> ide.c:2831: parse error before `EXPORT_SYMTAB_not_defined'
> ide.c:2831: warning: data definition has no type or storage class
> ide.c:2832: parse error before `EXPORT_SYMTAB_not_defined'
> ide.c:2832: warning: data definition has no type or storage class
> ... lots of errors like that one...
> ide.c:2879: parse error before `EXPORT_SYMTAB_not_defined'
> ide.c:2879: warning: data definition has no type or storage class
> make[3]: *** [ide.o] Error 1
>

I had the same problem. Rather than finding the correct fix,
I simply re-ran "make config" and enabled module support (even
though I don't run with modules).

Regards,

markhe