On 09/02/2010 06:21 AM, CN, Harsha IN BLR SISL wrote: > > Hi, > > > > I trying to cross compile directfb for arm platform using > arm-none-linux-gnueabi tool chain. > > > > I cross compiled the dependencies for directfb like jpeg, zlib, png, > freetype using the above tool chain and created static libraries of > all the dependencies and placed in /home/DFB/lib (libfreetype.a, > libjpeg.a, libpng.a, libz.a) and the header files in /home/DFB/include > (ft2build.h, jpeglib.h, png.h, zconf.h, zlib.h, freetype header > folder)folder respectively. >
And what about .pc (pkg-config) and .la (libtool) files? Do they have correct entries? > > > I use the following configure options for configuring DirectFB, > > > > LDFLAGS=-L/home/DFB/lib CFLAGS=-L/home/DFB/include \ > > CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ \ > > AR=arm-none-linux-gnueabi-ar RANLIB=arm-none-linux-gnueabi-ranlib \ > > LD=arm-none-linux-gnueabi-ld ./configure --target=arm-linux > --host=i686-pc-linux-gnu \ > > --enable-static --disable-sdl --with-gfxdrivers=none --enable-fbdev > --enable-linux-input \ > > --without-tools --prefix=/home/DFB > May be specifying PKG_CONFIG_PATH will help here. > > > But when I run the configure script it is unable to find the jpeglib.h > and zlib.h files, it gives the following errors, > > > > Checking for jpeg_decompress in -ljpeg... (cached) yes > > Checking for jpeglib.h... (cached) no > > *** JPEG header files not found. > > Checking for gzsetparams in -lz... (cached) yes > > Checking for zlib.h... (cached) no > > *** libz header files not found. > > > > The problem is occurring only for header files whereas the library > files are found while configuring. > CPPFLAGS ? > > > > I tried with --x-includes and --x-libraries option with configure but > the result was the same. > > > > Can anyone suggest the problem in the procedure that I followed to > cross compile directfb?? > > > > Thanks in advance. > > > > With Best Regards, > > Harsha Sukeerthi > > Best regards, AWG
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users