Gentoo Archives: gentoo-hardened

From: petre daniel <dani@×××××.ro>
To: gentoo-embedded@l.g.o, gentoo-hardened@l.g.o, gentoo-server@l.g.o
Subject: [gentoo-hardened] i cant compile none of them kernel versions no more..
Date: Sat, 16 Oct 2004 17:16:04
Message-Id: 20041016201503.00288e9b@blue.spark.ro
1 so i have this uclibc build small router.last night i updated linux-headers from 2.4.22 to 2.4.26 and today i couldnt recompile
2 the hardened-sources 2.4.27-r3 kernel.
3 i tried with gentoo-sources-r1 but still :
4
5 ibm linux # make bzImage
6 gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium2 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
7 In file included from /usr/src/linux-2.4.27-gentoo-r1/include/linux/unistd.h:9,
8 from init/main.c:17:
9 /usr/src/linux-2.4.27-gentoo-r1/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
10 . scripts/mkversion > .tmpversion
11 dnsdomainname: Unknown host
12 gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium2 -DUTS_MACHINE='"i386"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
13 gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium2 -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
14 In file included from /usr/src/linux-2.4.27-gentoo-r1/include/linux/unistd.h:9,
15 from init/do_mounts.c:5:
16 /usr/src/linux-2.4.27-gentoo-r1/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit'
17 make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.27-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium2 " -C kernel
18 make[1]: Entering directory `/usr/src/linux-2.4.27-gentoo-r1/kernel'
19 make all_targets
20 make[2]: Entering directory `/usr/src/linux-2.4.27-gentoo-r1/kernel'
21 gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-gentoo-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium2 -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c
22 sched.c:621: error: conflicting types for 'wake_up_process'
23 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:697: error: previous declaration of 'wake_up_process' was here
24 sched.c:621: error: conflicting types for 'wake_up_process'
25 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:697: error: previous declaration of 'wake_up_process' was here
26 sched.c:626: error: conflicting types for 'wake_up_forked_process'
27 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:698: error: previous declaration of 'wake_up_forked_process' was here
28 sched.c:626: error: conflicting types for 'wake_up_forked_process'
29 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:698: error: previous declaration of 'wake_up_forked_process' was here
30 sched.c:663: error: conflicting types for 'sched_exit'
31 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:699: error: previous declaration of 'sched_exit' was here
32 sched.c:663: error: conflicting types for 'sched_exit'
33 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:699: error: previous declaration of 'sched_exit' was here
34 sched.c:1437: error: conflicting types for '__wake_up'
35 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:689: error: previous declaration of '__wake_up' was here
36 sched.c:1437: error: conflicting types for '__wake_up'
37 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:689: error: previous declaration of '__wake_up' was here
38 sched.c:1468: error: conflicting types for 'complete'
39 /usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:31: error: previous declaration of 'complete' was here
40 sched.c:1468: error: conflicting types for 'complete'
41 /usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:31: error: previous declaration of 'complete' was here
42 sched.c:1478: error: conflicting types for 'wait_for_completion'
43 /usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
44 sched.c:1478: error: conflicting types for 'wait_for_completion'
45 /usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here
46 sched.c:1513: error: conflicting types for 'interruptible_sleep_on'
47 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:694: error: previous declaration of 'interruptible_sleep_on' was here
48 sched.c:1513: error: conflicting types for 'interruptible_sleep_on'
49 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:694: error: previous declaration of 'interruptible_sleep_on' was here
50 sched.c:1524: error: conflicting types for 'interruptible_sleep_on_timeout'
51 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:695: error: previous declaration of 'interruptible_sleep_on_timeout' was here
52 sched.c:1524: error: conflicting types for 'interruptible_sleep_on_timeout'
53 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:695: error: previous declaration of 'interruptible_sleep_on_timeout' was here
54 sched.c:1537: error: conflicting types for 'sleep_on'
55 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:691: error: previous declaration of 'sleep_on' was here
56 sched.c:1537: error: conflicting types for 'sleep_on'
57 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:691: error: previous declaration of 'sleep_on' was here
58 sched.c:1548: error: conflicting types for 'sleep_on_timeout'
59 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:692: error: previous declaration of 'sleep_on_timeout' was here
60 sched.c:1548: error: conflicting types for 'sleep_on_timeout'
61 /usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:692: error: previous declaration of 'sleep_on_timeout' was here
62 make[2]: *** [sched.o] Error 1
63 make[2]: Leaving directory `/usr/src/linux-2.4.27-gentoo-r1/kernel'
64 make[1]: *** [first_rule] Error 2
65 make[1]: Leaving directory `/usr/src/linux-2.4.27-gentoo-r1/kernel'
66 make: *** [_dir_kernel] Error 2
67 ibm linux #
68
69
70
71 --
72 petre daniel,system administrator,
73 romania data systems, pitesti branch
74 mobile 740.10.2196,phone 248.219917
75
76 --
77 gentoo-hardened@g.o mailing list

Replies