[poppler] Building for Qt QNX

Jon jheron at snappyappz.com
Sat Apr 7 05:17:01 PDT 2012


Thanks for the reply Yury!
I added --target=qnx to the configure so it now looks like this:
./configure --with-x --target=qnx
--prefix=/home/jon/popqt--enable-poppler-qt4
POPPLER_QT4_LIBS=-L/home/jon/QtQNX/ARM/lib
POPPLER_QT4_CFLAGS=-I/home/jon/QtQNX/ARM/include
POPPLER_QT4_TEST_LIBS=-L/home/jon/QtQNX/ARM/lib
POPPLER_QT4_TEST_CFLAGS=-I/home/jon/QtQNX/ARM/include
MOCQT4=/home/jon/QtQNX/ARM/bin/moc
PKG_CONFIG_PATH=/home/jon/QtQNX/ARM/lib/pkgconfig
But I still am not getting it to build, its generating the same error on
the qatomic_armv5.h that I posted below, I forgot to mention in the
previous email that its the ArthurOutputDev.lo that's generating the
assembler errors, here is the error summary after make fails:
make[3]: *** [ArthurOutputDev.lo] Error 1
make[3]: Leaving directory `/home/jon/poppler/poppler'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jon/poppler/poppler'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jon/poppler'
make: *** [all] Error 2

Any suggestions?
Cheers,
Jon

On Sat, 2012-04-07 at 09:25 +0400, Yury G. Kudryashov wrote:

> Jon wrote:
> 
> > Hello all,
> > I am trying to build the poppler libs for use in a Qt app for the
> > Blackberry Playbook (QNX armv7le).
> > I am running fedora16 64bit on my dev machine.
> > I configured poppler against the Qt4.8.1 libs built for the playbook
> > (qnx) with this:
> > ./configure --with-x --enable-poppler-qt4
> > 
> > Is this the correct approach?
> Are you sure your build uses cross-compiler? It seems that it tries to 
> interpret ARM assembler as x86_64 assembler (disclaimer: I don't know 
> assembler).
> 
> Probably you need to add --target flag to ./configure call.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120407/cae98b77/attachment.html>


More information about the poppler mailing list