Kernal Compile Error
# make bzImage
gcc -D__KERNEL__ -I/home/berto/lptop/linux-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /home/berto/lptop/linux-2.4.19/include/linux/sched.h:23,
from /home/berto/lptop/linux-2.4.19/include/linux/mm.h:4,
from /home/berto/lptop/linux-2.4.19/include/linux/slab.h:14,
from /home/berto/lptop/linux-2.4.19/include/linux/proc_fs.h:5,
from init/main.c:15:
/home/berto/lptop/linux-2.4.19/include/linux/smp.h:29: error: conflicting typesfor 'smp_send_reschedule'
/home/berto/lptop/linux-2.4.19/include/asm/smp.h:65: error: previous declaration of 'smp_send_reschedule' was here
/home/berto/lptop/linux-2.4.19/include/linux/smp.h:29: error: conflicting typesfor 'smp_send_reschedule'
/home/berto/lptop/linux-2.4.19/include/asm/smp.h:65: error: previous declaration of 'smp_send_reschedule' was here
In file included from /home/berto/lptop/linux-2.4.19/include/linux/unistd.h:9,
from init/main.c:17:
/home/berto/lptop/linux-2.4.19/include/asm/unistd.h:365: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1
Im Running FC3 and im tryin to load Linux on an old IBM ThinkPad 755c and im using the kernel used in the example... 2.4.19 and i dont know whats going on make xconfig worked fine and so did make dep
any help would be quite usefull lol ive been trying to get a decent working version of linux on this box forever with no success.
|