[libxml++] Trying to cross compile libxml++



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
-- 
Full-time student of Electrical Engineering
Purdue School of Engineering @ Indiana University Purdue University Indianapolis





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