I had made a mistake when configuring. --host should be sh4-linux not just sh4
Things look a little different now: Build options: Version 1.4.3 Linux powered yes Install prefix /home/maximilian/jico7760/pkgs/bin/DirectFB Config files in /home/maximilian/jico7760/pkgs/bin/DirectFB/etc Build shared libs yes Build static libs no Module directory ${exec_prefix}/lib/directfb-1.4-0 CPPFLAGS -D_REENTRANT CFLAGS -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration LDFLAGS LIBS -ldl -lpthread DYNLIB -ldl THREADFLAGS -D_REENTRANT THREADLIBS Misc options: Multi Application Core no Fusion Kernel Device N/A Fusion message size 1024 Voodoo (network support) no Debug supported yes Debug enabled no Trace support no MMX support no SSE support no Network support yes Include all strings yes Software Rendering yes Smooth SW Scaling no 16bit Dithering none zlib compression yes -lz sysfs support no Building Tests no Building Tools yes Building System Modules: Linux FBDev support yes Generic /dev/mem support yes ... Building Window Manager Modules: Default yes UniQuE no Building Image Provider Modules: GIF yes JPEG no PNG yes -I/usr/include/libpng12 -lpng12 Building Video Provider Modules: GIF yes Building Font Modules: FreeType2 yes -I/usr/include/freetype2 -lfreetype Default font yes Building Graphics Drivers: 3Dfx Voodoo no ... Renesas SH7722/SH7723 yes Building Input Drivers: DBox2 Remote no ... Keyboard yes PS/2 Mouse yes I still have to adjust the ./tools/Makefile to link with -lpng -lz -lm instead of just -lpng I have also disabled the gfxdrivers and inputdevices i don't need. normally ./configure would throw a warning "compiling without jpeg... some apps won't work correctly". It no longer does this... make now errors with the following error: sh4-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../lib -I../../lib -I../../src -I../../systems -I./kernel-module -D_REENTRANT -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT sh7722.lo -MD -MP -MF .deps/sh7722.Tpo -c sh7722.c -fPIC -DPIC -o .libs/sh7722.o sh7722.c:44:28: sh7722_jpeglib.h: No such file or directory How can I completely disable jpeg support? I currently use the following options to configure: ./configure --host=sh4-linux --prefix=/home/maximilian/hico7760/pkgs/bin/DirectFB --with-gfxdrivers=sh772x --with-inputdrivers=ps2mouse,keyboard --enable-zlib --disable-video4linux --disable-jpeg one would assume --disable-jpeg does this... but that does not appear to be so. Thanks, Max S. On Fri, 2010-08-06 at 23:59 +0530, Shiva kumar Mishra wrote: > its problem of installation path, just try to copy > your cross compiled directfb liibrary at given place , > I think it is not finding libdevmem.so at desired > place. > > On 8/6/10, Max S. <k...@greatfreeworld.org> wrote: > > > > /usr/lib is empty... > > /lib/ however does contina the directfb folder and the devmem library > > > > # ls -l /usr/lib/ > > # ls -l /lib/directfb-1.4-0/systems/ > > -rw-r--r-- 3 1000 users 14604 Aug 5 02:41 > > libdirectfb_devmem.a > > -rwxr-xr-x 3 1000 users 1052 Aug 5 02:41 > > libdirectfb_devmem.la > > -rw-r--r-- 3 1000 users 12135 Aug 5 02:41 > > libdirectfb_devmem.o > > > > I tried copying the directfb-1.4-0 folder to /usr/lib/ but the result is > > the same. > > > > # dfbinfo --dfb:system=devmem > > > > ... > > > > (*) DirectFB/Core: Single Application Core. (2010-08-05 01:24) > > (!) DirectFB/core/system: No system found! > > (#) DirectFBError [DirectFBCreate() failed]: No (suitable) > > implementation found! > > > > On Fri, 2010-08-06 at 22:05 +0530, Shiva kumar Mishra wrote: > >> I think recompilation is not needed .. You can > >> pass --dfb:video-phys=0x83000000 and > >> --dfb:video-length=691200 , but it is not causing problem that you > >> have posted , I think its problem of installation path , just check > >> your path in /usr/lib/directfb-1.4.3/system or similar to that , you > >> should check one more thing libdevmem.so is present there or not . > >> > >> > >> On Fri, Aug 6, 2010 at 9:51 PM, Max S. <k...@greatfreeworld.org> > >> wrote: > >> passing devmem as the system parameter produces the same > >> result. > >> # dfbinfo --dfb:system=devmem > >> > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 | > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> (c) 2001-2009 The world wide DirectFB Open Source > >> Community > >> (c) 2000-2004 Convergence (integrated media) GmbH > >> > >> ---------------------------------------------------------------- > >> > >> (*) DirectFB/Core: Single Application Core. (2010-08-05 01:24) > >> (!) DirectFB/core/system: No system found! > >> (#) DirectFBError [DirectFBCreate() failed]: No (suitable) > >> implementation found! > >> > >> > >> according to the output of the configure script I have > >> compiled directfb > >> to support only devmemw > >> > Linux FBDev support no > >> > Generic /dev/mem support yes > >> > X11 support no > >> > OSX support no > >> > SDL support no > >> > VNC support no > >> > >> > >> the following shows the fb devices are present. > >> # ls -l /dev/fb* > >> lrwxrwxrwx 1 root root 4 Jan 1 > >> 2000 /dev/fb0 -> fb/0 > >> > >> /dev/fb: > >> crw-rw---- 1 root root 29, 0 Jan 1 2000 0 > >> > >> would it make sense to try and reconfigure&build directfb to > >> supprt > >> linuxfb? > >> > >> I have also seen the flags --dfb:video-phys=0x83000000 and > >> --dfb:video-length=691200 used, but I don't know what they > >> mean, or how > >> to determine the correct values. > >> > >> Thanks, > >> Max S. > >> > >> On Fri, 2010-08-06 at 21:31 +0530, Shiva kumar Mishra wrote: > >> > hi, > >> > > >> > you need to pass system=fbdev or devmem and you need enable > >> support > >> > for the same. > >> > Just type ls /dev/fbdev* and see the result ,iF it is not > >> there you > >> > need to create them (like mknod and corresponding support > >> for that.) > >> > all the best > >> > bye > >> > > >> > On Fri, Aug 6, 2010 at 8:45 PM, Max S. > >> <k...@greatfreeworld.org> > >> > wrote: > >> > Hello, > >> > > >> > I am trying to cross compile Directfb for a hico7760 > >> > http://www.emtrion.com/hico7760st_linux_en.php > >> > > >> > I have crosscompiled other libraries before, but > >> none dealing > >> > with > >> > graphics. My goal is to replace the Qt embedded > >> library > >> > shipped with the > >> > device. I don't need window management, only screen > >> > manipulation, > >> > graphics primitives, font, and png support. > >> > > >> > I have already built libfreetype libz and libpng12 > >> > > >> > I have configured directfb with: > >> > > >> > cd $BSP/pkgs/src/DirectFB > >> > ./configure --prefix=$BSP/pkgs/bin/DirectFB > >> --enable-zlib > >> > --host=sh4 > >> > CC=sh4-linux-gcc > >> > > >> > I get the output: > >> > > >> > Build options: > >> > Version 1.4.3 > >> > Linux powered no > >> > Install prefix /pkgs/bin/DirectFB > >> > Config files in /pkgs/bin/DirectFB/etc > >> > Build shared libs no > >> > Build static libs yes > >> > Module directory > >> ${exec_prefix}/lib/directfb-1.4-0 > >> > CPPFLAGS -D_REENTRANT > >> > CFLAGS -O3 -ffast-math -pipe > >> > -D_GNU_SOURCE > >> > -Werror-implicit-function-declaration > >> > LDFLAGS > >> > LIBS -lpthread > >> > DYNLIB > >> > THREADFLAGS -D_REENTRANT > >> > THREADLIBS > >> > > >> > Misc options: > >> > Multi Application Core no > >> > Fusion Kernel Device N/A > >> > Fusion message size 1024 > >> > Voodoo (network support) no > >> > Debug supported yes > >> > Debug enabled no > >> > Trace support no > >> > MMX support no > >> > SSE support no > >> > Network support yes > >> > Include all strings yes > >> > Software Rendering yes > >> > Smooth SW Scaling no > >> > 16bit Dithering none > >> > zlib compression yes -lz > >> > sysfs support no > >> > > >> > Building Tests no > >> > Building Tools yes > >> > > >> > Building System Modules: > >> > Linux FBDev support no > >> > Generic /dev/mem support yes > >> > X11 support no > >> > OSX support no > >> > SDL support no > >> > VNC support no > >> > > >> > Building Window Manager Modules: > >> > Default yes > >> > UniQuE no > >> > > >> > Building Image Provider Modules: > >> > GIF yes > >> > JPEG no > >> > PNG yes > >> > -I/usr/include/libpng12 -lpng12 > >> > > >> > Building Video Provider Modules: > >> > GIF yes > >> > Video4Linux no (v2: no) > >> > > >> > Building Font Modules: > >> > FreeType2 yes > >> > -I/usr/include/freetype2 > >> > -lfreetype > >> > Default font yes > >> > > >> > JPEG support is missing - many applications won't > >> work > >> > correctly! > >> > > >> > Everything looks good so far to me... > >> > I then run make and get undefined references to > >> functions in > >> > libz and > >> > the math libs, called from libpng in the tools/ dir. > >> > I change tools/Makefile to read > >> > LIBPNG_LIBS = -lpng12 -lz -lm > >> > > >> > make then completes and I run make install. > >> > > >> > on the target device. running dfbinfo produces: > >> > ~ # dfbinfo > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 | > >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> > (c) 2001-2009 The world wide DirectFB Open > >> Source > >> > Community > >> > (c) 2000-2004 Convergence (integrated media) > >> GmbH > >> > > >> > > >> ---------------------------------------------------------------- > >> > > >> > (*) DirectFB/Core: Single Application Core. > >> (2010-08-05 01:24) > >> > (!) DirectFB/core/system: No system found! > >> > (#) DirectFBError [DirectFBCreate() failed]: No > >> (suitable) > >> > implementation found! > >> > > >> > Have I missed something? does DirectFB not support > >> this > >> > device? I don't > >> > know what else I'm supposed to do. > >> > > >> > Thanks in advance. > >> > Max S. > >> > > >> > > >> > _______________________________________________ > >> > directfb-dev mailing list > >> > directfb-dev@directfb.org > >> > > >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > >> > > >> > > >> > > >> > -- > >> > "The best way to find yourself is to lose yourself in the > >> service of > >> > others". > >> > > >> > Shiva The Great > >> > _______________________________________________ > >> > directfb-dev mailing list > >> > directfb-dev@directfb.org > >> > > >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > >> > >> > >> > >> > >> > >> > >> > >> -- > >> "The best way to find yourself is to lose yourself in the service of > >> others". > >> > >> Shiva The Great > >> _______________________________________________ > >> directfb-dev mailing list > >> directfb-dev@directfb.org > >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > > > > > > > _______________________________________________ > > directfb-dev mailing list > > directfb-dev@directfb.org > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev