473,508 Members | 2,303 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to use STL on AIX using visualage.

I write a very simple cpp file, but visualage faild to produce the
output:
#include <iostream>
using namespace std;

int main(){
cout<<"hello world"<<endl;
return 0;
}
cc a.cpp:

ld: 0711-317 ERROR: Undefined symbol: Virtual table for class
"__DynaCastDesc_si
_public": first non-inline virtual function in
"__DynaCastDesc_si_public" is not
defined.
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class
"eti_cplusplus": f
irst non-inline virtual function in "eti_cplusplus" is not defined.
ld: 0711-317 ERROR: Undefined symbol: operator delete(void*)
ld: 0711-317 ERROR: Undefined symbol: std::cout
ld: 0711-317 ERROR: Undefined symbol: std::ios_base::goodbit
ld: 0711-317 ERROR: Undefined symbol: std::ios_base::badbit
ld: 0711-317 ERROR: Undefined symbol: std::ios_base::adjustfield
ld: 0711-317 ERROR: Undefined symbol: std::ios_base::left
ld: 0711-317 ERROR: Undefined
symbol: .std::__setUncaughtExceptionFlag(bool)
ld: 0711-317 ERROR: Undefined symbol: .__CleanupCatch
ld: 0711-317 ERROR: Undefined symbol: .std::_Lockit::_Lockit(int)
ld: 0711-317 ERROR: Undefined symbol: .std::uncaught_exception()
ld: 0711-317 ERROR: Undefined symbol: .std::_Lockit::~_Lockit()
ld: 0711-317 ERROR: Undefined symbol: .operator delete(void*)
ld: 0711-317 ERROR: Undefined symbol: .std::ios_base::clear(int,bool)
ld: 0711-317 ERROR: Undefined symbol: std::ctype<char>::id
ld: 0711-317 ERROR: Undefined symbol: .std::locale::_Getfacet(unsigned
long) con
st
ld: 0711-317 ERROR: Undefined symbol: .__Throw
ld: 0711-317 ERROR: Undefined symbol: .std::unexpected()
ld: 0711-317 ERROR: Undefined symbol: .std::terminate()
ld: 0711-317 ERROR: Undefined symbol: .__ReThrow
ld: 0711-317 ERROR: Undefined symbol: std::ios_base::failbit
ld: 0711-317 ERROR: Undefined symbol: std::ios_base::unitbuf
ld: 0711-317 ERROR: Undefined symbol: std::locale::id::_Id_cnt
ld: 0711-317 ERROR: Undefined symbol: .operator new(unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .std::_Locinfo::_Locinfo(const
char*)
ld: 0711-317 ERROR: Undefined symbol: .std::_Locinfo::~_Locinfo()
ld: 0711-317 ERROR: Undefined symbol: std::ctype<char>::_Cltab
ld: 0711-317 ERROR: Undefined symbol: ._Getctype
ld: 0711-317 ERROR: Undefined symbol: ._Tolower
ld: 0711-317 ERROR: Undefined symbol: ._Toupper
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

Jun 20 '07 #1
1 2531
Amber wrote:
I write a very simple cpp file, but visualage faild to produce the
output:
You'd better try a platform specific group.

--
Ian Collins.
Jun 20 '07 #2

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

Similar topics

2
5877
by: rawCoder | last post by:
Hi All, I have a *.cer file, a public key of some one and I want to encrypt some thing using this public key. Can someone point me to a sample code for Encrypting some file using...
1
567
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I...
10
2632
by: Christopher Benson-Manica | last post by:
Why can't I use a class destructor in a using declaration: using MyClass::~MyClass; ? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org ...
17
3481
by: beliavsky | last post by:
Many of my C++ programs have the line using namespace std; but the "Accelerated C++" book of Koenig and Moo has many examples where the library names are included one at a time, for example ...
8
4894
by: Petter Reinholdtsen | last post by:
I ran into a problem on HP-UX 11.00 the other day, where it refused to compile a program using 'using namespace std;' at the top. The reason seem to be that the compiler refuses to accept 'using...
5
3498
by: PaulR | last post by:
Hi, the following gcc compile/link (in bldrtn) works fine on our Linux Servers # Set the runtime path since routines run as setuid. EXTRA_LFLAG="-Wl,-rpath,$DB2PATH/lib" # If an embedded...
5
1490
by: cmwong2 | last post by:
Hi, I'm trying to use Boost and find that my program doesn't compile in AIX with VisualAge C++ 6. I tried to simulate the problem by writing a simple program (see below) and find that it also...
1
3166
by: jmalone | last post by:
I have a python script that I need to freeze on AIX 5.1 (customer has AIX and does not want to install Python). The python script is pretty simple (the only things it imports are sys and socket)....
3
8210
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
1
7039
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
7494
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...
1
5050
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...
0
4706
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...
0
3192
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...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
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 ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.