uclibc buildroot compile error

Peter S. Mazinger ps.m at gmx.net
Thu Oct 13 19:41:11 UTC 2005


On Thu, 13 Oct 2005, t.zink at nwe.de wrote:

> Hello everyone,
> 
> I'm new here and a newbee to uclibc development in general so please 
> excuse my asking stupid questions. I haev some experience with kernel 
> configuration, compilation and installing and compiling software from 
> sources. I also have basic c/c++ skill (they were once better, but due 
> to the fact of not cultivating my programming skills I lost touch over 
> the last few years).
> 
> I am trying to build a linux rescue system from scratch based on uclibc 
> and busybox and the like. As a development system I'm using the lfs live 
> cd since I have very limited hardware ressources.
> 
> Well having said that here is my question.
> I downloaded the buildroot snapshot uClibc-20051013.tar.bz2 and followed 
> the instructions for building on the faq and in the documentation. I 
> only want to build the toolchain so I unmarked any other options. When I 
> run
> 
> # make
> 
> everything run fine for some time up to the following error:
> 
> <---------------- snip ---------------->
> 
> /usr/src/buildroot/build_i386/staging_dir/bin/i386-linux-uclibc-ar cr 
> ../../lib/libthread_db.a td_init.o td_log.o td_symbol_list.o 
> td_ta_clear_event.o td_ta_delete.o td_ta_enable_stats.o 
> td_ta_event_addr.o td_ta_event_getmsg.o td_ta_get_nthreads.o 
> td_ta_get_ph.o td_ta_get_stats.o td_ta_map_id2thr.o td_ta_map_lwp2thr.o 
> td_ta_new.o td_ta_reset_stats.o td_ta_set_event.o td_ta_setconcurrency.o 
> td_ta_thr_iter.o td_ta_tsd_iter.o td_thr_clear_event.o td_thr_dbresume.o 
> td_thr_dbsuspend.o td_thr_event_enable.o td_thr_event_getmsg.o 
> td_thr_get_info.o td_thr_getfpregs.o td_thr_getgregs.o td_thr_getxregs.o 
> td_thr_getxregsize.o td_thr_set_event.o td_thr_setfpregs.o 
> td_thr_setgregs.o td_thr_setprio.o td_thr_setsigpending.o 
> td_thr_setxregs.o td_thr_sigsetmask.o td_thr_tls_get_addr.o td_thr_tsd.o 
> td_thr_validate.o
> Makefile:52: *** Recursive variable `LDFLAGS' references itself 
> (eventually).  Stop.

corrected in current uClibc svn, it seems that between 2 of my commits 
(in about 15 minutes) this snapshot was created ;-(

Peter


> make[3]: Leaving directory 
> `/usr/src/buildroot/toolchain_build_i386/uClibc/libpthread/linuxthreads_db'
> make[2]: *** [_dir_linuxthreads_db] Error 2
> make[2]: Leaving directory 
> `/usr/src/buildroot/toolchain_build_i386/uClibc/libpthread'
> make[1]: *** [_dir_libpthread] Error 2
> make[1]: Leaving directory `/usr/src/buildroot/toolchain_build_i386/uClibc'
> make: *** [/usr/src/buildroot/toolchain_build_i386/uClibc/lib/libc.a] 
> Error 2
> lfslivecd:root | Thu Oct 13 00:48:31 2005 | /usr/src/buildroot
> #
> <---------------- snap ---------------->
> 
> i tried several different configurations, and also downloaded all the 
> sources manually and placing them to the /buildroot/dl/ directory. 
> However, it always results in the same error.
> I'm quite stuck here, any help would be appreciate.
> Sorry again for this stupidity, I already searched the mail archives and 
> google for this error but could not find any hint.
> 
> thanks a lot in advance
> 
> Thomas Z.
> 
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list