make all_targets make[2]: Entering directory `/usr/src/linux-2.4.26-gentoo-r11/kernel' gcc -D__KERNEL__ -I/usr/src/linux-2.4.26-gentoo-r11/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c sched.c:617: error: conflicting types for 'wake_up_process' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:696: error: previous declaration of 'wake_up_process' was here sched.c:617: error: conflicting types for 'wake_up_process' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:696: error: previous declaration of 'wake_up_process' was here sched.c:622: error: conflicting types for 'wake_up_forked_process' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:697: error: previous declaration of 'wake_up_forked_process' was here sched.c:622: error: conflicting types for 'wake_up_forked_process' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:697: error: previous declaration of 'wake_up_forked_process' was here sched.c:659: error: conflicting types for 'sched_exit' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:698: error: previous declaration of 'sched_exit' was here sched.c:659: error: conflicting types for 'sched_exit' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:698: error: previous declaration of 'sched_exit' was here sched.c:1433: error: conflicting types for '__wake_up' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:688: error: previous declaration of '__wake_up' was here sched.c:1433: error: conflicting types for '__wake_up' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:688: error: previous declaration of '__wake_up' was here sched.c:1464: error: conflicting types for 'complete' /usr/src/linux-2.4.26-gentoo-r11/include/linux/completion.h:31: error: previous declaration of 'complete' was here sched.c:1464: error: conflicting types for 'complete' /usr/src/linux-2.4.26-gentoo-r11/include/linux/completion.h:31: error: previous declaration of 'complete' was here sched.c:1474: error: conflicting types for 'wait_for_completion' /usr/src/linux-2.4.26-gentoo-r11/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here sched.c:1474: error: conflicting types for 'wait_for_completion' /usr/src/linux-2.4.26-gentoo-r11/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here sched.c:1509: error: conflicting types for 'interruptible_sleep_on' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:693: error: previous declaration of 'interruptible_sleep_on' was here sched.c:1509: error: conflicting types for 'interruptible_sleep_on' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:693: error: previous declaration of 'interruptible_sleep_on' was here sched.c:1520: error: conflicting types for 'interruptible_sleep_on_timeout' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:694: error: previous declaration of 'interruptible_sleep_on_timeout' was here sched.c:1520: error: conflicting types for 'interruptible_sleep_on_timeout' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:694: error: previous declaration of 'interruptible_sleep_on_timeout' was here sched.c:1533: error: conflicting types for 'sleep_on' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:690: error: previous declaration of 'sleep_on' was here sched.c:1533: error: conflicting types for 'sleep_on' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:690: error: previous declaration of 'sleep_on' was here sched.c:1544: error: conflicting types for 'sleep_on_timeout' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:691: error: previous declaration of 'sleep_on_timeout' was here sched.c:1544: error: conflicting types for 'sleep_on_timeout' /usr/src/linux-2.4.26-gentoo-r11/include/linux/sched.h:691: error: previous declaration of 'sleep_on_timeout' was here make[2]: *** [sched.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r11/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.26-gentoo-r11/kernel' make: *** [_dir_kernel] Error 2
Attach your .config please.
Created attachment 43856 [details] .config
Maybe I should add, that I tried it with my working -r9 .config and make oldconfig as well as make mrproper and creating a new one (which is attached). So the problem must be new, since one of the latest two revisions.
Hrm, well the affected file didn't change in the last two revisions. Compiler issue? "emerge info" please.
Yeah, GCC 3.4 issue. *** This bug has been marked as a duplicate of 64220 ***