both machines are running Mandrake 7.2, i am going to try to compile the kernel on YellowDog Linux tonight to see if it works, and yes both times i used a fresh kernel from kernel.org -munir > Message: 8 > Date: Mon, 05 Mar 2001 14:34:54 -0600 > From: Clay Fandre <clay at fandre.com> > To: tclug-list at mn-linux.org > Subject: Re: [TCLUG] compiling the 2.4.2 > Reply-To: tclug-list at mn-linux.org > > What distro are you using? Have you tried compiling > a fresh downloaded > kernel? (as opposed to a patched kernel) > > > Munir Nassar wrote: > > > > i tried to compile the 2.4.2 kernel at the > installfest > > and i got compiler errors, i thought it was my > machine > > that had problems so i tried to compile on a > diferent > > machine and i got exactly the same error, i have > > attached the error message and i one of you would > be > > kind enough to take a look at it i would very much > > appreciate it... > > > > -munir > > > > ===== > > -----BEGIN GEEK CODE BLOCK----- > > Version: 3.12 > > GAT GIT dpu- s:- a19 C++ UL P+ L+(++) E--- W+ N+ > w(--) K? O-- M- V- PS+ PE-(--) Y-- PGP-(---) t 5+++ > X R tv-- b+++ D++ DI++ G e+ h+() r- y+ UF++ > > ------END GEEK CODE BLOCK------ > > > > __________________________________________________ > > Do You Yahoo!? > > Get email at your own domain with Yahoo! Mail. > > http://personal.mail.yahoo.com/ > > > > > ------------------------------------------------------------------------ > > gcc -D__KERNEL__ -I/root/linux-2.4.2/include -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer > -fno-strict-aliasing -pipe > -mpreferred-stack-boundary=2 -march=i686 > -malign-functions=4 -c -o init/main.o init/main.c > > In file included from > /root/linux-2.4.2/include/linux/irq.h:57, > > from > /root/linux-2.4.2/include/asm/hardirq.h:6, > > from > /root/linux-2.4.2/include/linux/interrupt.h:45, > > from > /root/linux-2.4.2/include/asm/string.h:296, > > from > /root/linux-2.4.2/include/linux/string.h:21, > > from > /root/linux-2.4.2/include/linux/fs.h:23, > > from > /root/linux-2.4.2/include/linux/capability.h:17, > > from > /root/linux-2.4.2/include/linux/binfmts.h:5, > > from > /root/linux-2.4.2/include/linux/sched.h:9, > > from > /root/linux-2.4.2/include/linux/mm.h:4, > > from > /root/linux-2.4.2/include/linux/slab.h:14, > > from > /root/linux-2.4.2/include/linux/proc_fs.h:5, > > from init/main.c:15: > > /root/linux-2.4.2/include/asm/hw_irq.h: In > function `x86_do_profile': > > /root/linux-2.4.2/include/asm/hw_irq.h:198: > `current' undeclared (first use in this function) > > /root/linux-2.4.2/include/asm/hw_irq.h:198: (Each > undeclared identifier is reported only once > > /root/linux-2.4.2/include/asm/hw_irq.h:198: for > each function it appears in.) > > In file included from > /root/linux-2.4.2/include/asm/string.h:296, > > from > /root/linux-2.4.2/include/linux/string.h:21, > > from > /root/linux-2.4.2/include/linux/fs.h:23, > > from > /root/linux-2.4.2/include/linux/capability.h:17, > > from > /root/linux-2.4.2/include/linux/binfmts.h:5, > > from > /root/linux-2.4.2/include/linux/sched.h:9, > > from > /root/linux-2.4.2/include/linux/mm.h:4, > > from > /root/linux-2.4.2/include/linux/slab.h:14, > > from > /root/linux-2.4.2/include/linux/proc_fs.h:5, > > from init/main.c:15: > > /root/linux-2.4.2/include/linux/interrupt.h: In > function `raise_softirq': > > /root/linux-2.4.2/include/linux/interrupt.h:89: > `current' undeclared (first use in this function) > > /root/linux-2.4.2/include/linux/interrupt.h: In > function `tasklet_schedule': > > /root/linux-2.4.2/include/linux/interrupt.h:160: > `current' undeclared (first use in this function) > > /root/linux-2.4.2/include/linux/interrupt.h: In > function `tasklet_hi_schedule': > > /root/linux-2.4.2/include/linux/interrupt.h:174: > `current' undeclared (first use in this function) > > In file included from > /root/linux-2.4.2/include/linux/string.h:21, > > from > /root/linux-2.4.2/include/linux/fs.h:23, > > from > /root/linux-2.4.2/include/linux/capability.h:17, > > from > /root/linux-2.4.2/include/linux/binfmts.h:5, > > from > /root/linux-2.4.2/include/linux/sched.h:9, > > from > /root/linux-2.4.2/include/linux/mm.h:4, > > from > /root/linux-2.4.2/include/linux/slab.h:14, > > from > /root/linux-2.4.2/include/linux/proc_fs.h:5, > > from init/main.c:15: > > /root/linux-2.4.2/include/asm/string.h: In > function `__constant_memcpy3d': > > /root/linux-2.4.2/include/asm/string.h:305: > `current' undeclared (first use in this function) > > /root/linux-2.4.2/include/asm/string.h: In > function `__memcpy3d': > > /root/linux-2.4.2/include/asm/string.h:312: > `current' undeclared (first use in this function) > > make: *** [init/main.o] Error 1 ===== -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GAT GIT dpu- s:- a19 C++ UL P+ L+(++) E--- W+ N+ w(--) K? O-- M- V- PS+ PE-(--) Y-- PGP-(---) t 5+++ X R tv-- b+++ D++ DI++ G e+ h+() r- y+ UF++ ------END GEEK CODE BLOCK------ __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/