On Sat, Dec 18, 2010 at 2:12 PM, Arthur Zalevsky <[email protected]> wrote: > On Fri, 17 Dec 2010 22:19:05 +0100 > Bernhard Reutner-Fischer <[email protected]> wrote: > >> On Wed, Dec 15, 2010 at 07:04:09PM +0300, Gmail wrote: >> > >> >Hello. >> >I'm trying to build uClibc-0.9.31 at my Linux 2.6.12.6-VENUS mips (mips32r2) >> >libuClibc-0.9.31.so links successfull, but linking of libdl.so >> >causes following error: >> > >> >-bash-3.2# make >> > LD libdl-0.9.31.so >> >../../ldso/libdl/libdl_so.a(libdl.oS): In function `dlsym': >> >libdl.c:(.text+0x68): undefined reference to `_dl_lookup_hash' >> >libdl.c:(.text+0x244): undefined reference to `_dl_run_fini_array' >> >../../ldso/libdl/libdl_so.a(libdl.oS): In function `dlopen': >> >libdl.c:(.text+0x4fc): undefined reference to `_dl_free_function' >> >libdl.c:(.text+0xa74): undefined reference to `_dl_run_init_array' >> >make: *** [../../lib/libdl.so] Error 1 >> > >> >I tried google, but didn't find any useful information. >> >> Please try current master or 0.9.32-rc1 >> If that fails too, please also provide your .config >> >> thanks, > > Thanks for your response. As you said, I checked master branch and > uClibc-0.9.32-rc1. Error changed a bit, but not far from previous. > > During first make run in master and 0.9.32-rc1 I caught following > error : > > make[1]: *** No rule to make target `../../include/bits/uClibc_ctype.h', > needed by `../../extra/locale/gen_wc8bit.c'. Stop. > make: *** [pregen] Error 2 > > workaround is do "make headers" before "make".
this should be fixed in master now. > > Next: > > CC libc/stdlib/atexit.os > CC libc/stdlib/system.os > AR cr lib/libc.a > STRIP -x -R .note -R .comment lib/libc.a > AR cr lib/uclibc_nonshared.a > STRIP -x -R .note -R .comment lib/uclibc_nonshared.a > AR cr libc/libc_so.a > STRIP -x -R .note -R .comment libc/libc_so.a > LD libuClibc-0.9.32-rc1-git.so > libc/libc_so.a(lutimes.os): In function `lutimes': > lutimes.c:(.text+0xb0): undefined reference to `__GI_utimensat' > make: *** [lib/libc.so] Error 1 > I could not reproduce this error with your .config I was using linux kernel headers from 2.6.37 and gcc and binutils were the upstream development heads what linux kernel headers are you using ? > Full make logs: > uClibc-0.9.31 http://pastebin.ca/2022950 > uClibc master and 0.9.32-rc1 http://pastebin.ca/2022949 > .config file: http://pastebin.ca/2022951 > Some information about build host: http://pastebin.ca/2022954 > > gcc, binutils and uClibc-0.9.28 were cross-compiled, > but I managed rebuild binutils on the device. > > Thanks in advance. > -- > Gmail <[email protected]> > _______________________________________________ > uClibc mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc > _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
