[Buildroot] Adding new package to BuildRoot

Daniel Frey dmfrey+linux at gmail.com
Fri Aug 17 13:47:40 UTC 2007


All,

I am attempting to add libxslt to the packages under buildroot.  It fails
with the following errors:

/home/dmfrey/dev/embedded/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-gcc
-shared  .libs/attrvt.o .libs/xslt.o .libs/xsltutils.o .libs/pattern.o
.libs/templates.o .libs/variables.o .libs/keys.o .libs/numbers.o
.libs/extensions.o .libs/extra.o .libs/functions.o .libs/namespaces.o
.libs/imports.o .libs/attributes.o .libs/documents.o .libs/preproc.o
.libs/transform.o .libs/security.o  -L/usr/lib /usr/lib/libxml2.so -lm
-march=armv5te -mtune=xscale -Wl,-soname -Wl, libxslt.so.1 -o
.libs/libxslt.so.1.1.21
/usr/lib/libxml2.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [ libxslt.la] Error 1
make[3]: Leaving directory
`/home/dmfrey/dev/embedded/gumstix-buildroot/build_arm_nofpu/libxslt- 1.1.21
/libxslt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dmfrey/dev/embedded/gumstix-buildroot/build_arm_nofpu/libxslt-1.1.21'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/dmfrey/dev/embedded/gumstix-buildroot/build_arm_nofpu/libxslt- 1.1.21
'
make: ***
[/home/dmfrey/dev/embedded/gumstix-buildroot/build_arm_nofpu/libxslt-1.1.21/libxslt.so]
Error 2


I used the xml2 Config.in <http://config.in/> and xml2.mk as a model for
setting up libxslt.  I am building on ubuntu feisty.  If there is any other
info required, please let me know; I have attached my two files in the xslt
directory under package.  I am not totally sure as to what is going on here,
but I think it has something to do with the fact that libxml2 was compiled
for my host architecture.  When I see the ouput fly by, it is finding the
local systems libxml2.27, versus the libxml2.29 in the buildroot.

Thanks for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070817/f5c27b6e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Config.in
Type: application/octet-stream
Size: 113 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070817/f5c27b6e/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xslt.mk
Type: application/octet-stream
Size: 2455 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070817/f5c27b6e/attachment-0007.obj>


More information about the buildroot mailing list