[xerces_c 0005223]: Undefined xerces symbols encountered when trying to compile test program

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Mon Dec 8 23:21:32 CET 2014


The following issue has been SUBMITTED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5223 
====================================================================== 
Reported By:                soladmin
Assigned To:                
====================================================================== 
Project:                    xerces_c
Issue ID:                   5223
Category:                   packaging
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-12-08 23:21 CET
Last Modified:              2014-12-08 23:21 CET
====================================================================== 
Summary:                    Undefined xerces symbols encountered when trying to
compile test program
Description: 
I was trying to build a project against xerces_c today.  However, the
configure test for xerces was failing (see below).  I was on kiel, so I
have updated to the current stable release and tried the build again. 
However, the current stable release also has the same linker problems:

g++ -o conftest -Wall  -O2 -DNDEBUG -D_REENTRANT -pthreads  -L/opt/csw/lib
-R/opt/csw/lib conftest.cpp -lxerces-c -lsocket -lm

Undefined                       first referenced
 symbol                             in file
_ZN11xercesc_3_116XMLPlatformUtils10InitializeEPKcS2_PNS_12PanicHandlerEPNS_13MemoryManagerE
/var/tmp//ccCvYlj8.o
_ZN11xercesc_3_16XMLUni22fgXercescDefaultLocaleE /var/tmp//ccCvYlj8.o
ld: fatal: symbol referencing errors. No output written to conftest


configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "XML-Security-C"
| #define PACKAGE_TARNAME "xml-security-c"
| #define PACKAGE_VERSION "1.7.2"
| #define PACKAGE_STRING "XML-Security-C 1.7.2"
| #define PACKAGE_BUGREPORT "dev at santuario.apache.org"
| #define PACKAGE_URL ""
| #define PACKAGE "xml-security-c"
| #define VERSION "1.7.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define HAVE_PTHREAD 1
| #define HAVE_LIBM 1
| #define HAVE_LIBSOCKET 1
| #define HAVE_UNISTD_H 1
| #define XSEC_HAVE_STRCASECMP 1
| /* end confdefs.h.  */
| #include <xercesc/util/PlatformUtils.hpp>
| int
| main ()
| {
| xercesc::XMLPlatformUtils::Initialize()
|   ;
|   return 0;
| }

======================================================================



More information about the bug-notifications mailing list