BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

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

Advisor

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

[ Edited ]

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
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!
Highlighted
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.