[uClibc]shared library for arm

Hb hb_a at 263.net
Thu Dec 13 05:55:30 UTC 2001


Hi 
  I'm making a uClibc shared library for arm.But I have some ld errors list below.I want to know how to modify the uClibc source.

Rick


make[1]: Entering directory `/home/rick/uClibc.old/libc'
Finding missing symbols in libc.a ...
    partial linking...
Extracting referenced libgcc.a objects ...
dp-bit.o: In function `__pack_d':
dp-bit.o(.text+0x0): multiple definition of `__pack_d'
dp-bit.o(.text+0x0): first defined here
dp-bit.o: In function `__unpack_d':
dp-bit.o(.text+0x1e4): multiple definition of `__unpack_d'
dp-bit.o(.text+0x1e4): first defined here
dp-bit.o: In function `__adddf3':
dp-bit.o(.text+0x68c): multiple definition of `__adddf3'
dp-bit.o(.text+0x68c): first defined here
dp-bit.o: In function `__subdf3':
dp-bit.o(.text+0x6e0): multiple definition of `__subdf3'
dp-bit.o(.text+0x6e0): first defined here
dp-bit.o: In function `__muldf3':
dp-bit.o(.text+0x740): multiple definition of `__muldf3'
dp-bit.o(.text+0x740): first defined here
dp-bit.o: In function `__divdf3':
dp-bit.o(.text+0xca8): multiple definition of `__divdf3'
dp-bit.o(.text+0xca8): first defined here
dp-bit.o: In function `__fpcmp_parts_d':
dp-bit.o(.text+0xf2c): multiple definition of `__fpcmp_parts_d'
dp-bit.o(.text+0xf2c): first defined here
dp-bit.o: In function `__cmpdf2':
dp-bit.o(.text+0x1088): multiple definition of `__cmpdf2'
dp-bit.o(.text+0x1088): first defined here
dp-bit.o: In function `__eqdf2':
dp-bit.o(.text+0x10d4): multiple definition of `__eqdf2'
dp-bit.o(.text+0x10d4): first defined here
dp-bit.o: In function `__nedf2':
dp-bit.o(.text+0x1140): multiple definition of `__nedf2'
dp-bit.o(.text+0x1140): first defined here
dp-bit.o: In function `__gtdf2':
dp-bit.o(.text+0x11ac): multiple definition of `__gtdf2'
dp-bit.o(.text+0x11ac): first defined here
dp-bit.o: In function `__gedf2':
dp-bit.o(.text+0x1218): multiple definition of `__gedf2'
dp-bit.o(.text+0x1218): first defined here
dp-bit.o: In function `__ltdf2':
dp-bit.o(.text+0x1284): multiple definition of `__ltdf2'
dp-bit.o(.text+0x1284): first defined here
dp-bit.o: In function `__ledf2':
dp-bit.o(.text+0x12f0): multiple definition of `__ledf2'
dp-bit.o(.text+0x12f0): first defined here
dp-bit.o: In function `__floatsidf':
dp-bit.o(.text+0x135c): multiple definition of `__floatsidf'
dp-bit.o(.text+0x135c): first defined here
dp-bit.o: In function `__fixdfsi':
dp-bit.o(.text+0x1428): multiple definition of `__fixdfsi'
dp-bit.o(.text+0x1428): first defined here
dp-bit.o: In function `__negdf2':
dp-bit.o(.text+0x14cc): multiple definition of `__negdf2'
dp-bit.o(.text+0x14cc): first defined here
dp-bit.o: In function `__make_dp':
dp-bit.o(.text+0x1510): multiple definition of `__make_dp'
dp-bit.o(.text+0x1510): first defined here
dp-bit.o: In function `__truncdfsf2':
dp-bit.o(.text+0x1550): multiple definition of `__truncdfsf2'
dp-bit.o(.text+0x1550): first defined here
dp-bit.o: In function `__pack_d':
dp-bit.o(.text+0x0): multiple definition of `__pack_d'
dp-bit.o(.text+0x0): first defined here
dp-bit.o: In function `__unpack_d':
dp-bit.o(.text+0x1e4): multiple definition of `__unpack_d'
dp-bit.o(.text+0x1e4): first defined here
dp-bit.o: In function `__adddf3':
dp-bit.o(.text+0x68c): multiple definition of `__adddf3'
dp-bit.o(.text+0x68c): first defined here
dp-bit.o: In function `__subdf3':
dp-bit.o(.text+0x6e0): multiple definition of `__subdf3'
dp-bit.o(.text+0x6e0): first defined here
dp-bit.o: In function `__muldf3':
dp-bit.o(.text+0x740): multiple definition of `__muldf3'
dp-bit.o(.text+0x740): first defined here
dp-bit.o: In function `__divdf3':
dp-bit.o(.text+0xca8): multiple definition of `__divdf3'
dp-bit.o(.text+0xca8): first defined here
dp-bit.o: In function `__fpcmp_parts_d':
dp-bit.o(.text+0xf2c): multiple definition of `__fpcmp_parts_d'
dp-bit.o(.text+0xf2c): first defined here
dp-bit.o: In function `__cmpdf2':
dp-bit.o(.text+0x1088): multiple definition of `__cmpdf2'
dp-bit.o(.text+0x1088): first defined here
dp-bit.o: In function `__eqdf2':
dp-bit.o(.text+0x10d4): multiple definition of `__eqdf2'
dp-bit.o(.text+0x10d4): first defined here
dp-bit.o: In function `__nedf2':
dp-bit.o(.text+0x1140): multiple definition of `__nedf2'
dp-bit.o(.text+0x1140): first defined here
dp-bit.o: In function `__gtdf2':
dp-bit.o(.text+0x11ac): multiple definition of `__gtdf2'
dp-bit.o(.text+0x11ac): first defined here
dp-bit.o: In function `__gedf2':
dp-bit.o(.text+0x1218): multiple definition of `__gedf2'
dp-bit.o(.text+0x1218): first defined here
dp-bit.o: In function `__ltdf2':
dp-bit.o(.text+0x1284): multiple definition of `__ltdf2'
dp-bit.o(.text+0x1284): first defined here
dp-bit.o: In function `__ledf2':
dp-bit.o(.text+0x12f0): multiple definition of `__ledf2'
dp-bit.o(.text+0x12f0): first defined here
dp-bit.o: In function `__floatsidf':
dp-bit.o(.text+0x135c): multiple definition of `__floatsidf'
dp-bit.o(.text+0x135c): first defined here
dp-bit.o: In function `__fixdfsi':
dp-bit.o(.text+0x1428): multiple definition of `__fixdfsi'
dp-bit.o(.text+0x1428): first defined here
dp-bit.o: In function `__negdf2':
dp-bit.o(.text+0x14cc): multiple definition of `__negdf2'
dp-bit.o(.text+0x14cc): first defined here
dp-bit.o: In function `__make_dp':
dp-bit.o(.text+0x1510): multiple definition of `__make_dp'
dp-bit.o(.text+0x1510): first defined here
dp-bit.o: In function `__truncdfsf2':
dp-bit.o(.text+0x1550): multiple definition of `__truncdfsf2'
dp-bit.o(.text+0x1550): first defined here
/opt/hardhat/devkit/arm/sa110_le/bin/sa110_le-nm: libgcc.ldr: No such file or directory
Objects added from /opt/hardhat/devkit/arm/sa110_le/lib/gcc-lib/armv4l-hardhat-linux/2.95.2/libgcc.a:
_divsi3.o
dp-bit.o
_modsi3.o
_udivdi3.o
_udivsi3.o
_umoddi3.o
_umodsi3.o
Done
if [ -s ./tmp/libgcc-need.a ] ; then \
 /opt/hardhat/devkit/arm/sa110_le/bin/sa110_le-gcc -g -s -nostdlib -Wl,-warn-common -shared -o libuClibc-0.9.5.so \
     -Wl,-soname,libc.so.0 -Wl,--whole-archive \
     ./libc.a ./tmp/libgcc-need.a \
     ../lib/ld-uClibc.so.0 -Wl,--dynamic-linker,/ld-uClibc.so.0; \
else \
 /opt/hardhat/devkit/arm/sa110_le/bin/sa110_le-gcc -g -s -nostdlib -Wl,-warn-common -shared -o libuClibc-0.9.5.so \
     -Wl,-soname,libc.so.0 -Wl,--whole-archive \
     ./libc.a ../lib/ld-uClibc.so.0  -Wl,-dynamic-linker,/ld-uClibc.so.0; \
fi
./libc.a(tm_conv.o): warning: common of `timezone' overridden by definition
./libc.a(localtime.o): warning: defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__pack_d':
dp-bit.o(.text+0x0): multiple definition of `__pack_d'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x0): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__unpack_d':
dp-bit.o(.text+0x1e4): multiple definition of `__unpack_d'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1e4): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__adddf3':
dp-bit.o(.text+0x68c): multiple definition of `__adddf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x68c): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__subdf3':
dp-bit.o(.text+0x6e0): multiple definition of `__subdf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x6e0): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__muldf3':
dp-bit.o(.text+0x740): multiple definition of `__muldf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x740): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__divdf3':
dp-bit.o(.text+0xca8): multiple definition of `__divdf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0xca8): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__fpcmp_parts_d':
dp-bit.o(.text+0xf2c): multiple definition of `__fpcmp_parts_d'
./tmp/libgcc-need.a(dp-bit.o)(.text+0xf2c): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__cmpdf2':
dp-bit.o(.text+0x1088): multiple definition of `__cmpdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1088): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__eqdf2':
dp-bit.o(.text+0x10d4): multiple definition of `__eqdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x10d4): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__nedf2':
dp-bit.o(.text+0x1140): multiple definition of `__nedf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1140): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__gtdf2':
dp-bit.o(.text+0x11ac): multiple definition of `__gtdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x11ac): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__gedf2':
dp-bit.o(.text+0x1218): multiple definition of `__gedf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1218): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__ltdf2':
dp-bit.o(.text+0x1284): multiple definition of `__ltdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1284): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__ledf2':
dp-bit.o(.text+0x12f0): multiple definition of `__ledf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x12f0): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__floatsidf':
dp-bit.o(.text+0x135c): multiple definition of `__floatsidf'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x135c): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__fixdfsi':
dp-bit.o(.text+0x1428): multiple definition of `__fixdfsi'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1428): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__negdf2':
dp-bit.o(.text+0x14cc): multiple definition of `__negdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x14cc): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__make_dp':
dp-bit.o(.text+0x1510): multiple definition of `__make_dp'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1510): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__truncdfsf2':
dp-bit.o(.text+0x1550): multiple definition of `__truncdfsf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1550): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__pack_d':
dp-bit.o(.text+0x0): multiple definition of `__pack_d'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x0): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__unpack_d':
dp-bit.o(.text+0x1e4): multiple definition of `__unpack_d'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1e4): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__adddf3':
dp-bit.o(.text+0x68c): multiple definition of `__adddf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x68c): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__subdf3':
dp-bit.o(.text+0x6e0): multiple definition of `__subdf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x6e0): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__muldf3':
dp-bit.o(.text+0x740): multiple definition of `__muldf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x740): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__divdf3':
dp-bit.o(.text+0xca8): multiple definition of `__divdf3'
./tmp/libgcc-need.a(dp-bit.o)(.text+0xca8): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__fpcmp_parts_d':
dp-bit.o(.text+0xf2c): multiple definition of `__fpcmp_parts_d'
./tmp/libgcc-need.a(dp-bit.o)(.text+0xf2c): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__cmpdf2':
dp-bit.o(.text+0x1088): multiple definition of `__cmpdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1088): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__eqdf2':
dp-bit.o(.text+0x10d4): multiple definition of `__eqdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x10d4): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__nedf2':
dp-bit.o(.text+0x1140): multiple definition of `__nedf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1140): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__gtdf2':
dp-bit.o(.text+0x11ac): multiple definition of `__gtdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x11ac): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__gedf2':
dp-bit.o(.text+0x1218): multiple definition of `__gedf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1218): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__ltdf2':
dp-bit.o(.text+0x1284): multiple definition of `__ltdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1284): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__ledf2':
dp-bit.o(.text+0x12f0): multiple definition of `__ledf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x12f0): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__floatsidf':
dp-bit.o(.text+0x135c): multiple definition of `__floatsidf'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x135c): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__fixdfsi':
dp-bit.o(.text+0x1428): multiple definition of `__fixdfsi'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1428): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__negdf2':
dp-bit.o(.text+0x14cc): multiple definition of `__negdf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x14cc): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__make_dp':
dp-bit.o(.text+0x1510): multiple definition of `__make_dp'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1510): first defined here
./tmp/libgcc-need.a(dp-bit.o): In function `__truncdfsf2':
dp-bit.o(.text+0x1550): multiple definition of `__truncdfsf2'
./tmp/libgcc-need.a(dp-bit.o)(.text+0x1550): first defined here
collect2: ld returned 1 exit status
make[1]: *** [shared] Error 1
make[1]: Leaving directory `/home/rick/uClibc.old/libc'
make: *** [shared] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20011213/dd249fe9/attachment-0001.htm 


More information about the uClibc mailing list