1 |
Hoi! |
2 |
|
3 |
Ich habe gerade versucht den UML Kernel (sowohl der 2.4 als auch der |
4 |
~2.6.6) zu compilieren, aber bei beiden bricht das compilieren mit einem |
5 |
Fehler ab. |
6 |
Irgendeine Idee warum? Ich nicht. :-/ |
7 |
|
8 |
Thx. |
9 |
|
10 |
--- |
11 |
*snipp* |
12 |
LD vmlinux |
13 |
CPP arch/um/uml.lds.s |
14 |
gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free |
15 |
-Wl,--wrap,calloc \ |
16 |
-o linux arch/um/main.o vmlinux -L/usr/lib -lutil |
17 |
vmlinux(.text+0x10fb50): In function `strcpy': |
18 |
lib/string.c:71: multiple definition of `strcpy' |
19 |
arch/um/kernel/tt/unmap_fin.o(.text+0x3f8a0): first defined here |
20 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
21 |
Warning: size of symbol `strcpy' changed from 33 in |
22 |
arch/um/kernel/tt/unmap_fin.o to 32 in vmlinux |
23 |
vmlinux(.text+0x10fe20): In function `strrchr': |
24 |
lib/string.c:266: multiple definition of `strrchr' |
25 |
arch/um/kernel/tt/unmap_fin.o(.text+0x71b0): first defined here |
26 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
27 |
Warning: size of symbol `strrchr' changed from 441 in |
28 |
arch/um/kernel/tt/unmap_fin.o to 47 in vmlinux |
29 |
vmlinux(.text+0x10fd90): In function `strncmp': |
30 |
lib/string.c:231: multiple definition of `strncmp' |
31 |
arch/um/kernel/tt/unmap_fin.o(.text+0x70e0): first defined here |
32 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
33 |
Warning: size of symbol `strncmp' changed from 196 in |
34 |
arch/um/kernel/tt/unmap_fin.o to 66 in vmlinux |
35 |
vmlinux(.text+0x10fb70): In function `strncpy': |
36 |
lib/string.c:91: multiple definition of `strncpy' |
37 |
arch/um/kernel/tt/unmap_fin.o(.text+0xaf0): first defined here |
38 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
39 |
Warning: size of symbol `strncpy' changed from 134 in |
40 |
arch/um/kernel/tt/unmap_fin.o to 52 in vmlinux |
41 |
vmlinux(.text+0x110fa0): In function `sscanf': |
42 |
lib/vsprintf.c:813: multiple definition of `sscanf' |
43 |
arch/um/kernel/tt/unmap_fin.o(.text+0x31dc0): first defined here |
44 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
45 |
Warning: size of symbol `sscanf' changed from 50 in |
46 |
arch/um/kernel/tt/unmap_fin.o to 35 in vmlinux |
47 |
vmlinux(.text+0x10fc60): In function `strncat': |
48 |
lib/string.c:159: multiple definition of `strncat' |
49 |
arch/um/kernel/tt/unmap_fin.o(.text+0xa60): first defined here |
50 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
51 |
Warning: size of symbol `strncat' changed from 138 in |
52 |
arch/um/kernel/tt/unmap_fin.o to 91 in vmlinux |
53 |
vmlinux(.text+0x10fd60): In function `strcmp': |
54 |
lib/string.c:211: multiple definition of `strcmp' |
55 |
arch/um/kernel/tt/unmap_fin.o(.text+0x7000): first defined here |
56 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
57 |
Warning: size of symbol `strcmp' changed from 37 in |
58 |
arch/um/kernel/tt/unmap_fin.o to 39 in vmlinux |
59 |
vmlinux(.text+0x10fde0): In function `strchr': |
60 |
lib/string.c:251: multiple definition of `strchr' |
61 |
arch/um/kernel/tt/unmap_fin.o(.text+0x6e90): first defined here |
62 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
63 |
Warning: size of symbol `strchr' changed from 359 in |
64 |
arch/um/kernel/tt/unmap_fin.o to 53 in vmlinux |
65 |
vmlinux(.text+0x10ff50): In function `strpbrk': |
66 |
lib/string.c:382: multiple definition of `strpbrk' |
67 |
arch/um/kernel/tt/unmap_fin.o(.text+0x345d0): first defined here |
68 |
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: |
69 |
Warning: size of symbol `strpbrk' changed from 179 in |
70 |
arch/um/kernel/tt/unmap_fin.o to 82 in vmlinux |
71 |
collect2: ld returned 1 exit status |
72 |
make: *** [linux] Error 1 |
73 |
--- |
74 |
|
75 |
# emerge info |
76 |
Portage 2.0.50-r11 (x86, gcc-3.3.4, glibc-2.3.3.20040420-r1, |
77 |
2.6.7-hardened-r8) |
78 |
================================================================= |
79 |
System uname: 2.6.7-hardened-r8 i686 AMD Athlon(tm) XP 1900+ |
80 |
Gentoo Base System version 1.4.16 |
81 |
Autoconf: sys-devel/autoconf-2.59-r4 |
82 |
Automake: sys-devel/automake-1.8.5-r1 |
83 |
ACCEPT_KEYWORDS="x86" |
84 |
AUTOCLEAN="yes" |
85 |
CFLAGS="-march=athlon-xp -pipe -O2" |
86 |
CHOST="i686-pc-linux-gnu" |
87 |
COMPILER="" |
88 |
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config |
89 |
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" |
90 |
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" |
91 |
CXXFLAGS="-march=athlon-xp -pipe -O2" |
92 |
DISTDIR="/usr/portage/distfiles" |
93 |
FEATURES="autoaddcvs ccache sandbox" |
94 |
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ |
95 |
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ |
96 |
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" |
97 |
MAKEOPTS="-j2" |
98 |
PKGDIR="/usr/portage//packages/x86/" |
99 |
PORTAGE_TMPDIR="/var/tmp" |
100 |
PORTDIR="/usr/portage/" |
101 |
PORTDIR_OVERLAY="" |
102 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
103 |
USE="X apache2 berkdb clearpasswd crypt gif hardened imap jpeg libwww |
104 |
maildir mmx mpeg mysql ncurses nls opengl pam perl pic pie png python |
105 |
readline ssl tcpd x86 xml xml2 zlib" |
106 |
|
107 |
|
108 |
|
109 |
|
110 |
-- |
111 |
|
112 |
cu, Mekonikum, Serveradmin http://www.GamerNET.org |
113 |
|
114 |
Bitte unterstützt unser stabiles, freundliches und werbungfreies IRC Netzwerk und gründet euren Channel bei uns. :-) |
115 |
|
116 |
|
117 |
|
118 |
-- |
119 |
gentoo-user-de@g.o mailing list |