Re: [libxml++] Trying to cross compile libxml++
- From: Christophe de VIENNE <cdevienne alphacent com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] Trying to cross compile libxml++
- Date: Fri, 27 Feb 2004 09:48:43 +0100
Hi,
I'm not (yet) a specialist of cross-compile, but it seems that the link
is done using your system ld instead of the arm one. You may need to
install the binutils for your target platform. A look at configure
output may help understanding what's wrong.
Anyway I don't think it's a libxml++ problem.
Also, you should use libxml++ 1.0.2, not 0.27.
Cheers,
Christophe
Jim Hodapp a écrit :
I'm currently trying to cross compile libxml++-0.27.0 to work on my
iPaq PDA running the Familiar Linux distribution (for a project at
school). I've gone ahead and changed all of the CC, CCX, lines to point
to the specific versions of gcc and g++ for the arm architecture, but I
keep getting errors when the build process tries to link. Example
output:
make
Making all in parsers
make[1]: Entering directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/parsers'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/parsers'
Making all in exceptions
make[1]: Entering directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/exceptions'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/exceptions'
Making all in nodes
make[1]: Entering directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/nodes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/nodes'
Making all in io
make[1]: Entering directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/io'make[1]: Nothing to
be done for `all'.
make[1]: Leaving directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++/io'
make[1]: Entering directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++'
/bin/sh ../libtool --mode=link /usr/local/arm/3.3.2/arm-linux/bin/g++
-g -O2 -o libxml++-0.1.la -rpath /usr/local/lib -version-info 13:0:0
attribute.lo dtd.lo document.lo noncopyable.lo keepblanks.lo
-L/usr/lib -lxml2 -lz -lpthread -lm parsers/libparsers.la
exceptions/libexceptions.la nodes/libnodes.la io/libio.la
rm -fr .libs/libxml++-0.1.la .libs/libxml++-0.1.* .libs/libxml++-0.1.*
gcc -shared attribute.lo dtd.lo document.lo noncopyable.lo
keepblanks.lo -Wl,--whole-archive parsers/.libs/libparsers.al
exceptions/.libs/libexceptions.al nodes/.libs/libnodes.al
-Wl,--no-whole-archive -Wl,--rpath
-Wl,/home/jhodapp/Projects/libxml++-0.27.0/libxml++/io/.libs -Wl,--rpath
-Wl,/usr/local/lib -L/usr/lib /usr/lib/libxml2.so -lz -lpthread -lm
io/.libs/libio.so -Wl,-soname -Wl,libxml++-0.1.so.13 -o
.libs/libxml++-0.1.so.13.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: attribute.lo: Relocations in generic ELF (EM: 40)
attribute.lo: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [libxml++-0.1.la] Error 1
make[1]: Leaving directory
`/home/jhodapp/Projects/libxml++-0.27.0/libxml++'
make: *** [all-recursive] Error 1
I can't seem to get past this stage. Anyone have any thoughts on this?
This app is an absolute must for my project so any thoughts would be
greatly appreciated.
Thanks,
Jim Hodapp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]