fakeroot build error
Christian Bünnig
masala at web.de
Tue Jul 25 08:13:27 PDT 2006
Hello,
I try to build the buildroot system for a mikrotik RB532 (mipsel).
While building fakeroot for the toolchain, i get the following error:
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
./.libs/libcommunicate.a(communicate.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8/communicate.c:72:
first defined here
After searching the web I guess it has to do something with bad
combinations of uclibc/gcc/binutils .. but that's only a rough idea.
I tried different versions of gcc (3.4.2 - 3.4.4), uclibc and
binutils, but with no success.
So can anybody give me a hint what does this error mean and where/how I
should try to fix it?
Thanks in advance
Christian
Output of build process around the error:
...
...
make[3]: Entering directory
`/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
...
...
libtool: link: creating libfakeroot.la
libtool: link: ( cd ".libs" && rm -f "libfakeroot.la" && ln -s
"../libfakeroot.la" "libfakeroot.la" )
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT faked.o -MD -MP -MF
".deps/faked.Tpo" -c -o faked.o faked.c; \
then mv -f ".deps/faked.Tpo" ".deps/faked.Po"; else rm -f
".deps/faked.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o faked faked.o
libcommunicate.la -ldl
libtool: link: gcc -g -O2 -o faked faked.o ./.libs/libcommunicate.a -ldl
/usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
./.libs/libcommunicate.a(communicate.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8/communicate.c:72:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [faked] Fehler 1
make[3]: Leaving directory
`/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory
`/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8'
make: ***
[/daten/cb203/bbr/buildroot-new/toolchain_build_mipsel/fakeroot-1.5.8/faked]
Fehler 2
More information about the uClibc
mailing list