Re: Buildroot ARM toolchain build Error: libexpat
2008-04-30 23:07:14 GMT
I noticed that the error I got:
Checking for XML_ParserCreate in -lexpat... no
Checking for XML_ParserCreate in -lbsdxml... no
Configure: error: *** neither libexpat not libbsdxml could be found ***
shows -lexpat and -lbsdxml. So I tried setting up the LD_LIBRARY_PATH environment variable to include the directory where the libexpat is located. I went ahead and did that and then did "export" with the expectation that libexpat could now be located, but the build still fails with the same error.
Also, I tried "enabling" expat in the configure file under /root/buildroot/build_arm/avahi-0.6.22. I called ./configure --enable-expat=yes, but I end up with an error with that as well, it complains about some PKG_CONFIG_PATH variable which I cannot find or change in the configure file.
I'd just like to point out that I located "libexpat" in my build system and a bunch of files are under /usr/lib as libexpat.a, libexpat.la, libexpat.so, etc. Do you guys these need to be moved somewhere in /root/buildroot/build_arm/staging_dir/ for them to be located?On Tue, Apr 29, 2008 at 4:43 PM, Arun Reddy <reddyac-Re5JQEeQqe8@public.gmane.orgm> wrote:Hi Thiago,
I actually did not have expat in the menuconfig. The build process fails after it does a check for a whole bunch of files shown here...
I am not sure whether it needs expat to actually complete the build process or not. I went ahead and changed my buildroot .config file to include expat just in case, but I still get the same error. I attached my .config file as you requested. (I had to save it as a .txt file because I am using VirtualBox and my shared folder wouldn't accept the .config file itself). Thank you for your help.On Tue, Apr 29, 2008 at 3:18 PM, Thiago A. Corrêa <thiago.correa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:Hi,
If this is a package from buildroot that you are compiling, it should
be looking for libexpat in the staging_dir, not in the system
Did you enable expat in the menuconfig? Which package is failing?
Could you share your .config file?
Thiago A. Correa> _______________________________________________
On Tue, Apr 29, 2008 at 7:07 PM, Arun Reddy <reddyac-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> A little more info on the problem. I tried to build again using a different
> configuration just to see if the problem was unique, but I ran into the same
> one again. After a little bit of Google searching, it seems to me that there
> might be an undefined symbol error. I looked at the config.log file to see
> if I could find it but couldn't pinpoint anything.
> I should also point out, when I look at config.log:
> (/root/buildroot/build_arm/avahi-0.6.22/config.log), I see that the line $
> ./configure has "--disable-expat" in it. Is this why my build is getting the
> error that libexpat can't be found?
> Thanks for any help!
> On Mon, Apr 28, 2008 at 3:32 PM, Arun Reddy <reddyac-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Hi everyone,
> > I have done a kernel configuration for at91sam9263ek, and I am now going
> through the build process. I have fixed up some errors I encountered with
> missing packages, but I then encountered that...
> > Checking for XML_ParserCreate in -lexpat... no
> > Checking for XML_ParserCreate in -lbsdxml... no
> > Configure: error: *** neither libexpat not libbsdxml could be found ***
> > I made sure to install the expat package (apt-get install libexpat-dev)
> and tried to find out if I needed to install the libbsdxml package as well,
> but couldn't find enough information online about what libbsdxml is (it does
> seem like it's just another name for libexpat) or any solutions to this
> > Anyone know what the problem here is, and what package I actually need?
> buildroot mailing list
buildroot mailing list
buildroot <at> uclibc.org
_______________________________________________ buildroot mailing list buildroot@... http://busybox.net/mailman/listinfo/buildroot