473,581 Members | 2,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Undefined Symbols when building xerces on AIX 5.1 32 bit machine

Stu
I am trying to build the xerces shared library with 2.3.0 version of
their source code on an AIX 5.1 32 bit machine with the following
version of the g++ compiler

/usr/local/bin/g++ -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --disable-nls
Thread model: aix
gcc version 3.3.1
First I run "runConfigu re -paix -cgcc" and than do a gmake. It appears
that all the source code gets compiled with g++ and is generated into
..o's.

At link time xerces is calling makeC++SharedLi b_r (see below) and I
get the following undefined symbols: Can you tell me exactly what you
did to compile your version of xerces source code on AIX. Your help
would be very much appreciated.

makeC++SharedLi b_r -p 5000 -brtl -o
/rdbms/xerces/lib/libxerces-c23.0.so
(all *.o's) -bmap:/rdbms/xerces/obj/libxerces-c23.0.map -l
pthreads -L/usr/lpp/xlC/lib

ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v120__si_class_ type_infoE
ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virt ual
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v117__class_typ e_infoE
ld: 0711-317 ERROR: Undefined symbol: __gxx_personali ty_v0
ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
ld: 0711-317 ERROR: Undefined symbol: .__cxa_allocate _exception
ld: 0711-317 ERROR: Undefined symbol: .__cxa_throw
ld: 0711-317 ERROR: Undefined symbol: ._Znam
ld: 0711-317 ERROR: Undefined symbol: ._ZdaPv
ld: 0711-317 ERROR: Undefined symbol: ._Znwm
ld: 0711-317 ERROR: Undefined symbol: .__cxa_begin_ca tch
ld: 0711-317 ERROR: Undefined symbol: .__cxa_rethrow
ld: 0711-317 ERROR: Undefined symbol: .__cxa_end_catc h
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v116__enum_type _infoE
ld: 0711-317 ERROR: Undefined symbol: _ZTIi
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v121__vmi_class _type_infoE
ld: 0711-317 ERROR: Undefined symbol: .__fixunssfsi
ld: 0711-317 ERROR: Undefined symbol: _ZSt4cout
ld: 0711-317 ERROR: Undefined symbol: ._ZNSo5flushEv
ld: 0711-317 ERROR: Undefined symbol: ._ZNSo5writeEPK cl
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base 4InitD1Ev
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base 4InitC1Ev
gmake[1]: *** [/rdbms/xerces/lib/libxerces-c23.0.so] Error 8
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/rdbms/xerces/obj'
gmake: *** [/rdbms/xerces/lib/libxerces-c23.0.so] Error 2
Jul 20 '05 #1
1 11239
Stu
be********@hotm ail.com (Stu) wrote in message news:<a4******* *************** ****@posting.go ogle.com>...
I am trying to build the xerces shared library with 2.3.0 version of
their source code on an AIX 5.1 32 bit machine with the following
version of the g++ compiler

/usr/local/bin/g++ -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --disable-nls
Thread model: aix
gcc version 3.3.1
First I run "runConfigu re -paix -cgcc" and than do a gmake. It appears
that all the source code gets compiled with g++ and is generated into
.o's.

At link time xerces is calling makeC++SharedLi b_r (see below) and I
get the following undefined symbols: Can you tell me exactly what you
did to compile your version of xerces source code on AIX. Your help
would be very much appreciated.

makeC++SharedLi b_r -p 5000 -brtl -o
/rdbms/xerces/lib/libxerces-c23.0.so
(all *.o's) -bmap:/rdbms/xerces/obj/libxerces-c23.0.map -l
pthreads -L/usr/lpp/xlC/lib

ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v120__si_class_ type_infoE
ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virt ual
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v117__class_typ e_infoE
ld: 0711-317 ERROR: Undefined symbol: __gxx_personali ty_v0
ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
ld: 0711-317 ERROR: Undefined symbol: .__cxa_allocate _exception
ld: 0711-317 ERROR: Undefined symbol: .__cxa_throw
ld: 0711-317 ERROR: Undefined symbol: ._Znam
ld: 0711-317 ERROR: Undefined symbol: ._ZdaPv
ld: 0711-317 ERROR: Undefined symbol: ._Znwm
ld: 0711-317 ERROR: Undefined symbol: .__cxa_begin_ca tch
ld: 0711-317 ERROR: Undefined symbol: .__cxa_rethrow
ld: 0711-317 ERROR: Undefined symbol: .__cxa_end_catc h
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v116__enum_type _infoE
ld: 0711-317 ERROR: Undefined symbol: _ZTIi
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabi v121__vmi_class _type_infoE
ld: 0711-317 ERROR: Undefined symbol: .__fixunssfsi
ld: 0711-317 ERROR: Undefined symbol: _ZSt4cout
ld: 0711-317 ERROR: Undefined symbol: ._ZNSo5flushEv
ld: 0711-317 ERROR: Undefined symbol: ._ZNSo5writeEPK cl
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base 4InitD1Ev
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base 4InitC1Ev
gmake[1]: *** [/rdbms/xerces/lib/libxerces-c23.0.so] Error 8
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/rdbms/xerces/obj'
gmake: *** [/rdbms/xerces/lib/libxerces-c23.0.so] Error 2


Just wanted to update this post since I appeared to found the answer.
I replaced makeC++SharedLi b_r -p 5000 -brtl with g++ -o
/rdbms/xerces/lib/libxerces-c23.0.so -Wl,-bloadmap:map.tx t -shared \

and the undefines disappered.
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
11185
by: r | last post by:
I compile this on a Max OSX with GCC version 1151, based on gcc version 3.1 20020420 g++ foo.cpp ld: Undefined symbols: <-- ERROR vtable for Foo Any idea why? -r **************** contents of foo.cpp **********
0
244
by: Keri | last post by:
Locally my project builds with no problem but when on another machine I get this error when trying to build: Unable to open Web project 'TEST'. The Web 'TEST' located on server 'http://localhost' does not exist.---------------------- Done --------------------- Build: 0 succeeded, 0 failed, 0 skippe Any idea where i can change...
2
1591
by: Joe Lester | last post by:
I'm just moved my Postgres client project from Mac 10.2.8 to 10.3.5. It's an Objective-C program that links to libpq.a (the header file is libpq-fe.h). However, when I try to compile now I get the following linking error: ld: Undefined symbols: _poll Does this sound familiar to anyone? My guess is that _poll is referenced somewhere in...
0
1536
by: Alexander Cohen | last post by:
IM trying to build the ppostgres ODBC driver for MacOSX. I thought id try and build it as a bundle from XCode. All compiles no problem but then at the end of the compile i get an undefined symbols error, here it is: ld: Undefined symbols: _CurrentMemoryContext _MemoryContextAlloc _pfree
2
1758
by: tony | last post by:
Hello!! I use VS 2003 and C# for all class library except MeltPracCommon.dll which is C++.NET The problem is that I get these warnings when building the exe file and use my class libraries. See below for a detail description. Preparing resources...
3
1742
by: tony | last post by:
Hello!! I use VS 2003 and C# for all class library except MeltPracCommon.dll which is C++.NET The problem is that I get these warnings when building the exe file and use my class libraries. See below for a detail description. Preparing resources...
6
2289
by: Vijay Bajwa | last post by:
Once again, the FORTE 7.0 compiler on Sun screwed me. The error msgs are incomprehensible. There is the familiar STL linkage problem, libraries compile fine tho. it's only when I compile the main it gives the undefined symbol. Appreciate any pointers!! +++ making oaph /xenv/Forte/sun4/7.0/5.8p4/prod/bin/CC -D_REENTRANT -g -Dsvr4 -DSVR4 -...
13
6480
by: 7stud | last post by:
test1.py: -------------------- import shelve s = shelve.open("/Users/me/2testing/dir1/aaa.txt") s = "red" s.close() --------output:------ $ python test1.py
0
1744
by: smartie | last post by:
Hello everybody, i'm writing some simple C code (in Mac OS X 10.4) that uses an openssl library. The library is included with: #include <openssl/bn.h> and I have installed it correctly because when in my program I declare: BIGNUM *a;
0
7804
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7910
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6563
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3832
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.