![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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> >& std erator<< <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! |
|
||||
|
check if g++ works
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| linux download |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|