- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Function from dynamic shared library not regis...
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
тАО04-15-2010 12:23 AM
тАО04-15-2010 12:23 AM
Function from dynamic shared library not registered
I'm working on HPUX Itanium 11.23 64 bits. Code is C++.
My code is compiling well and my shared library is successfully generated and loaded into my executable. In this library I have a dummy function that is registered during compilation (i.e simply added into a map of functions) When executing my executable that will call this function using shared library, it says: "function identifier not find" (i.e function not in my map of functions)
This behavior only happens on Itanium, it is working fine on PARISC and Tru64 (even on Sun)
My compiler is aCC:
aCC: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]
Linker Compilation options are:
/opt/aCC/bin/aCC -b +DD64 -AA -Wl,+k -L. -Wl,+b/usr/opt/tns/lib my_function.o -o my_lib.so
Could you please help me find why it is working well on all OS except itanium? Do I miss something in compilation?
Thank you.
Best regards
eBilger
- Tags:
- shlib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 01:43 AM
тАО04-15-2010 01:43 AM
Re: Function from dynamic shared library not registered
You'll need to print out all of the function in your map to make sure you have the right number.
Are you using dlopen(3)?
>A.06.00 [Aug 25 2004]
This is not supported. The current version is A.06.25.
>Could you please help me find why it is working well on all OS except Integrity?
You are going to have to provide more details, actual code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 04:45 AM
тАО04-15-2010 04:45 AM
Re: Function from dynamic shared library not registered
First of all thank you for your answer.
I've updated aC++ compiler to A.06.02 and I'm recompiling my code. How could I upgrade aC++ to a newer version?
If the issue still occurs with the patched compiler, I'll send you the corresponding code. I'll keep you informed.
Thank you.
Regards,
eBilger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 03:06 PM
тАО04-15-2010 03:06 PM
Re: Function from dynamic shared library not registered
That's still obsolete.
>How could I upgrade aC++ to a newer version?
If you have a support contract, you can download it from the SUM program, see link to left: Software Update Manager
Otherwise you must purchase it.
>If the issue still occurs with the patched compiler
It probably still will.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 05:01 AM
тАО04-20-2010 05:01 AM
Re: Function from dynamic shared library not registered
Sorry for this delay but I was busy. I've updated aC++ compiler on our itanium (from A.06.00 to A.06.15) and it is now working well :)
Thank you for your help.
Best regards,
eBilger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 05:02 AM
тАО04-20-2010 05:02 AM
Re: Function from dynamic shared library not registered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 02:52 PM
тАО04-20-2010 02:52 PM
Re: Function from dynamic shared library not registered
If you are happy with the answers you got, please read the following about reopening threads and assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#41
http://forums.itrc.hp.com/service/forums/helptips.do?#33