- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: link error when using aCC -AA
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 01:12 PM
09-24-2003 01:12 PM
link error when using aCC -AA
ostream::complicated_put(char) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
cout (first referenced in vbtest.o) (data)
istrstream::istrstream(const char *,int)%1 (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
istream::operator >>(unsigned int &) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
endl(ostream &) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
ostream::operator <<(const char *) (first referenced in vbtest.o) (code)
ostream::operator <<(unsigned int) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
ostream::operator <<(int) (first referenced in vbtest.o) (code)
istrstream::~istrstream() (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
ws(istream &) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
istream::get_complicated(char &) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
hex(ios &) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
Iostream_init::~Iostream_init() (first referenced in vbtest.o) (code)
Iostream_init::Iostream_init()%1 (first referenced in vbtest.o) (code)
dec(ios &) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
setw(int) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
cerr (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (data)
flush(ostream &) (first referenced in vbtest.o) (code)
istream::operator >>(ios &(*)(ios &)) (first referenced in ../../../../lib/libdmcommon.a(dmvbpar.o)) (code)
Any clues? Which library should I include to get this resolved? I thought aCC -AA would pick up the appropriate libraries to link with. Is that not true? Thanks in advance..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 03:08 PM
09-24-2003 03:08 PM
Re: link error when using aCC -AA
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 12:19 AM
09-25-2003 12:19 AM
Re: link error when using aCC -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 02:18 AM
09-25-2003 02:18 AM
Re: link error when using aCC -AA
the aCC man page specifically says that code built without -AA will not be binary-compatible with the -AA code or libraries.
if the code in libdmcommon.a was not compiled with -AA but has references to be resolved in libstd or libCsup, i guess you will definitely run into this.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 04:11 AM
09-25-2003 04:11 AM
Re: link error when using aCC -AA
The library libdmcommon.a is built with -AA option. It's a static library. When I try to build a binary that links with libdmcommon.a I get the unresolved externals to the stream references.
Let me rephrase the question: If I compile and link with -AA option, which library should I link with if I use streams?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 05:39 AM
09-25-2003 05:39 AM
Re: link error when using aCC -AA
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 09:01 AM
09-25-2003 09:01 AM
Re: link error when using aCC -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2003 03:16 PM
09-25-2003 03:16 PM
Re: link error when using aCC -AA
--
ranga