[poppler] Cross compiling to arm problem
suzuki toshiya
mpsuzuki at hiroshima-u.ac.jp
Wed Jun 20 16:01:39 PDT 2012
Hi,
I don't think it's appropriate cross building method for
autoconf-ed software. The appropriate method might be
something like
./configure --build=i386-pc-linux-gnu --host=arm-linux ...
Who told you to do as "CC=blahblahblah ./configure --host=blahblahblah ..." ?
In various mailing lists, often I see such "deceived" people
told to do wrong method, and I want to know who makes a confusion.
Regards,
mpsuzuki
Islam Hassan wrote (2012/06/21 7:55):
> 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?
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list