[libxml++] Compiling @64bits on Solaris 10



Hi guys!
I'm attempting to compile libxml++ on this system:
 
SunOS aldebaran 5.10 Generic_125100-10 sun4u sparc SUNW,Ultra-Enterprise
 
with SunStudio 12. No problem compiling at 32 bits. I'm in troubles with 64 bits compilation. I started the configure tool with this switch:
 
 
./configure CXXFLAGS=-m64 LDFLAGS=-m64
 
 
but when I run make I always have the following error:
 
 
Making all in libxml++
Making all in parsers
Making all in exceptions
Making all in nodes
Making all in io
/bin/bash ../libtool --tag=CXX --mode=link CC   -m64  -m64 -o libxml++-1.0.la -rpath /usr/local/lib -version-info 1:4:0 attribute.lo dtd.lo document.lo noncopyable.lo  keepblanks.lo     parsers/libparsers.la  exceptions/libexceptions.la  nodes/libnodes.la  io/libio.la  -lxml2 -lpthread -lz -lm -lsocket -lnsl
CC -G -nolib -hlibxml++-1.0.so.1 -o .libs/libxml++-1.0.so.1.0.4   .libs/attribute.o .libs/dtd.o .libs/document.o .libs/noncopyable.o .libs/keepblanks.o -Qoption ld -z -Qoption ld allextract,parsers/.libs/libparsers.a,exceptions/.libs/libexceptions.a,nodes/.libs/libnodes.a,io/.libs/libio.a -Qoption ld -z -Qoption ld defaultextract  -lxml2 -lpthread -lz -lm -lsocket -lnsl
ld: warning: file parsers/.libs/libparsers.a(parser.o): wrong ELF class: ELFCLASS64
ld: warning: file exceptions/.libs/libexceptions.a(exception.o): wrong ELF class: ELFCLASS64
ld: warning: file nodes/.libs/libnodes.a(cdatanode.o): wrong ELF class: ELFCLASS64
ld: warning: file io/.libs/libio.a(outputbuffer.o): wrong ELF class: ELFCLASS64
ld: fatal: file .libs/attribute.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/libxml++-1.0.so.1.0.4
*** Error code 1
make: Fatal error: Command failed for target `libxml++-1.0.la'
Current working directory /export/home/jack/libxml++-1.0.5/libxml++
...
 
 
Can you please help me compiling @ 64 bit this library?
 
Thanks in advance!!!
 
Bye
Alessandro


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