09-19-2007 08:51 AM
I'm pretty new to Itanium, so there's a good chance that the problem is with me.
The module compiles with -Ae, with some warnings about using negative numbers in an unsigned int variable (hey - not my code...), but then refuses to load with undefined externals. I originally got errors on three routines:
I was able to fix the "__cxa_personality_routine" error by adding '-lCsup' into the libraries variable in the makefile. The other two, I can not seem to fix. I have tried all of the following:
-lstd -lstream -lCsup -lm -lcl -ldld -lnsl -lnsl_s -lntl
(just sort of grasping at straws from other successful compiles and suggestions in other forum entries).
Does anyone know where to locate these two routines, or am I missing something more elementary than providing a path to a missing library?
Solved! Go to Solution.
09-19-2007 08:40 PM
If you need to search you can do:
$ nm -pxAN /usr/lib/hpux32/* path... | grep u_toupper_3_
>I was able to fix the __cxa_personality_routine error by adding -lCsup into the libraries variable in the makefile. I have tried all of the following:
-lstd -lstream -lCsup -lm -lcl -ldld
This is incorrect for IPF. It looks like PA.
The proper list aC++ plugins for -AA and IPF is:
-lstd_v2 -lCsup -lm -lunwind -ldld
>TY 007: aCC version + patches?
This isn't important since those symbols have nothing to do with aC++.
09-20-2007 03:46 AM
09-20-2007 04:17 AM
09-20-2007 07:36 AM
>I'm not sure why I should need to add -lCsup to compile a C program
Then you need to follow the plugin rules. Or your shlib provider should follow them and make it easy to use from C.