[uClibc] Buildroot problem with ar

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Tue Mar 1 18:15:43 UTC 2005


> > 
> > Hi everybody,
> > 
> > I haven't been doing a lot of work on uClibc++ of late for two reasons.  One 
> > is a lack of time.  The other is an inability to get uClibc++ to build under 
> > buildroot.  It compiles fine, but ar isn't working right.  I've built 
> > everything with the default versions of builutils/gcc/whatever except for gdb 
> > where I took the most recent version.
> > 
> > Here is what is happening:
> > 
> > ar rcs libuClibc++.a new_op.o new_opv.o new_opnt.o new_opvnt.o del_op.o 

hmm, which ar is this? Looks like the native build host ar to me, not the one buildroot builds.

> > del_opv.o del_opnt.o del_opvnt.o exception.o abi/abi.o char_traits.o string.o 
> > iostream.o ios.o utility.o stdexcept.o func_exception.o locale.o streambuf.o 
> > istream.o ostream.o iterator.o fstream.o iomanip.o vector.o deque.o list.o 
> > map.o set.o stack.o queue.o algorithm.o numeric.o sstream.o bitset.o 
> > valarray.o complex.o libgcc_eh/gthr-gnat.olibgcc_eh/unwind-c.o 
> > libgcc_eh/unwind-dw2-fde.o libgcc_eh/unwind-dw2.o libgcc_eh/unwind-sjlj.o 
> > libsupc/cp-demangle.o libsupc/eh_alloc.o libsupc/eh_aux_runtime.o 
> > libsupc/eh_catch.o libsupc/eh_exception.o libsupc/eh_globals.o 
> > libsupc/eh_personality.o libsupc/eh_term_handler.o libsupc/eh_terminate.o 
> > libsupc/eh_throw.o libsupc/eh_type.o libsupc/eh_unex_handler.o 
> > libsupc/guard.o libsupc/new_handler.o libsupc/tinfo.o libsupc/tinfo2.o 
> > libsupc/vec.o libsupc/vterminate.o
> > ar: libuClibc++.a: No such file or directory
> > make[1]: *** [libuClibc++.a] Error 1
> > make[1]: Leaving directory `/usr/src/uClibc++/src'
> > make: *** [all] Error 2
> > [root at gkajmowicz uClibc++]# 
> > 
> 
> hmm, with binutils 2.15.94.0.2 cross compiled for powerpc this works without error messages:
>  powerpc-linux-ar rcs libuClibc++.a
> 
>  Jocke
> 



More information about the uClibc mailing list