how to use STL on AIX using visualage.

Discussion in 'C++' started by Amber, Jun 20, 2007.

  1. Amber

    Amber Guest

    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.
     
    Amber, Jun 20, 2007
    #1
    1. Advertising

  2. Amber

    Ian Collins Guest

    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.
     
    Ian Collins, Jun 20, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Yates
    Replies:
    0
    Views:
    351
    Ben Yates
    Feb 10, 2004
  2. Mirlok

    VisualAge IDE scroll problem

    Mirlok, Sep 13, 2004, in forum: Java
    Replies:
    2
    Views:
    385
    Mirlok
    Sep 14, 2004
  3. John A. Parker
    Replies:
    0
    Views:
    379
    John A. Parker
    Oct 8, 2003
  4. Replies:
    5
    Views:
    404
  5. ClownPleco

    putenv for AIX and ifdef for AIX

    ClownPleco, Aug 22, 2007, in forum: C Programming
    Replies:
    5
    Views:
    1,177
    Thomas Dickey
    Aug 24, 2007
Loading...

Share This Page