hello everybody,
i am running a kernel 2.4.26 on my Pentium II ... i was using my favorite gnome gcc 3.3.2
with a glibc 2.3.2, trying to follow the evolution of the desktop gnome 2.6, 2.7, ... 2.8 (soon) !
once, i decided to build and use the next generation of gcc aka 3.4.1 ! no problem to build and install this new compiler ! but since this time, i'm not able to build my kernel anymore
the following is the problem reported by the link editor :
gcc -D__KERNEL__ -I/home/builds/gnome/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /home/builds/gnome/linux-2.4.26/include/linux/sched.h:23,
from /home/builds/gnome/linux-2.4.26/include/linux/mm.h:4,
from /home/builds/gnome/linux-2.4.26/include/linux/slab.h:14,
from /home/builds/gnome/linux-2.4.26/include/linux/proc_fs.h:5,
from init/main.c:15:
/home/builds/gnome/linux-2.4.26/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/home/builds/gnome/linux-2.4.26/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
/home/builds/gnome/linux-2.4.26/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule'
/home/builds/gnome/linux-2.4.26/include/asm/smp.h:42: error: previous declaration of 'smp_send_reschedule' was here
In file included from /home/builds/gnome/linux-2.4.26/include/linux/unistd.h:9,
from init/main.c:17:
/home/builds/gnome/linux-2.4.26/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1
some of the standard header files may have changed ???
may somebody help ?