The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
what is wrong with this tr -d? cleansing_flame UNIX for Dummies Questions & Answers 3 02-06-2008 12:34 PM
What’s wrong with the following? vrn UNIX for Dummies Questions & Answers 8 03-19-2006 09:09 PM
where have i gone wrong? Blip Shell Programming and Scripting 3 01-28-2004 04:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-01-2008
zither zither is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 2
sth wrong of gcc

The problem after install gcc on AIX 5.3

I download 5 rpm packages from IBM AIX Toolbox Download Page - Alphabetical Listing and install them.
rpm -ivh gcc-4.0.0-1.aix5.3.ppc.rpm
rpm -ivh libgcc-4.0.0-1.aix5.3.ppc.rpm
rpm -ivh libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm
rpm -ivh libstdcplusplus-devel-4.0.0-1.aix5.3.ppc.rpm
rpm -ivh gcc-cplusplus-4.0.0-1.aix5.3.ppc.rpm

But when I compile a cpp file like this :
#include <iostream>
using namespace std;

int main(int argc, char **argv)
{
cout<<"Hello\n";
return 0;
}

it returns like :
ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream<char, std::char_traits<char> >& stderator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status

What I can do to solve this problem? Thanks a lot!
  #2 (permalink)  
Old 01-01-2008
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by zither View Post
What I can do to solve this problem? Thanks a lot!
Firstly confirm you can compile, link and run a simple C program.
  #3 (permalink)  
Old 01-02-2008
uvrakesh uvrakesh is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 75
check if g++ works
Sponsored Links
Closed Thread

Bookmarks

Tags
linux download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0