Sushil Kumar schrieb: > Hi All, > > On compiling busybox-1.12.4 with uClibc-0.9.29 after making some hack in the > busybox Makefiles, I am getting the following error: I have attached my > config file for reference. > (PLease note I don't intend to compile through buildroot tool) > > Trying libraries: crypt m > Failed: -Wl,--start-group -lcrypt -lm -Wl,--end-group > Output of: > gcc -static -nostdlib -L../uClibc-0.9.29/lib ../uClibc-0.9.29/lib/crt1.o > ../uClibc-0.9.29/lib/crti.o ../uClibc-0.9.29/lib/crtn.o -o busybox_unstripped > -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--start-group > applets/built-in.o archival/lib.a archival/libunarchive/lib.a > console-tools/lib.a coreutils/lib.a coreutils/libcoreutils/lib.a > debianutils/lib.a e2fsprogs/lib.a editors/lib.a findutils/lib.a init/lib.a > libbb/lib.a libpwdgrp/lib.a loginutils/lib.a miscutils/lib.a modutils/lib.a > networking/lib.a networking/libiproute/lib.a networking/udhcp/lib.a > printutils/lib.a procps/lib.a runit/lib.a selinux/lib.a shell/lib.a > sysklogd/lib.a util-linux/lib.a util-linux/volume_id/lib.a > archival/built-in.o archival/libunarchive/built-in.o console-tools/built-in.o > coreutils/built-in.o coreutils/libcoreutils/built-in.o debianutils/built-in.o > e2fsprogs/built-in.o editors/built-in.o findutils/built-in.o init/built-in.o > libbb/built-in.o libpwdgrp/built-in.o > loginutils/built-in.o miscutils/built-in.o modutils/built-in.o > networking/built-in.o networking/libiproute/built-in.o > networking/udhcp/built-in.o printutils/built-in.o procps/built-in.o > runit/built-in.o selinux/built-in.o shell/built-in.o sysklogd/built-in.o > util-linux/built-in.o util-linux/volume_id/built-in.o -Wl,--end-group > ../uClibc-0.9.29/lib/libc.a -Wl,--start-group -lcrypt -lm -Wl,--end-group > ========== > util-linux/lib.a(fdisk.o): In function `list_disk_geometry': > fdisk.c:(.text.list_disk_geometry+0x23): undefined reference to `__divdi3' > fdisk.c:(.text.list_disk_geometry+0xaf): undefined reference to `__udivdi3' > util-linux/lib.a(fdisk.o): In function `open_list_and_close': > fdisk.c:(.text.open_list_and_close+0x3e4): undefined reference to `__udivdi3' > fdisk.c:(.text.open_list_and_close+0x879): undefined reference to `__udivdi3' > fdisk.c:(.text.open_list_and_close+0x899): undefined reference to `__umoddi3' > fdisk.c:(.text.open_list_and_close+0x970): undefined reference to `__udivdi3' > libbb/lib.a(xatonum.o): In function `xstrtoull_range_sfx': > xatonum.c:(.text.xstrtoull_range_sfx+0x9c): undefined reference to `__udivdi3' > collect2: ld returned 1 exit status > make: *** [busybox_unstripped] Error 1 > > Please let me know the cause of this error or am I missing something in the > configuration file. > > Thanks for your help, > Sushil >
Hi Sushil, the easy way to get flamed here is to ask questions that not depend on busybox, more over you can use the power of google to get answers like: http://sourceware.org/ml/crossgcc/2005-07/msg00124.html http://forums.sun.com/thread.jspa?threadID=5391075 re, wh _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
