473,785 Members | 2,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Undefined symbol using STLport lib on AIX-4.3.3

Hi all,

I've built the STLport-462 library on AIX-4.3.3 using gcc-3.3.2.
No errors during compilation. However, during linking the following
error occurs:
ld: 0711-317 ERROR: Undefined symbol: _STL::_Node_All oc_Lock<(bool)1 ,
(int)0>::_S_loc k

Besides this error, the following warnings are given:
ld: 0711-224 WARNING: Duplicate symbol: _STL::money_get <char,
_STL::istreambu f_iterator<char , _STL::char_trai ts<char> > >::id ld:
0711-224 WARNING: Duplicate symbol: _STL::money_put <char,
_STL::ostreambu f_iterator<char , _STL::char_trai ts<char> > >::id ld:
0711-224 WARNING: Duplicate symbol: _STL::money_get <wchar_t,
_STL::istreambu f_iterator<wcha r_t, _STL::char_trai ts<wchar_t> >
::id ld: 0711-224 WARNING: Duplicate symbol: _STL::money_put <wchar_t, _STL::ostreambu f_iterator<wcha r_t, _STL::char_trai ts<wchar_t> >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::num_put<c har, _STL::ostreambu f_iterator<char , _STL::char_trai ts<char> > >::id ld:
0711-224 WARNING: Duplicate symbol: _STL::num_put<w char_t,
_STL::ostreambu f_iterator<wcha r_t, _STL::char_trai ts<wchar_t> >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::num_get<w char_t, _STL::istreambu f_iterator<wcha r_t, _STL::char_trai ts<wchar_t> >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::num_get<c har, _STL::istreambu f_iterator<char , _STL::char_trai ts<char> > >::id ld:
0711-224 WARNING: Duplicate symbol: _STL::time_get< char,
_STL::istreambu f_iterator<char , _STL::char_trai ts<char> > >::id ld:
0711-224 WARNING: Duplicate symbol: _STL::time_put< char,
_STL::ostreambu f_iterator<char , _STL::char_trai ts<char> > >::id ld:
0711-224 WARNING: Duplicate symbol: _STL::time_get< wchar_t,
_STL::istreambu f_iterator<wcha r_t, _STL::char_trai ts<wchar_t> >::id ld: 0711-224 WARNING: Duplicate symbol: _STL::time_put< wchar_t, _STL::ostreambu f_iterator<wcha r_t, _STL::char_trai ts<wchar_t> >::id


Any idea how to solve this? I've installed APAR IY26685 (assembler
fix). FYI: I've built and used exactly the same library on AIX-5L
(also with gcc-3.3.2) without any problems.

Thanks in advance,
John
Jul 22 '05 #1
0 1690

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

Similar topics

1
11268
by: Stu | last post by:
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
0
1770
by: pervinder | last post by:
Hi, I have a c++ application which depends on some other libs which uses stlport When i build the application, it works fine on sun/linux/hp platform. (provided the .a for the dependency libs) But it errors out on AIX ( xlC va6) with below errors:- ld: 0711-317 ERROR: Undefined symbol: ._STL::ios_base::_Loc_init::_Loc_init() ld: 0711-317 ERROR: Undefined symbol: ._STL::ios_base::Init::Init() ld: 0711-317 ERROR: Undefined symbol:...
1
1955
by: pervinder | last post by:
Hi, When i link a C++ test app with stlport, it throws some errors on AIX like Linking ../../output/AIX_32/bin/test "/hm/test/stlport/stl/_fstream.h", line 30.11: 1540-0836 (S) The #include file <stl/_streambuf.h> is not found. "/hm/test/stlport/stl/_fstream.h", line 34.10: 1540-0836 (S) The #include file <stl/_istream.h> is not found. .....
2
5257
by: el prinCipante | last post by:
I am a total novice. And granted this probably is a very simple question, it still stops me from finishing my thesis. Thanks in advance for any postings. I am using a library routine and apparently I have all the necessarý files to compile properly. But my compiler comes up with the following message link samain,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1
4
5733
by: r.nikhilk | last post by:
Hi, We are porting C++ applications from 32 bit to 64 bit on AIX platform. (The current version of AIX is 5.3 and xlC verison is 8.0). We are able to compile the applications by including the -q64 option in xlC compiler. But, when we link all these libraries to one of the main applications, we are getting the following errors: ld: 0711-317 ERROR: Undefined symbol: .FxCharFile::good() const ld: 0711-317 ERROR: Undefined symbol:...
1
5550
by: yamitmehta | last post by:
When I compile to code using g++arm of VxWorks 5.5 and put it on my board i get the follwing undefined symbols:- Cpool and Csingleton are template classes. CPool has the static member variables:-ms_uCapacity ,ms_uAllocatedCount , ms_uLockCapacity ,ms_pmutex -ld < yamit/apps1.out Undefined symbol: _Q23m5tt5CPool1ZQ23m5t10CMarshaler$ms_uCapacity (binding 1 type 0) Undefined symbol: _Q23m5tt5CPool1ZQ23m5t10CMarshaler$ms_uAllocatedCount
1
4914
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined symbols. See the output from configure and make below. svnadm /svn/build/python-2.5.0>env CC=cc CXX=xlC ./configure --prefix=$base_dir \ checking MACHDEP... aix5
3
5344
by: sdeathstar | last post by:
I am working on IBM AIX machine and using XLC C++ complier version 8.0. 1) Able to compile the objects on AIX from C and C++ source code. 2) Able to create the libraries (combination of C & C++, Proc*C objects) 3) Finally trying to create a run time executable, it's not recognizing the libraries created at step 2. Basically linking user defined libraries is an issue /risk/riskdev/risk_src/cpp/CurveSimu/src > make mainCrvSimu ...
5
10487
by: kp | last post by:
Hi, I am compiling on an AIX 5.1 box and my test machine is AIX 5.3. I run the foll. steps for compiling my test binary "test" /usr/vacpp/bin/xlC test.c -c -o test.o -I/home/jag/progs/include -I/ usr/lpp/application/include /usr/vacpp/bin/xlC -o test -L/home/jag/progs/lib -L/usr/lib -L/usr/lpp/ application/lib -brtl -s test.o -lapplicationapi -liconv
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10327
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8973
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4053
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
2
3647
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.