Thanks Tom, I appreciate any insight into this as I'm just starting to learn it all. The -v flag was invaluable. Also. after doing a bitbake birectfb, the directfb.pc file showed up just where it should. But, adding that directory to the environment variable did not seem to make any difference, probably because ./configure did not recognize -force-pkg-config. It just errored when it ran and printed out the help screen. I'm building Qt/QTcore 4.4.0-beta1.

I tried adding the Directfb source directory to the QMAKE.conf file like it suggested, then it complained as such

DirectFB auto-detection... ()
arm-linux-g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-arm-g++ -I. -I. -I../../../../directfb/include -I../../../../directfb/src -o directfb.o direct
fb.cpp
arm-linux-g++  -o directfb directfb.o    -L/home/hglenn/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/directfb-1.1.0-r2/install/directfb/usr/lib/li
bdirectfb-1.1.so.0
directfb.o: In function `main':
directfb.cpp:(.text+0x10): undefined reference to `DirectFBInit'
collect2: ld returned 1 exit status
make: *** [directfb] Error 1
DirectFB disabled.
The DirectFB screen driver functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in
 /home/hglenn/gumstix/qtopia-src-4.4.0-beta1/mkspecs/qws/linux-arm-g++.
hglenn@sparkplug:~/gumstix/qtopia-src-4.4.0-beta1$

I figured it was looking for an ARM compiled library for it, so i added that also. but not sure if i did it all right.
Anyone see anything obviously wrong with that I did?

Thanks,
Hal



On Fri, Apr 4, 2008 at 2:44 AM, Tom Cooksey <thomas.cooksey@trolltech.com> wrote:
On Thursday 03 April 2008 18:24:31 Hal Glenn wrote:
> I figured we have Qtopia and we have directFB for the gumstix, shoudl
> work? This might be a question for another list, but i'm finaly starting
> to get to know you guys so i dont want to go around bothering anyone
> else yet :)
>
>
> anyway, the qtopia configure command returns this when I ask it to
> compile in directFB support.
>
> ./configure -embedded arm -plugin-gfx-directfb -little-endian -no-webkit
> -prefix /qtopia
>
> The DirectFB screen driver functionality test failed!
>  You might need to modify the include and library search paths by editing
>  QMAKE_INCDIR and QMAKE_LIBDIR in
>  /home/hglenn/gumstix/qtopia-src-4.4.0-beta1/mkspecs/qws/linux-arm-g++
>
>
> So i checked out the qmake.conf file in that directory and added a the
> src dir of the directfb source to the QMAKE_INCDIR, but that really did
> not change much.
>
> O maybe in need to point QMAKE_LIBDIR to the cross combiled directFB
> lib's....

If you are compiling qt/embedded 4.4 (not qtopia), try exporting PKG_CONFIG_PATH
to something like:

"~/gumstix/gumstix-oe/tmp/staging/arm-angstrom-linux-gnueabi/lib/pkgconfig"

and adding -force-pkg-config to the configure line. Assuming the DirectFB libraries have
a correctly set up .pc file, configure should pick up the libraries. If that doesn't work,
add -v to the configure line to see exactly how the test is failing.


Cheers,

Tom

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users