xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Smith" <mrs...@gmail.com>
Subject Unresolved symbol on HP-UX 11.11
Date Tue, 08 Jul 2008 14:59:41 GMT
Hi,

I have compiled xercesc on HP-UX (B.11.11 PA_RISC2.0) using gcc (4.2.3). I
can compile and link my application without errors but when i execute the
application i get the following error:

/usr/lib/dld.sl: Unresolved symbol:
_ZNK11xercesc_2_813XMLBigDecimal10getRawDataEv (data)  from
/home/afbuild/tmpch/xerces-c-src_2_8_0/lib/libxerces-c.sl.28
Abort (core dumped)

I get the same error when trying to run the xercesc samples (more output
below).

Any ideas?

Thanks,

Claudio


Building xercesc:
% ./runConfigure -php-11
[...]

export TRANSCODER="NATIVE"
export MESSAGELOADER="INMEM"
export NETACCESSOR="Socket"
export THREADS="pthread"
export LIBTYPE="shared"
export BITSTOBUILD="32"
export CC=""
export CXX=""
export CXXFLAGS=" -w -O -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL
-DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
export CFLAGS=" -w -O -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL
-DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
export LDFLAGS=" "
export LIBS=" -lpthread -lnsl"
configure

If the result of the above commands look OK to you, go to the directory
/home/afbuild/tmpch/xerces-c-src_2_8_0/src/xercesc and type "make" (or
"gmake")
to make the XERCES-C system.

% gmake
[...]
% cd ../../samples/
% ./runConfigure -php-11
[...]
% gmake
[...]
% cd ../bin/
% ./DOMCount
/usr/lib/dld.sl: Unresolved symbol:
_ZNK11xercesc_2_813XMLBigDecimal10getRawDataEv (data)  from
/home/afbuild/tmpch/xerces-c-src_2_8_0/lib/libxerces-c.sl.28
Abort (core dumped)
%

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message