[uClibc]directfb pthread linking problems
Erik Andersen
andersen at codepoet.org
Tue May 28 16:18:48 MDT 2002
On Sun May 26, 2002 at 12:38:57PM +1000, Alex Song wrote:
> At 05:49 AM 05/26/2002, Erik Andersen wrote:
> >On Sun May 26, 2002 at 01:53:18AM +1000, Alex Song wrote:
> >> do you have any idea what this might be caused by ?
> >
> >Lets step back a bit farther in the process. How are you
> >compiling directfb? Perhaps that will give us a clue,
>
> i set the PATH to point to uclibc's wrappers then i run autogen.sh which
> comes with directfb with --disable-avifile --disable-freetype. autogen.sh
> generates a configure script and then runs that which makes all the
> Makefiles. then i just simply run make. standard procedure really.
Hmm. This is how I use configure stuff... Assuming I have a
STAGING_DIR directory where includes and libraries are being
installed, I do something like this:
cd <package_directory>
export PATH=$(STAGING_DIR)/usr/bin:$PATH
./configure CC=i386-uclibc-gcc --prefix=$(STAGING_DIR)
By using the $(ARCH)-uclibc-gcc compiler, we ensure that when
things like 'ld' get called we can be sure that it will actually
call 'i386-uclibc-ld' and not the system '/usr/bin/ld' (which
would link things vs glibc).
Tried using the $(ARCH)-uclibc-gcc compiler?
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list