- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Linker Errors (Unsat symbols )
Operating System - HP-UX
1752815
Members
6023
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-22-2001 11:08 AM
тАО01-22-2001 11:08 AM
Linker Errors (Unsat symbols )
Hi,
I am getting the following error while linking. Does any one know under what circumstances this error could occur ?
I am using aCC 1.23 on Hpux 10.20
Is it a known problem ? could a compiler patch solve this ?
Link result:
/usr/ccs/bin/ld: Unsatisfied symbols:
Class tables [Vftptr] dependent on key function:
"QLExContext::~QLExContext()" (data)
QLInOutFile::QLInOutFile(const char *,QLFileMode,QLExContext *)%1 (code)
typeid (data)
*** Error exit code 1
I am getting the following error while linking. Does any one know under what circumstances this error could occur ?
I am using aCC 1.23 on Hpux 10.20
Is it a known problem ? could a compiler patch solve this ?
Link result:
/usr/ccs/bin/ld: Unsatisfied symbols:
Class tables [Vftptr] dependent on key function:
"QLExContext::~QLExContext()" (data)
QLInOutFile::QLInOutFile(const char *,QLFileMode,QLExContext *)%1 (code)
typeid
*** Error exit code 1
- Tags:
- unsat
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2001 11:22 PM
тАО01-22-2001 11:22 PM
Re: Linker Errors (Unsat symbols )
Hi,
Try the following command on all your libraries shared and archive to find on which library this symbol is defined : /opt/aCC/bin/nm++ -rop | grep "QLExContext::~QLExContext()" and add the found library to your link command.
Regards,
Samuel
Try the following command on all your libraries shared and archive to find on which library this symbol is defined : /opt/aCC/bin/nm++ -rop
Regards,
Samuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2001 06:20 AM
тАО01-23-2001 06:20 AM
Re: Linker Errors (Unsat symbols )
Here's what you might check out if what Samuel has suggested doesn't help:
You could first check if the version of your /usr/lib/libCsup.[sl|a] has fallen out of step with (a potential upgrade of) your compiler:
ksh$ what `whence aCC`
ksh$ what /usr/lib/libCsup.sl
If I am not mistaken, "small" differences in the versions of the compiler vis-a-vis the Language Support Library are okay, but they shouldn't be too far apart.
Failing that, I'd check if your class defines a virtual destructor inside the class definition; if yes, try moving it outside the class body using the "::" operator
Good luck.
You could first check if the version of your /usr/lib/libCsup.[sl|a] has fallen out of step with (a potential upgrade of) your compiler:
ksh$ what `whence aCC`
ksh$ what /usr/lib/libCsup.sl
If I am not mistaken, "small" differences in the versions of the compiler vis-a-vis the Language Support Library are okay, but they shouldn't be too far apart.
Failing that, I'd check if your class defines a virtual destructor inside the class definition; if yes, try moving it outside the class body using the "::" operator
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2001 10:19 AM
тАО01-23-2001 10:19 AM
Re: Linker Errors (Unsat symbols )
Samuel,
I tried the nm++ command with all the archives in the lib directory of the third party libs which I am linking to.
The output showed multiple records like this one (with lib name diffreent for some records) What does "U" mean ?
libetkrvcst.a:000000000000 U QLExContext::~QLExContext()
libetkrvcst.a:000000000000 U Class tables [Vftptr] dependent on key function: "
QLExContext::~QLExContext()"
I tried the nm++ command with all the archives in the lib directory of the third party libs which I am linking to.
The output showed multiple records like this one (with lib name diffreent for some records) What does "U" mean ?
libetkrvcst.a:000000000000 U QLExContext::~QLExContext()
libetkrvcst.a:000000000000 U Class tables [Vftptr] dependent on key function: "
QLExContext::~QLExContext()"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP