1 |
Your sure you do not have gcc 3.3.4 installed ??? ... Just do gcc-config |
2 |
-l and it will give you all of your gcc profiles ... 1. should be gcc |
3 |
3.3.4 ... so then just execute gcc-config 1 and you will be switched to |
4 |
gcc-3.3.4 ... then you can go back to which ever gcc you want that is |
5 |
listed by gcc-config -l. |
6 |
|
7 |
Hopefully that random smattering of thoughts will help you. |
8 |
|
9 |
Thanks, |
10 |
Stuart |
11 |
|
12 |
petre daniel wrote: |
13 |
> gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5) |
14 |
> |
15 |
> :( |
16 |
> |
17 |
> what can i do? shall i try 2.4.28 pre? |
18 |
> |
19 |
> |
20 |
> On Sat, 16 Oct 2004 13:27:36 -0400 |
21 |
> Ned Ludd <solar@g.o> wrote: |
22 |
> |
23 |
> |
24 |
>>It sounds like your using gcc-3.4.x |
25 |
>>Try 3.3.4 to build your kernels. I think 2.4.28_preX brings us the |
26 |
>>needed gcc-3.4.x fix. |
27 |
>> |
28 |
>> |
29 |
>>On Sat, 2004-10-16 at 13:15, petre daniel wrote: |
30 |
>> |
31 |
>>>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 |
32 |
>>>the hardened-sources 2.4.27-r3 kernel. |
33 |
>>>i tried with gentoo-sources-r1 but still : |
34 |
>>> |
35 |
>>>ibm linux # make bzImage |
36 |
>>>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 |
37 |
>>>In file included from /usr/src/linux-2.4.27-gentoo-r1/include/linux/unistd.h:9, |
38 |
>>> from init/main.c:17: |
39 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit' |
40 |
>>>. scripts/mkversion > .tmpversion |
41 |
>>>dnsdomainname: Unknown host |
42 |
>>>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 |
43 |
>>>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 |
44 |
>>>In file included from /usr/src/linux-2.4.27-gentoo-r1/include/linux/unistd.h:9, |
45 |
>>> from init/do_mounts.c:5: |
46 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/asm/unistd.h:375: warning: conflicting types for built-in function '_exit' |
47 |
>>>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 |
48 |
>>>make[1]: Entering directory `/usr/src/linux-2.4.27-gentoo-r1/kernel' |
49 |
>>>make all_targets |
50 |
>>>make[2]: Entering directory `/usr/src/linux-2.4.27-gentoo-r1/kernel' |
51 |
>>>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 |
52 |
>>>sched.c:621: error: conflicting types for 'wake_up_process' |
53 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:697: error: previous declaration of 'wake_up_process' was here |
54 |
>>>sched.c:621: error: conflicting types for 'wake_up_process' |
55 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:697: error: previous declaration of 'wake_up_process' was here |
56 |
>>>sched.c:626: error: conflicting types for 'wake_up_forked_process' |
57 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:698: error: previous declaration of 'wake_up_forked_process' was here |
58 |
>>>sched.c:626: error: conflicting types for 'wake_up_forked_process' |
59 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:698: error: previous declaration of 'wake_up_forked_process' was here |
60 |
>>>sched.c:663: error: conflicting types for 'sched_exit' |
61 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:699: error: previous declaration of 'sched_exit' was here |
62 |
>>>sched.c:663: error: conflicting types for 'sched_exit' |
63 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:699: error: previous declaration of 'sched_exit' was here |
64 |
>>>sched.c:1437: error: conflicting types for '__wake_up' |
65 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:689: error: previous declaration of '__wake_up' was here |
66 |
>>>sched.c:1437: error: conflicting types for '__wake_up' |
67 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:689: error: previous declaration of '__wake_up' was here |
68 |
>>>sched.c:1468: error: conflicting types for 'complete' |
69 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:31: error: previous declaration of 'complete' was here |
70 |
>>>sched.c:1468: error: conflicting types for 'complete' |
71 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:31: error: previous declaration of 'complete' was here |
72 |
>>>sched.c:1478: error: conflicting types for 'wait_for_completion' |
73 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here |
74 |
>>>sched.c:1478: error: conflicting types for 'wait_for_completion' |
75 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/completion.h:30: error: previous declaration of 'wait_for_completion' was here |
76 |
>>>sched.c:1513: error: conflicting types for 'interruptible_sleep_on' |
77 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:694: error: previous declaration of 'interruptible_sleep_on' was here |
78 |
>>>sched.c:1513: error: conflicting types for 'interruptible_sleep_on' |
79 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:694: error: previous declaration of 'interruptible_sleep_on' was here |
80 |
>>>sched.c:1524: error: conflicting types for 'interruptible_sleep_on_timeout' |
81 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:695: error: previous declaration of 'interruptible_sleep_on_timeout' was here |
82 |
>>>sched.c:1524: error: conflicting types for 'interruptible_sleep_on_timeout' |
83 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:695: error: previous declaration of 'interruptible_sleep_on_timeout' was here |
84 |
>>>sched.c:1537: error: conflicting types for 'sleep_on' |
85 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:691: error: previous declaration of 'sleep_on' was here |
86 |
>>>sched.c:1537: error: conflicting types for 'sleep_on' |
87 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:691: error: previous declaration of 'sleep_on' was here |
88 |
>>>sched.c:1548: error: conflicting types for 'sleep_on_timeout' |
89 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:692: error: previous declaration of 'sleep_on_timeout' was here |
90 |
>>>sched.c:1548: error: conflicting types for 'sleep_on_timeout' |
91 |
>>>/usr/src/linux-2.4.27-gentoo-r1/include/linux/sched.h:692: error: previous declaration of 'sleep_on_timeout' was here |
92 |
>>>make[2]: *** [sched.o] Error 1 |
93 |
>>>make[2]: Leaving directory `/usr/src/linux-2.4.27-gentoo-r1/kernel' |
94 |
>>>make[1]: *** [first_rule] Error 2 |
95 |
>>>make[1]: Leaving directory `/usr/src/linux-2.4.27-gentoo-r1/kernel' |
96 |
>>>make: *** [_dir_kernel] Error 2 |
97 |
>>>ibm linux # |
98 |
>> |
99 |
>>-- |
100 |
>>Ned Ludd <solar@g.o> |
101 |
>>Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer |
102 |
>> |
103 |
> |
104 |
> |
105 |
> |