lkml.org 
[lkml]   [1997]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.021 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site