directfb-csource compilation pb with uclibc

Nathanael D. Noblet nathanael at gnat.ca
Fri Oct 7 15:34:49 UTC 2005


On Fri, 2005-10-07 at 16:49 +0200, Dely Nicolas wrote:
> Hi all,
> 
> I would like to install dfbsee on my embedded x86 platform with
> buildroot. I've added dfbsee directory in package, Config.in,
> dfbsee.mk ...
> 
> To configure cleanly dfbsee I need directfb-csource, 
> * when I compile directfb-csource with glibc/gcc ./directfb-csource
> runs,
> * but when it is compiled with uclibc/gcc ./directfb-csource says
> "bash: ./directfb-csource: No such file or directory"
> 
> Compilation is :
> if /users/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../include -I../include -I../lib -I../src  -D_REENTRANT   -Wall -O3 -ffast-math -pipe -Os -pipe  -I/users/buildroot/build_i686/staging_dir/usr/include -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT directfb-csource.o -MD -MP -MF ".deps/directfb-csource.Tpo" -c -o directfb-csource.o directfb-csource.c; \
> > then mv -f ".deps/directfb-csource.Tpo" ".deps/directfb-csource.Po"; else rm -f ".deps/directfb-csource.Tpo"; exit 1; fi
> 
> /bin/sh ../libtool --tag=CC --mode=link /users/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-gcc  -Wall -O3 -ffast-math -pipe -Os -pipe  -I/users/buildroot/build_i686/staging_dir/usr/include -D_GNU_SOURCE  -Werror-implicit-function-declaration  -L/users/buildroot/build_i686/staging_dir/lib -L/users/buildroot/build_i686/staging_dir/usr/lib -o directfb-csource  directfb-csource.o -lpng -lz -lm -ldl -lpthread
> 
> /users/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-gcc -Wall -O3 -ffast-math -pipe -Os -pipe -I/users/buildroot/build_i686/staging_dir/usr/include -D_GNU_SOURCE -Werror-implicit-function-declaration -o directfb-csource directfb-csource.o  -L/users/buildroot/build_i686/staging_dir/lib -L/users/buildroot/build_i686/staging_dir/usr/lib -lpng -lz -lm -ldl -lpthread
> 
> There is no error, no warning
> 
> I suppose something called in directfb-csource.c is not implemented in uclibc ?
> 
> Can someone explain me please ?
> 
> I've attached the following files:
> * dfbsee Config.in and dfbsee.mk
> * DirectFB directfb.mk

I'm currently in the middle of making sure directfb included in
buildroot compiles properly. There are problems (I submitted the
original patch for directfb months ago) and just two days ago noticed
some dependent packages not building correctly linking against the host
libraries instead of the target ones. I'll submit a patch when I get it
all working. For instance freetype is one of the packages that is not
linking against the jpeg library in buildroot...

-- 
Nathanael D. Noblet
Gnat Solutions, Inc
http://www.gnat.ca/
T 250.385.4613
C 250.383.4613




More information about the uClibc mailing list