uclibc compilation error

t.zink at nwe.de t.zink at nwe.de
Thu Oct 13 12:45:43 UTC 2005


Hello everyone,

I'm new here and a newbee to uclibc development in general so please 
excuse my asking stupid questions. I have 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.
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.





More information about the uClibc mailing list