04-15-2010 12:23 AM
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?
04-15-2010 01:43 AM
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.
04-15-2010 04:45 AM
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.
04-15-2010 03:06 PM
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.
04-20-2010 05:01 AM
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.
04-20-2010 02:52 PM
If you are happy with the answers you got, please read the following about reopening threads and assigning points: