Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Using gcc or ANSI C for Openview apps on HP-UX 11

Highlighted
Admin ITO
Advisor

Using gcc or ANSI C for Openview apps on HP-UX 11

We are not able to run Openview applications compiled with gcc 2.95.2 or B3899BA (B.11.01.07 HP C/ANSI C Developer's Bundle for HP-UX 11.00 S700) . We always get this error :

/usr/lib/dld.sl : unresolved symbol:__shlimi (code) from /opt/OV/lib/libov.3
Abort (coredump)

HP support team tells us to buy the HP ANSI C++ compiler. Does anybody know if it is mandatory ?

 

 

P.S. this thread has been moved from TRC OV education & training Forum to HP-UX > languages - HP Forums Moderator

2 REPLIES
Anthony Goonetilleke
Esteemed Contributor

Re: Using gcc or ANSI C for Openview apps on HP-UX 11

Get the latest gcc and do a full build and instal which includes g++ this should work
Minimum effort maximum output!
Dennis Handly
Acclaimed Contributor

Re: Using gcc or ANSI C for Openview apps on HP-UX 11

If you are compiling C code, it shouldn't matter unless you want performance.

 

>HP support team tells us to buy the HP ANSI C++ compiler.

 

You can't mix aC++ code with g++.

 

>dld.sl : unresolved symbol:__shlimi (code) from /opt/OV/lib/libov.3

 

This looks like a C++ mangled symbol.  Or an illegal C reserved symbol.