- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I am getting unresolved symbol error at runtim...
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
тАО07-07-2009 11:32 PM
тАО07-07-2009 11:32 PM
I am getting below unresolved symbol error at runtime
/usr/lib/dld.sl: Unresolved symbol: __ct__13Iostream_initFv_1 (code) from /apps/myapps/bin/libxalan-c.sl.110
/usr/lib/dld.sl: Unresolved symbol: __ct__13Iostream_initFv_1 (code) from /apps/myapps/bin/libxalan-c.sl.110
Could you please help me to resolve the above run time issue?
Thanks and Regards,
Rajakumar K.
Solved! Go to Solution.
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 12:27 AM
тАО07-08-2009 12:27 AM
Re: I am getting unresolved symbol error at runtime
What language is your executable?
You can't mix -AP and -AA or g++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 01:10 AM
тАО07-09-2009 01:10 AM
Re: I am getting unresolved symbol error at runtime
I am using GNU make and below HPUX C++ (aCC) compiler
PHSS_28880 1.0 HP aC++ -AA runtime libraries (aCC A.03.50)
I put -lstream in the linker command and still I am getting "/usr/lib/dld.sl: Unresolved symbol: quiet_NaN__14numeric_limitsXTd_SFv (code) from /data/CCPE/x_kasir/tce07/bin/libxalan-c.sl.110" error at run time.
Do you feel above error is a linker/compile problem?
I am not so good in HPUX builds.
Could you please let me know what is -AP, -AA and g++? Are these linker options?
Thanks and Regards,
Rajakumar K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 01:32 AM
тАО07-09-2009 01:32 AM
Re: I am getting unresolved symbol error at runtime
Do you know which library contains the symbol "numeric_limits"?
Thanks and Regards,
Rajakumar K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 01:59 AM
тАО07-09-2009 01:59 AM
Re: I am getting unresolved symbol error at runtime
> I put -lstream in the linker command and still I am getting "/usr/lib/dld.sl
> : Unresolved symbol: quiet_NaN__14numeric_limitsXTd_SFv (code)
> from /data/CCPE/x_kasir/tce07/bin/libxalan-c.sl.110" error at run time.
Use -lstd. Better is to recompile (rebuild) you application with -AP or whichever is appropriate.
> Do you feel above error is a linker/compile problem?
As the error says the symbol quiet_NaN__14numeric_limitsXTd_SFv is not resolved in your application. It is not a linker/compiler problem. It is most probably due to missing -l.
> Could you please let me know what is -AP, -AA and g++?
> Are these linker options?
These are compiler options. You could do "man aCC" and get the information about these options. Also in www.hp.com/go/aCC.
-AP: Turns off -AA mode. Uses the older C++ runtime libraries. This is the default.
-AA: Turns on newly supported ANSI C++ Standard features .... Objects and libraries compiled with -AA are binary incompatible with objects and libraries compiled without -AA.
g++: Actually it is -Ag++. It enables partial support for the GNU C++ dialect. It is supported only from A.03.80 onwards with +hpxstd98 option.
You could use c++filt to get a readable form of quiet_NaN__14numeric_limitsXTd_SFv.
quiet_NaN__14numeric_limitsXTd_SFv ==> static numeric_limits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 03:19 AM
тАО07-09-2009 03:19 AM
Re: I am getting unresolved symbol error at runtime
This is very old, you can update to an newer one, PHSS_33945.
>Could you please let me know what is -AP, -AA and g++? Are these linker options?
The first two are aC++ options, g++ is the Gnu C++ compiler. How are you building your application? Is it C and you are calling a aC++ shlib?
>Do you know which library contains the symbol "numeric_limits"?
Naturally. :-) If you are compiling and linking with aCC, this is automatically supplied. I would recommend this.
Otherwise, you should look at the following if you are mixing languages:
http://docs.hp.com/en/14672/Help/distributing.htm#apps
>Kannan: g++: Actually it is -Ag++.
No, g++ is g++, the foreign devil compiler. ;-)
- Tags:
- foreign devil tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 04:18 AM
тАО07-09-2009 04:18 AM
Re: I am getting unresolved symbol error at runtime
>How are you building your application? Is it C and you are calling a aC++ shlib?
I am building my application with aCC compiler (PHSS_28880 1.0 HP aC++ -AA runtime libraries (aCC A.03.50))
Here may I know what is "aC++ shlib", is it aCC?
The library which contains the numeric_limits symbol is not automatically getting resolved at run time with libxalan-c.sl.110 and ldd also not showing that. so looks like I need to pass the library which contains numeric_limits symbol to the libxalan-c.sl.110 linker command. But you are telling it is automatically supplied while using aCC. So I could not understand this point.
Please clarify.
Thanks and Regards,
Rajakumar K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 05:00 AM
тАО07-09-2009 05:00 AM
Re: I am getting unresolved symbol error at runtime
Please provide your answers based on aCC compiler that is specific to PHSS_28880 1.0 HP aC++ -AA runtime libraries (aCC A.03.50) version if possible.
Because I cannot use any other compiler for this particular build.
libxalan-c.sl.110 is linked with aCC compiler and I also using C compiler while building.
Thanks and Regards,
Rajakumar K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 05:16 AM
тАО07-09-2009 05:16 AM
Re: I am getting unresolved symbol error at runtime
Are aC++ and aCC compilers same or different?
Thanks and Regards,
Rajakumar K