- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- New link error when converting to -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
Discussions
Discussions
Forums
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
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
тАО06-22-2007 12:55 PM
тАО06-22-2007 12:55 PM
New link error when converting to -AA
aC++ A.03.30
Have an application - worked out the compile bugs with the nice folks here.
Now the link in with some existing c code.
I added libstream.a and libstd_v2.a and I Still get:
set_new_handler__3stdFPFv_v (first referenced in /vobs/build/devlib/libdcm.a(dcmif_api.o)) (code)
[Vtable]key:__dt__Q2_3std9exceptionFv (first referenced in /usr/lib/libstd_v2.a(char.o)) (data)
typeid__XTQ2_3std9exception_ (first referenced in /vobs/build/devlib/libdcm.a(dcmif_api.o)) (data)
__dt__Q2_3std9exceptionFv (first referenced in /vobs/build/devlib/libdcm.a(dcmif_api.o)) (code)
__nw__FUi (first referenced in /vobs/HP-UX_stage/lib/libi4nsi.a(nsiint.o)) (code)
dcmif_api.cpp is NOT the first cpp in the archive but it doesn't look "dangerous" either.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 01:36 PM
тАО06-22-2007 01:36 PM
Re: New link error when converting to -AA
>I added libstream.a and libstd_v2.a
You can NOT mix -AP and -AA libs. Remove libstream.
Also, why are you using archive libs? Stick with shared libs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 09:42 AM
тАО06-25-2007 09:42 AM
Re: New link error when converting to -AA
Hey Dennis,
Thanks again.
"If you compile with -AA you must link with -AA."
ld doesn't look like it has an -AA option.
/usr/ccs/bin/ld: Can't open A
/usr/ccs/bin/ld: No such file or directory
Do I need to explitily add any libs on this transition? Like libstd_v2 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2007 12:59 PM
тАО06-29-2007 12:59 PM
Re: New link error when converting to -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2007 02:36 PM
тАО06-29-2007 02:36 PM
Re: New link error when converting to -AA
It is not legal to directly use ld to link C++ applications or shlibs.
So the statement you must link with -AA means you must use "aCC -AA" at link time.
You haven't assigned any points to the responses in this thread. Is there some answers you still need?
Please read this.
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
You can reopen the thread:
http://forums1.itrc.hp.com/service/forums/helptips.do?#41