Hi. I'm trying to
compile and use xerces-c 2.3 on a IA64 running RedHat Advanced Server 7.2. The
compiler is gcc 3.0. I downloaded and
compiled xerces-c sources following this procedure: export
$XERCESCROOT=<dir sources> cd $XERCESCROOT
/src/xercesc autoconf ./runConfigure
-plinux -P/mylibspath gmake gmake install ldconfig export
LD_LIBRARY_PATH=/mylibspath$LD_LIBRARY_PATH Then I try to
compile and link this test program as part of a configure script #include
<xercesc/util/PlatformUtils.hpp> int main () {
xercesc::XMLPlatformUtils::Initialize() ; return 0; } and get a linker
error like this /tmp/cctnnpbb.o:
In function `main': /tmp/cctnnpbb.o(.text+0x2):
undefined reference to `xercesc_2_3::XMLUni::fgXercescDefaultLocale' /tmp/cctnnpbb.o(.text+0x22):
undefined reference to `xercesc_2_3::XMLPlatformUtils::Initialize(char const*,
char const*, xercesc_2_3::PanicHandler*, xercesc_2_3::MemoryManager*)' There's only one
libxerces-c in my system and if I run nm --demangle
libxerces-c.so.23.0 The function
shows up 00000000002b45f0
T xercesc_2_3::XMLPlatformUtils::Initialize(char const *, char const *,
xercesc_2_3::PanicHandler *, xercesc_2_3::MemoryManager *) I would
appreciate any advice or help. Thanks in
advance, Gabriel Dos e-mail: SCYTL Online
World Security |
- RE: Problems compiling client test code Gabriel Dos Santos
- RE: Problems compiling client test code Gabriel Dos Santos