Hello all,
I'm trying to build the latest git version of directfb for a SH7722
target, but the build always fails to errpr
"../src/.libs/libdirectfb.so: undefined reference to
`dfb_surface_pool_bridges_transfer'":
.
.
.
sh3-linux-gcc -DHAVE_CONFIG_H -I.
-I/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/tools -I.. -I../lib
-I../include -I/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/include
-I/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/lib
-I/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/src
-DDATADIR=\"/usr/local/share/directfb-1.3.0\" -D_REENTRANT -O3
-ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration
-MT dfbdump.o -MD -MP -MF .deps/dfbdump.Tpo -c -o dfbdump.o
/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/tools/dfbdump.c
mv -f .deps/dfbdump.Tpo .deps/dfbdump.Po
/bin/bash ../libtool --tag=CC --mode=link sh3-linux-gcc -O3 -ffast-math
-pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o dfbdump
dfbdump.o ../src/libdirectfb.la ../lib/fusion/libfusion.la
../lib/direct/libdirect.la -ldl -lpthread
sh3-linux-gcc -O3 -ffast-math -pipe -D_GNU_SOURCE
-Werror-implicit-function-declaration -o .libs/dfbdump dfbdump.o
../src/.libs/libdirectfb.so ../lib/fusion/.libs/libfusion.so
../lib/direct/.libs/libdirect.so -ldl -lpthread
../src/.libs/libdirectfb.so: undefined reference to
`dfb_surface_pool_bridges_transfer'
collect2: ld returned 1 exit status
make[2]: *** [dfbdump] Error 1
make[2]: Leaving directory
`/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build'
make: *** [all] Error 2
If I disable tools, the build fails at gfxdrivers/sh7722/sh7722_jpegtool.c.
Here's my configure command:
cd $PKGS/DirectFB-git-build
$PKGS/DirectFB-git/configure \
--host=sh3-linux \
--with-sysroot=$TARGET/rootfs \
--with-gfxdrivers=sh7722 \
--with-inputdrivers=tslib \
--enable-fbdev
What might be wrong here?
Is the latest git anyway a good starting point to try directFb on
sh7722? Or should I rather start with some certain tag/release (I'm
using the latest 2.6.27 git kernel)?
Martin
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev