<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">When I tried this recipe for Poppler:</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><i>DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base."</i></div>

<div><i>HOMEPAGE = "<a href="http://poppler.freedesktop.org/" target="_blank">http://poppler.freedesktop.org</a>"</i></div><div><i><br></i></div><div><i>LICENSE = "GPLv2"</i></div><div><i>LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"</i></div>

<div><i>PR = "r3"</i></div><div><i><br></i></div><div><i>SECTION = "x11/libs"</i></div><div><i><br></i></div><div><i>DEPENDS = "qt4-x11-free jpeg zlib cairo pth libassuan libksba"</i></div><div>

<i>RDEPENDS_${PN} = "poppler-data"</i></div><div><i><br></i></div><div><i>SRC_URI = "<a href="http://poppler.freedesktop.org/$%7BBPN%7D-$%7BPV%7D.tar.gz" target="_blank">http://poppler.freedesktop.org/${BPN}-${PV}.tar.gz</a>"</i></div>

<div><i>SRC_URI[md5sum] = "a61e3b844061f5324512a16d6d16984c"<br></i></div><div><i>SRC_URI[sha256sum] = "b4620f645319f4a8790465730bc472d5745155d0780809406fb29c62316d49a8"</i></div><div><i><br></i></div>

<div><i>inherit autotools pkgconfig</i></div><div><i><br></i></div><div><i>EXTRA_OECONF = " --enable-xpdf-headers \</i></div><div><i><span style="white-space:pre-wrap">         </span> --disable-gtk-test \</i></div><div><i><span style="white-space:pre-wrap">                </span> --disable-qt4-test \</i></div>

<div><i><span style="white-space:pre-wrap">         </span> --disable-qt-test \</i></div><div><i><span style="white-space:pre-wrap">         </span> --enable-zlib \</i></div><div><i><span style="white-space:pre-wrap">     </span>       "</i></div>

<div><i>def get_poppler_fpu_setting(bb, d):</i><br></div><div><i>    if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:</i></div><div><i>        return "--enable-fixedpoint"</i></div><div><i>    return ""</i></div>

<div><i><br></i></div><div><i>#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points</i></div><div><i>EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}"</i></div>
</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><b>The error from bitbake was:</b></div><div style="font-family:arial,sans-serif;font-size:13px">

<br><div><i>| make  all-am</i></div><div><i>| make[4]: Entering directory `/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4/src'</i></div><div><i>| ../../arm-projectos-linux-gnueabi-libtool  --tag=CXX   --mode=link arm-projectos-linux-gnueabi-g++  -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/project/dora/build/tmp/sysroots/imx6qsabrelite -Dpoppler_qt4_EXPORTS -Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -ansi -version-info 4:0:0   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o <a href="http://libpoppler-qt4.la/" target="_blank">libpoppler-qt4.la</a> -rpath /usr/lib libpoppler_qt4_la-poppler-document.lo libpoppler_qt4_la-poppler-page.lo libpoppler_qt4_la-poppler-fontinfo.lo libpoppler_qt4_la-poppler-embeddedfile.lo libpoppler_qt4_la-poppler-textbox.lo libpoppler_qt4_la-poppler-link.lo libpoppler_qt4_la-poppler-annotation.lo libpoppler_qt4_la-poppler-link-extractor.lo libpoppler_qt4_la-poppler-optcontent.lo libpoppler_qt4_la-poppler-page-transition.lo libpoppler_qt4_la-poppler-sound.lo libpoppler_qt4_la-poppler-form.lo libpoppler_qt4_la-poppler-base-converter.lo libpoppler_qt4_la-poppler-ps-converter.lo libpoppler_qt4_la-poppler-pdf-converter.lo libpoppler_qt4_la-poppler-qiodeviceoutstream.lo libpoppler_qt4_la-poppler-private.lo libpoppler_qt4_la-poppler-movie.lo libpoppler_qt4_la-poppler-media.lo ../../poppler/<a href="http://libpoppler.la/" target="_blank">libpoppler.la</a> ../../poppler/<a href="http://libpoppler-arthur.la/" target="_blank">libpoppler-arthur.la</a> -lfontconfig  -lQtGui -lQtXml -lQtCore  -lz -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed</i></div>

<div><i>| arm-projectos-linux-gnueabi-libtool: link: cannot find the library `' or unhandled argument `-DLINUX=1'</i></div><div><i>| make[4]: *** [<a href="http://libpoppler-qt4.la/" target="_blank">libpoppler-qt4.la</a>] Error 1</i></div>

<div><i>| make[4]: Leaving directory `/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4/src'</i></div><div><i>| make[3]: *** [all] Error 2</i></div><div><i>| make[3]: Leaving directory `/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4/src'</i></div>

<div><i>| make[2]: *** [all-recursive] Error 1</i></div><div><i>| make[2]: Leaving directory `/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1/qt4'</i></div><div>

<i>| make[1]: *** [all-recursive] Error 1</i></div><div><i>| make[1]: Leaving directory `/project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/poppler-0.20.1'</i></div><div><i>| make: *** [all] Error 2</i></div>

<div><i>| ERROR: oe_runmake failed</i></div><div><i>| WARNING: exit code 1 from a shell command.</i></div><div><i>| ERROR: Function failed: do_compile (log file is located at /project/dora/build/tmp/work/cortexa9hf-vfp-neon-projectos-linux-gnueabi/poppler/0.20.1-r3/temp/log.do_compile.19063)</i></div>

<div><i>ERROR: Task 6 (/project/dora/meta-omnimed/common/recipes-libs/poppler/<a href="http://poppler_0.20.1.bb/" target="_blank">poppler_0.20.1.bb</a>, do_compile) failed with exit code '1'</i></div><div><i>NOTE: Tasks Summary: Attempted 2274 tasks of which 2273 didn't need to be rerun and 1 failed.</i></div>

<div><i>No currently running tasks (1704 of 2281)</i></div><div><i><br></i></div><div><i>Summary: 1 task failed:</i></div><div><i>  /project/dora/meta-omnimed/common/recipes-libs/poppler/<a href="http://poppler_0.20.1.bb/" target="_blank">poppler_0.20.1.bb</a>, do_compile</i></div>

<div><i>Summary: There was 1 ERROR message shown, returning a non-zero exit code.</i></div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">In Dylan Branch this not happened, but in Dora Branch is the same recipe and version of Poppler.</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">My application using Poppler + Qt.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks</div></div></div>