Hi,

I downloaded for HP-UX Xalan-C_1_9_0-hpux_11i-acc_a03.tar.gz and tried
to link my app with it on a machine having HP-UX B.11.11 U, but I
always get the following error :

"Mismatched ABI (not an ELF file) for -lxalan" 

and the same error for xerces.

I first created a link to libxalan-c.sl.19.0, named libxalan.sl and a
corresponding one to libxerces-c.sl.26.0

I'm using aCC: HP ANSI C++ B3910B A.03.37.

Here're the command lines, if of any help :

/opt/aCC/bin/aCC -c -w -ext +DA2.0W -AA -mt -g0 +d +Z +p -DHPUX -D_DEBUG  -I ./i
nclude/ -I /opt/aCC/include_std/ -I ../xerces/include/ -I
../xalan/include/  src/main.cpp -o obj/main.o

/opt/aCC/bin/aCC -L /usr/lib -L /opt/aCC/lib -L ../bin/ +DA2.0W -AA
-g0 -Wl,+s,+n,-a,shared -o ../bin/app -lrt -lpthread -lstd_v2
-lCsup_v2 -lxalan -lxerces ./obj/main.o

=> ld: Mismatched ABI (not an ELF file) for -lxalan

Any suggestions ?

Tx,
Ken

Reply via email to