Denis Oliver Kropp wrote: > Martin Nylund wrote: >> 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' > > Did you try "autoreconf -f" and ./configure? > Thanks, that helped.
Now the build fails on following error: In file included from /home/hico/emtrix-2.2/hico7722/rootfs/usr/local/include/jpeglib.h:24, from /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpeglib.h:4, from /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:30: /home/hico/emtrix-2.2/hico7722/rootfs/usr/local/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined In file included from /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:17: ../../config.h:70:1: warning: this is the location of the previous definition /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c: In function 'main': /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:131: error: incompatible type for argument 3 of 'SH7722_JPEG_Encode' /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:131: error: too many arguments to function 'SH7722_JPEG_Encode' make[3]: *** [sh7722_jpegtool.o] Error 1 make[3]: Leaving directory `/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build/gfxdrivers/sh7722' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build/gfxdrivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build' make: *** [all] Error 2 I tried the 1.2.5 release too and the build fails with the same error message. Do I maybe have some incompatible headers on my system? (My jpeglib is v6b.) _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev