Messages in this thread |  | | Date | Mon, 20 Jan 1997 18:35:49 +0200 (GFT Standard Time) | From | Marko Sepp <> | Subject | Re: Compiling Linux 2.1.21... |
| |
At 15.57 20.1.1997 +0100, you wrote: > I haven't been able to compile Linux 2.1.21 at all: > >root@gizmo:/usr/src/linux-2.1.21# make distclean > ... all well >root@gizmo:/usr/src/linux-2.1.21# make menuconfig > ... all well >root@gizmo:/usr/src/linux-2.1.21# make dep && make clean zImage > ... >make[3]: Entering directory `/usr/src/linux-2.1.21/drivers/block' >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 >
You have to manually comment out these lines, which numbers are given. It compiles and runs OK then. Function declarations are NOT necessarily needed so you can comment them out without a side effects.
Marko
|  |