I am compiling poppler-0.16.7 for Mini2440 for given file system for
generating ARM libraries
I supplied path in /root/.bashrc for precompiled libraries of mini2440 i.e
root_qtopia.tar.gz provided by Friendly ARM
export PATH=$PATH:/usr/local/arm/4.3.2/bin/
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Qt/lib:/home/qwt-6.0.0-rc5/lib/:/usr
/local/tslib/lib:/home/qwt-6.0.0-rc5-X86/lib:/home/root_qtopia/lib:/usr/local/ar
m/4.3.2/lib
i use command below commands to compile
./configure --host=arm-linux --prefix=/usr/local/poppler-arm
it gives output
Building poppler with support for:
font configuration: fontconfig
splash output: yes
cairo output: no
abiword output: no
qt wrapper: yes
qt4 wrapper: yes
glib wrapper: no
use GDK: no
introspection: no
cpp wrapper: yes
use gtk-doc: no
use libjpeg: yes
use libpng: yes
use zlib: no
use libcurl: no
use libopenjpeg: no
use cms: yes
command line utils: yes
Warning: Using libopenjpeg is recommended
after that i run make
root@girish:/home/poppler-0.16.7-arm# make
Output is attached
and after that i am unable to find solution
Cross Compiling Poppler(PDF Rendering Library) for Mini2440
It seems the poppler configure script is not cross build aware. At least it tries to include header files from your host, which is completely wrong. It also detects your "/usr/bin/pkg-config". This will query host paths, not target paths. In such way it will never cross compile. Maybe one of the existing cross build systems may help you.
Thanks Juergen Beisert i also try to give include path using using CPPFLAGS="-I/include/path" but than also it takes path from system and print messages Now i think buiding new root filesystem from buidroot or openembedded will provide all libraries with headers so it is available during any new source packages cross compilation, am i going in right direction please suggest
I'm sure there are cross build systems around that support 'poppler' without any further intervention from your side.


