All, I have been trying to compile DirectFB-1.0.0 with a toolchain built with
gcc-4.1.1 uClibc-0.9.28.1 Here is my configure line CC=arm-linux-gcc CXX=arm-linux-g++ AR=arm-linux-ar RANLIB=arm-linux-ranlib LD=arm-linux-ld CFLAGS="-I/home/heelrod/stars/crater/20070317/host/include" LDFLAGS="-L/home/heelrod/stars/crater/20070317/host/lib -Wl,-rpath-link /home/heelrod/stars/crater/20070317/host/lib" TSLIB_CFLAGS="-I/home/heelrod/stars/crater/20070317/host/include " TSLIB_LIBS="-L/home/heelrod/stars/crater/20070317/host/lib -Wl,-rpath-link /home/heelrod/stars/crater/20070317/host/lib" PKG_CONFIG_SYSROOT="/home/heelrod/stars/crater/20070317/host" PKG_CONFIG="/home/heelrod/stars/crater/20070317/host/bin/pkg-config" LIBPNG_CONFIG="/home/heelrod/stars/crater/20070317/host/bin/libpng12-config" ac_cv_header_linux_wm97xx_h=no ac_cv_header_linux_sisfb_h=no ./configure --target=arm-linux --host=arm-linux --build=i686-linux --prefix=/ --exec-prefix=/ --bindir=/bin --sbindir=/sbin --libdir=/lib --libexecdir=/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --includedir=/include --mandir=/usr/man --infodir=/usr/info --enable-jpeg --enable-png --enable-linux-input --enable-zlib --with-gfxdrivers=unichrome --enable-freetype --enable-sysfs --disable-sdl --disable-video4linux Here is the error. arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../lib -I../../lib -I../../src -D_XOPEN_SOURCE=500 -D_REENTRANT -O3 -ffast-math -pipe -I/home/heelrod/stars/crater/20070317/host/include -D_GNU_SOURCE -Werror-implicit-function-declaration -MT agp.lo -MD -MP -MF .deps/agp.Tpo -c agp.c -fPIC -DPIC -o .libs/agp.o /bin/sh ../../libtool --tag=CC --mode=link arm-linux-gcc -O3 -ffast-math -pipe -I/home/heelrod/stars/crater/20070317/host/include -D_GNU_SOURCE -Werror-implicit-function-declaration -L/home/heelrod/stars/crater/20070317/host/lib -Wl,-rpath-link /home/heelrod/stars/crater/20070317/host/lib -o libdirectfb_fbdev.la -rpath /lib/directfb-1.0-0/systems -avoid-version -module -lsysfs fbdev.lo vt.lo agp.lo ../../lib/direct/libdirect.la ../../lib/fusion/libfusion.la ../../src/libdirectfb.la -ldl -lpthread arm-linux-gcc -shared .libs/fbdev.o .libs/vt.o .libs/agp.o -Wl,--rpath -Wl,/home/heelrod/stars/crater/20070317/host/lib -Wl,--rpath -Wl,/home/heelrod/stars/crater/20070317/build/DirectFB-1.0.0/lib/direct/.libs -Wl,--rpath -Wl,/home/heelrod/stars/crater/20070317/build/DirectFB-1.0.0/lib/fusion/.libs -Wl,--rpath -Wl,/home/heelrod/stars/crater/20070317/build/DirectFB-1.0.0/src/.libs -Wl,--rpath -Wl,/home/heelrod/stars/crater/20070317/host/lib -L/home/heelrod/stars/crater/20070317/host/lib /home/heelrod/stars/crater/20070317/host/lib/libsysfs.so ../../lib/direct/.libs/libdirect.so ../../lib/fusion/.libs/libfusion.so ../../src/.libs/libdirectfb.so -ldl -lpthread -Wl,-rpath-link -Wl,-soname -Wl,libdirectfb_fbdev.so -o .libs/libdirectfb_fbdev.so /usr/local/arm/4.1.1-920t/bin/../lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld: libdirectfb_fbdev.so: No such file: No such file or directory collect2: ld returned 1 exit status make[3]: *** [libdirectfb_fbdev.la] Error 1 make[3]: Leaving directory `/home/heelrod/stars/crater/20070317/build/DirectFB-1.0.0/systems/fbdev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/heelrod/stars/crater/20070317/build/DirectFB-1.0.0/systems' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/heelrod/stars/crater/20070317/build/DirectFB-1.0.0' make: *** [all] Error 2 It seems that libdirectfb_fbdev.so is not getting put together [EMAIL PROTECTED]:~/stars/crater/20070317/build/DirectFB-1.0.0/systems/fbdev$ ls .libs/ agp.o fbdev.o vt.o fbdev.o exists, but it's not getting linked into the .so file. Anyone come across this before? I also had to #define #define PAGE_SIZE sysconf( _SC_PAGESIZE ) outside of the ifdef of HAVE_ASM_PAGE_H in lib/direct/system.c to get PAGE_SIZE defined. just incase anyone was wondering about that error. It seems the Makefile is using some wrong mojo somewhere, but I'm gettin tired, so hopefully someone has come across this. Thanks, Brian _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
