[poppler] Cross compiling to arm problem

Hib Eris hib at hiberis.nl
Fri Jun 22 01:51:49 PDT 2012


Hi,

On Thu, Jun 21, 2012 at 12:55 AM, Islam Hassan <iah.vector at gmail.com> wrote:
> I'm trying to cross compile with qt wrapper for arm target. I used this for
> configuration:
>
> CC=arm-linux-gcc ./configure --host=arm-linux --disable-libpng
> --disable-cairo-output --disable-poppler-glib --disable-cms
> CPPFLAGS=-I/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/include
> LDFLAGS=-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/lib,-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/lib
> CFLAGS=-I/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/include
> PKG_CONFIG_PATH=/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/lib/pkgconfig
>
> When I try "make" I get this error:
>
> arm-unknown-linux-gnueabi/bin/ld: cannot find -lfreetype
>
> I'm sure that the freetype library exists in the library path supplied with
> the configure command. What do you think the problem is?
>

Maybe try:

LDFLAGS='-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/lib
-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/lib'

instead of:
LDFLAGS=-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/usr/lib,-L/home/islamhassan/Development/embedded_linux/buildroot-2012.02/output/staging/lib


In which folder do you have your libfreetype?


More information about the poppler mailing list