Are you using gcc 3.x? Try build your kernels with gcc 2.x. HTH.
On Tue, Jul 01, 2003 at 11:24:03AM +1100, [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote on 01-07-2003 11:05:18 AM: > > > yes you use the linux-2.4.18 source > > but you install the kernel-headers for 2.4.18-bf2.4 > > all I did was copy the contents of the headers > > directory to kernel-source-2.4.18 > > > Thanks Kevin, > I have tried that (I am on the unstable dist if that make any difference), > but I am getting errors when trying to "make dep" > > The error I get is: > fork.c:558: error: conflicting types for `kernel_thread' > /root/linux/usr/src/kernel-source-2.4.18/include/asm/processor.h:432: > error: previous declaration of `kernel_thread' > fork.c: In function `kernel_thread': > fork.c:570: error: structure has no member named `task_dumpable' > fork.c:571: error: structure has no member named `task_dumpable' > fork.c:574: warning: implicit declaration of function `arch_kernel_thread' > fork.c:577: error: structure has no member named `task_dumpable' > make[2]: *** [fork.o] Error 1 > make[2]: Leaving directory > `/root/linux/usr/src/kernel-source-2.4.18/kernel' > make[1]: *** [first_rule] Error 2 > make[1]: Leaving directory > `/root/linux/usr/src/kernel-source-2.4.18/kernel' > make: *** [_dir_kernel] Error 2 > > Sounds like the headers are incompatible with kernel-2.4.18 (atleast in > unstable tree). > > Cheers, > > Scott -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
