Re: frontconfig cross compilaton problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/18/07, Sina Mallick <education.sina@xxxxxxxxx> wrote:
Hi All,
I am trying to cross compile fontconfig version 2.4.1..I have export
CPPFLAGS and LDFLAGS
when i type freetype-config --cflage
result is -I/usr/include/freetype2

You need to put the directory where freetype-config is located at the
beginning of PATH. It looks like that's your host's freetype-config.
What's the output of "which freetype-config"?

arm-9tdmi-linux-gnu-gcc -shared  .libs/fcatomic.o .libs/fcblanks.o
.libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o
.libs/fcdefault.o .libs/fcdir.o .libs/fcfreetype.o .libs/fcfs.o
.libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o
.libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcserialize.o
.libs/fcstr.o .libs/fcxml.o .libs/ftglue.o
-L/home/fountain/Desktop/tar/fontconfig- 2.4.1/src
-lfreetype -lz -lexpat  -Wl,-soname -Wl,libfontconfig.so.1 -o
.libs/libfontconfig.so.1.1.0
/opt/crosstoolstatic,/gcc-4.1.0-glibc-2.3.2
/arm-9tdmi-linux-gnu/lib/gcc/arm-9tdmi-linux-gnu/4.1.0/../../../../arm-9tdmi-linux-gnu/bin/ld:
cannot find -lfreetype
collect2: ld returned 1 exit status

It's not sure we're you're cross compiler/cross linker is setup to
look for libraries, but it doesn't seem to be looking in the same
place that libfreetype is.

--
Dan
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux