From: Hebbar <gururajakr@sanyo.co.in>
To: buildroot@busybox.net
Subject: [Buildroot] make fontconfig fails due to missing libxml header files
Date: Tue, 17 Jul 2007 19:59:52 -0700 (PDT) [thread overview]
Message-ID: <11661660.post@talk.nabble.com> (raw)
Hi all,
While buile Fontconfig with latest buildroot snapsnot i get error as
/home/project/toolchains/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-gcc
-Os -pipe
-I/home/project/toolchains/buildroot/build_arm/staging_dir/usr/include
--sysroot=/home/project/toolchains/toolchains/buildroot/build_arm/staging_dir/
-isysroot
/home/project/toolchains/toolchains/buildroot/build_arm/staging_dir
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
-I/home/project/toolchains/buildroot/build_arm/staging_dir/include/freetype2
-I/home/project/toolchains/toolchains/buildroot/build_arm/staging_dir/include
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-DFC_CACHEDIR=\"/var/cache/fontconfig\" -DFONTCONFIG_PATH=\"/etc/fonts\" -g
-O2 -MT fcxml.lo -MD -MP -MF .deps/fcxml.Tpo -c fcxml.c -fPIC -DPIC -o
.libs/fcxml.o
fcxml.c:32:27: error: libxml/parser.h: No such file or directory
This is because it searched for libxml header files in
staging_dir/usr/include/ whereas it should look inside
staging_dir/usr/include/libxml2 because this is the place where "make
libxml2" places the libxml folder & respective header files.
Also i tried to move libxml folder from staging_dir/usr/include/libxml2 to
staging_dir/usr/include/ and now when i "make fontconfig" i get error as
./src/.libs/libfontconfig.so: undefined reference to
`xmlCreatePushParserCtxt'
../src/.libs/libfontconfig.so: undefined reference to `xmlSAX2GetLineNumber'
../src/.libs/libfontconfig.so: undefined reference to `xmlParseChunk'
../src/.libs/libfontconfig.so: undefined reference to `xmlCtxtGetLastError'
../src/.libs/libfontconfig.so: undefined reference to `xmlFreeParserCtxt'
collect2: ld returned 1 exit status
These variables are defined inside libxml/parser.h
Kindly help me to fix these. Thankx in advance
Regards
Gururaja
--
View this message in context: http://www.nabble.com/make-fontconfig-fails-due-to-missing-libxml-header-files-tf4100770.html#a11661660
Sent from the BuildRoot mailing list archive at Nabble.com.
next reply other threads:[~2007-07-18 2:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 2:59 Hebbar [this message]
2007-07-18 3:15 ` [Buildroot] make fontconfig fails due to missing libxml header files Hebbar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11661660.post@talk.nabble.com \
--to=gururajakr@sanyo.co.in \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.