1 |
Hallo nochmal, |
2 |
|
3 |
leider hat der Tipp von Felix mir nicht geholfen. Der Fehler bleibt. |
4 |
|
5 |
ich habe jetzt hier mal den Fehler beim Kompilieren bzw. Linken eingefügt: |
6 |
|
7 |
gcc bin2asc.o -o bin2asc |
8 |
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libc.so: |
9 |
file format not recognized; treating as linker script |
10 |
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libc.so:5: |
11 |
syntax error |
12 |
collect2: ld returned 1 exit status |
13 |
|
14 |
Dieser Fehler tritt auch beim emerge auf. Wenn ich aber die libc.so so abändere |
15 |
wie in meinem ersten Posting beschrieben, klappt das Kompilieren wieder. |
16 |
|
17 |
Das Problem ist halt, dass beim Neukompilieren des Systems (das wird |
18 |
vorgeschlagen, wenn man den Compiler wechselt) immer die glibc neu emerged |
19 |
wird. Dann tritt aber wieder der Fehler auf, weil der Linker die Anweisung |
20 |
"AS_NEEDED" scheinbar nicht versteht. |
21 |
|
22 |
Ein emerge --info ergibt Folgendes: |
23 |
|
24 |
Gentoo Base System version 1.6.14 |
25 |
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r0, |
26 |
2.6.15-gentoo |
27 |
-r1 i686) |
28 |
================================================================= |
29 |
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) Processor |
30 |
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) |
31 |
[disable |
32 |
d] |
33 |
ccache version 2.3 [enabled] |
34 |
dev-lang/python: 2.3.5-r2, 2.4.2 |
35 |
sys-apps/sandbox: 1.2.12 |
36 |
sys-devel/autoconf: 2.13, 2.59-r7 |
37 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
38 |
sys-devel/binutils: 2.15.92.0.2-r10, 2.16.1 |
39 |
sys-devel/libtool: 1.5.22 |
40 |
virtual/os-headers: 2.6.11-r2 |
41 |
ACCEPT_KEYWORDS="x86" |
42 |
AUTOCLEAN="yes" |
43 |
CBUILD="i686-pc-linux-gnu" |
44 |
CFLAGS="-O2 -march=athlon -mtune=athlon -fomit-frame-pointer -pipe" |
45 |
CHOST="i686-pc-linux-gnu" |
46 |
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env |
47 |
/usr/kde/3.3/share |
48 |
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env |
49 |
/usr/kde/3.4/share/config /usr/kd |
50 |
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb |
51 |
/usr/share/config /usr/s |
52 |
hare/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ |
53 |
/usr/share/texmf/tex/g |
54 |
eneric/config/ /usr/share/texmf/tex/platex/config/ |
55 |
/usr/share/texmf/xdvi/ /var/q |
56 |
mail/control" |
57 |
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" |
58 |
CXXFLAGS="-O2 -march=athlon -mtune=athlon -fomit-frame-pointer -pipe" |
59 |
DISTDIR="/usr/portage/distfiles" |
60 |
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" |
61 |
GENTOO_MIRRORS="ftp://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ |
62 |
ftp://ftp.uni-er |
63 |
langen.de/pub/mirrors/gentoo |
64 |
http://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ ft |
65 |
p://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" |
66 |
LINGUAS="de" |
67 |
MAKEOPTS="-j2" |
68 |
PKGDIR="/usr/portage/packages" |
69 |
PORTAGE_TMPDIR="/var/tmp" |
70 |
PORTDIR="/usr/portage" |
71 |
SYNC="rsync://gauss.hausen/gentoo-portage" |
72 |
USE="x86 3dnow 3dnowext X acl alsa apm arts audiofile avi |
73 |
bash-completion berkdb |
74 |
bitmap-fonts bzip2 cdr crypt cups curl dri dvd eds emboss encode esd |
75 |
ethereal e |
76 |
xif expat fam ffmpeg foomatic foomaticdb fortran gdbm gif glut gmp |
77 |
gnome gpm gst |
78 |
reamer gtk gtk2 idn imagemagick imlib java jpeg junit kde |
79 |
kdeenablefinal lcms li |
80 |
bg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg nas ncurses nls |
81 |
nptl nptlon |
82 |
ly ogg oggvorbis opengl pam pcre pdflib perl png ppds python qt |
83 |
quicktime readli |
84 |
ne recode samba sdl spell ssl svga tcltk tcpd tetex tiff truetype |
85 |
truetype-fonts |
86 |
type1-fonts udev unicode usb vorbis xml2 xmms xv xvid zlib linguas_de |
87 |
userland_ |
88 |
GNU kernel_linux elibc_glibc" |
89 |
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY |
90 |
|
91 |
|
92 |
Vielen Dank für Eure Hilfe |
93 |
Jens |
94 |
-- |
95 |
Mit freundlichen Gruessen |
96 |
Jens Gruentjes |
97 |
|
98 |
|
99 |
Zitat von Felix Schuster <felix.schuster@×××.at>: |
100 |
|
101 |
> Hi! |
102 |
> |
103 |
> On Wed, 2006-03-15 at 09:36 +0100, Jens Gruentjes wrote: |
104 |
>> Hallo Leute, |
105 |
>> |
106 |
>> ich habe mittels emerge -uD world mein System auf den aktuellen |
107 |
>> Stand bringen |
108 |
>> wollen. Beim emerge von glibc-2.4 hat er gemeckert, dass der |
109 |
>> gcc-3.3.5 zu alt |
110 |
>> sei. Daraufhin habe ich den Compiler mittels gcc-config auf gcc-3.4.5 |
111 |
>> gewechselt und dann wieder emerged. |
112 |
>> |
113 |
>> Der emerge von glibc hat dann auch funktioniert, aber alle weiteren ebuilds |
114 |
>> haben nicht mehr funktioniert, weil der Compiler keine executables mehr |
115 |
>> erstellen konnte (kam als Hinweis beim configure). |
116 |
>> |
117 |
> |
118 |
> Schuss ins Blaue (weil das schon einige Male geholfen hat hier): Hilft |
119 |
> eventuell ein |
120 |
> |
121 |
> # emerge libtool |
122 |
> # fix_libtool_files.sh 3.3.5 |
123 |
> (oder je nachdem welche Version du vor dem Update gehabt hast) |
124 |
> |
125 |
> Siehe auch: http://forums.gentoo.org/viewtopic-p-3158688.html |
126 |
> |
127 |
> Bzw. gibt es auch ein Howto zum gcc-update auf gentoo.org |
128 |
> |
129 |
> bye Felix |
130 |
> (is jetzt teilweise nur aus meinem Mail vom Fr. 10.3.06 rauskopiert) |
131 |
> |
132 |
> -- |
133 |
> Felix Schuster <felix.schuster@×××.at> |
134 |
> Vienna, Austria |
135 |
> |
136 |
|
137 |
|
138 |
|
139 |
-- |
140 |
gentoo-user-de@g.o mailing list |