Re: Using gcc or ANSI C for Openview apps on HP-UX 11 (115 Views)
Reply
Advisor
Admin ITO
Posts: 46
Registered: ‎04-28-1997
Message 1 of 3 (135 Views)

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

Esteemed Contributor
Anthony Goonetilleke
Posts: 338
Registered: ‎06-23-1999
Message 2 of 3 (135 Views)

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!
Acclaimed Contributor
Dennis Handly
Posts: 25,291
Registered: ‎03-06-2006
Message 3 of 3 (115 Views)

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.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.