pls check config.log and find out the exact reason.
From: directfb-users-boun...@directfb.org [mailto:directfb-users-boun...@directfb.org] On Behalf Of CN, Harsha IN BLR SISL Sent: Thursday, September 02, 2010 1:30 PM To: Abdoulaye Walsimou Gaye Cc: directfb-users@directfb.org Subject: Re: [directfb-users] Cross Compiling DirectFB for Arm Platform >>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 Hi AWG, Sorry I did not the get the part where you mentioned to check for .pc and .la files?? Which .pc file should I have to check?? After building jpeg, png, zlib and freetype did not provide any .pc files to add to the PKG_CONFIG_PATH I have tried CPPFLAGS with CFLAGS and CPPFLAGS alone but it did not work. Thanks for your help. With Best Regards, C. N. Harsha Sukeerthi ________________________________ Important notice: This e-mail and any attachment there to contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank You. ***** Confidentiality Statement/Disclaimer ***** This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt. The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users