2.4.16-wolk16(s) compilation problems
Michal Purzynski <[email protected]> Sat, 18 Sep 2004 17:59:09 +0200 (METDST)
| Newsgroups | gmane.linux.wolk.devel |
|---|---|
| Message-ID | <[email protected]> |
hey, i have runed into following problem during copmilation: gcc -D__KERNEL__ -I/root/linux-2.4.20-wolk4.16-fullkernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -fno-unit-at-a-time -DUTS_MACHINE='"i386"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c make CFLAGS="-D__KERNEL__ -I/root/linux-2.4.20-wolk4.16-fullkernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -fno-unit-at-a-time " -C kernel make[1]: Entering directory `/root/linux-2.4.20-wolk4.16-fullkernel/kernel' make all_targets make[2]: Entering directory `/root/linux-2.4.20-wolk4.16-fullkernel/kernel' gcc -D__KERNEL__ -I/root/linux-2.4.20-wolk4.16-fullkernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -fno-unit-at-a-time -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c make[2]: Leaving directory `/root/linux-2.4.20-wolk4.16-fullkernel/kernel' make[1]: Leaving directory `/root/linux-2.4.20-wolk4.16-fullkernel/kernel' sched.c:333: error: conflicting types for 'try_to_wake_up' sched.c:331: error: previous declaration of 'try_to_wake_up' was here sched.c:333: error: conflicting types for 'try_to_wake_up' sched.c:331: error: previous declaration of 'try_to_wake_up' was here sched.c:399: error: conflicting types for 'wake_up_process' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:715: error: previous declaration of 'wake_up_process' was here sched.c:399: error: conflicting types for 'wake_up_process' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:715: error: previous declaration of 'wake_up_process' was here sched.c:404: error: conflicting types for 'wake_up_process_kick' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:716: error: previous declaration of 'wake_up_process_kick' was here sched.c:404: error: conflicting types for 'wake_up_process_kick' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:716: error: previous declaration of 'wake_up_process_kick' was here sched.c:409: error: conflicting types for 'wake_up_forked_process' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:717: error: previous declaration of 'wake_up_forked_process' was here sched.c:409: error: conflicting types for 'wake_up_forked_process' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:717: error: previous declaration of 'wake_up_forked_process' was here sched.c:466: error: conflicting types for 'sched_exit' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:176: error: previous declaration of 'sched_exit' was here sched.c:466: error: conflicting types for 'sched_exit' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:176: error: previous declaration of 'sched_exit' was here sched.c:548: error: conflicting types for 'idle_cpu' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:177: error: previous declaration of 'idle_cpu' was here sched.c:548: error: conflicting types for 'idle_cpu' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:177: error: previous declaration of 'idle_cpu' was here sched.c:1154: error: conflicting types for '__wake_up' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:707: error: previous declaration of '__wake_up' was here sched.c:1154: error: conflicting types for '__wake_up' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:707: error: previous declaration of '__wake_up' was here sched.c:1166: error: conflicting types for '__wake_up_sync' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:708: error: previous declaration of '__wake_up_sync' was here sched.c:1166: error: conflicting types for '__wake_up_sync' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:708: error: previous declaration of '__wake_up_sync' was here sched.c:1181: error: conflicting types for 'complete' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/completion.h:31: error: previous declaration of 'complete' was here sched.c:1181: error: conflicting types for 'complete' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/completion.h:31: error: previous declaration of 'complete' was here sched.c:1191: error: conflicting types for 'wait_for_completion' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here sched.c:1191: error: conflicting types for 'wait_for_completion' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here sched.c:1226: error: conflicting types for 'interruptible_sleep_on' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:712: error: previous declaration of 'interruptible_sleep_on' was here sched.c:1226: error: conflicting types for 'interruptible_sleep_on' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:712: error: previous declaration of 'interruptible_sleep_on' was here sched.c:1237: error: conflicting types for 'interruptible_sleep_on_timeout' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:713: error: previous declaration of 'interruptible_sleep_on_timeout' was here sched.c:1237: error: conflicting types for 'interruptible_sleep_on_timeout' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:713: error: previous declaration of 'interruptible_sleep_on_timeout' was here sched.c:1250: error: conflicting types for 'sleep_on' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:709: error: previous declaration of 'sleep_on' was here sched.c:1250: error: conflicting types for 'sleep_on' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:709: error: previous declaration of 'sleep_on' was here sched.c:1261: error: conflicting types for 'sleep_on_timeout' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:710: error: previous declaration of 'sleep_on_timeout' was here sched.c:1261: error: conflicting types for 'sleep_on_timeout' /root/linux-2.4.20-wolk4.16-fullkernel/include/linux/sched.h:710: error: previous declaration of 'sleep_on_timeout' was here make[2]: *** [sched.o] Error 1 make[1]: *** [first_rule] Error 2 make: *** [_dir_kernel] Error 2 gcc version 3.4.1 20040803 (Gentoo Hardened Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5) i would patch it myself if i would knew how FASTCALL (macro ?) work. any ideas how to fix it ? Albeiro ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ WOLK - Working Overloaded Linux Kernel [email protected] https://lists.sourceforge.net/lists/listinfo/wolk-devel