- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Mixing ANSI C and aC++ compilers
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
тАО06-01-2007 06:05 AM
тАО06-01-2007 06:05 AM
Mixing ANSI C and aCC compilers
aCC runtime: Error 215 from shl_findsym(/usr01/home/libxxxxx.sl.21,_shlInit)
/usr/lib/dld.sl: Unresolved symbol: __tcerr (data) from /usr01/home/xxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __tcout (data) from /usr01/home/xxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __stl_tree_mutex (data) from /usr01/home/xxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: init__14HPMutexWrapperFv (code) from /usr01/home/xxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: lock__14HPMutexWrapperSFPv (code) from /usr01/home/xxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: unlock__14HPMutexWrapperSFPv (code) from /usr01/home/xxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __dt__14HPMutexWrapperFv (code) from /usr01/home/xxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __dt__13Iostream_initFv (code) from /usr01/home/xxxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __ct__13Iostream_initFv_1 (code) from /usr01/home/xxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: ref__20t_ostream_withassignFv (code) from /usr01/home/xxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __ls__7ostreamFPCc (code) from /usr01/home/xxxxxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: endl__FR7ostream (code) from /usr01/home/xxxxxxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __ls__7ostreamFi (code) from /usr01/home/xxxxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __ls__7ostreamFUi (code) from /usr01/home/xxxxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: ls_complicated__7ostreamFUc (code) from /usr01/home/xxxxxxxxxxxxxx.sl
/usr/lib/dld.sl: Unresolved symbol: __ls__7ostreamFl (code) from /usr01/home/xxxxxxxxxxxx.sl
/usr/lib/dld.sl: Unresolved module for symbol: [Vftptr_Q2_7icu_2_124ForwardCharacterIterator]key: (data) from /usr01/home/xxxxxxxxx.sl.21
Abort (coredump)
To resolve this type of error, check if shared library you are using is created using aCC compiler. If libraries are created using aCC compilers then there are three ways to solve the problem.
1. Use aCC compiler for the linking.
2. If you still want to continue with the ANSI C compiler then
a.out must be linked with the HP aC++ runtime libraries in the following order:
-lstd -lstream -lCsup -lm -lcl -ldld
To better understand read the following link http://docs.hp.com/en/4311/distributing.htm
3. Use LD_PRELOAD command to preload the libraries mentioned in option 2 (lstd -lstream -lCsup -lm -lcl тАУldld
). But LD_PRELOAD option if set in .profile may affect other programs. So better use it while running the program creating problem.
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2007 06:21 AM
тАО06-01-2007 06:21 AM
Re: Mixing ANSI C and aCC compilers
Welcome to the OpenVMS forum, the forum that deals with the most wonderful OS on the world!
Now, in VMS that would be an easy question, but you asked:
>>>
If anyone has linked a shared library with the C program using ANSI C compiler
!!!
on HP-UX
!!!
<<<
and I think the answers you will get in the HPUX forum would be much more specific to your situation!
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 04:54 PM - edited тАО09-25-2011 07:58 PM
тАО06-22-2007 04:54 PM - edited тАО09-25-2011 07:58 PM
Re: Mixing ANSI C and aC++ compilers
You might want to close this since you provided your own solution and pointed to the official web page. Though you should point to the latest version:
http://www.docs.hp.com/en/7762/5991-4874/distributing.htm