473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 "runConfigure -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++SharedLib_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++SharedLib_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__cxxabiv120__si_class_type_infoE
ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabiv117__class_type_infoE
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_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_catch
ld: 0711-317 ERROR: Undefined symbol: .__cxa_rethrow
ld: 0711-317 ERROR: Undefined symbol: .__cxa_end_catch
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabiv116__enum_type_infoE
ld: 0711-317 ERROR: Undefined symbol: _ZTIi
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabiv121__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: ._ZNSo5writeEPKcl
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitD1Ev
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitC1Ev
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 11202
Stu
be********@hotmail.com (Stu) wrote in message news:<a4**************************@posting.google. 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 "runConfigure -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++SharedLib_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++SharedLib_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__cxxabiv120__si_class_type_infoE
ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabiv117__class_type_infoE
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_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_catch
ld: 0711-317 ERROR: Undefined symbol: .__cxa_rethrow
ld: 0711-317 ERROR: Undefined symbol: .__cxa_end_catch
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabiv116__enum_type_infoE
ld: 0711-317 ERROR: Undefined symbol: _ZTIi
ld: 0711-317 ERROR: Undefined symbol:
_ZTVN10__cxxabiv121__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: ._ZNSo5writeEPKcl
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitD1Ev
ld: 0711-317 ERROR: Undefined symbol: ._ZNSt8ios_base4InitC1Ev
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++SharedLib_r -p 5000 -brtl with g++ -o
/rdbms/xerces/lib/libxerces-c23.0.so -Wl,-bloadmap:map.txt -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
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 **************** ...
0
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'...
2
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...
0
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...
2
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....
3
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....
6
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...
13
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.