Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
LAPI & HP-UX 10.20 - problem creating a workable program
abrown
I'm hoping that someone in this forum can help me. I've taken the C sample code from the LAPI directory, commented out the code between the InitConnection and DisposeConnection function calls in main (all I wantto do is check for connectivity right now).I fixed up the make file to point to my lapi lib and include directories. Then I made the executable.When I run the executable, I get "Unresolved symbol" and "Unresolved module for symbol" messages. The symbols are __ZStaticCtorTable_Start, __ZStaticCtorTable_End, __StaticCtorTable_Start, __StaticCtorTable_End and the unresolved module is __shlinit.Thanks for any suggestions.
Find more posts tagged with
Comments
abrown
I'm creating this code on a system separate from the Livelink server. I was given a tar file with the lapi libs & includes & sample code. I have no idea if there is any difference between lapi for Solaris and lapi for HP-UX. And, finally, it's not actually Allen Brown that is posting this. My name is Diane Reid, but I'm using Allen's account.
Alla_Kibzoun_(akibzoun_(Delete)_2413245)
I attach the C library file libC.so.5If you use Livelink 8.x add this file when you make the executableHope it will help
abrown
Thanks for the suggestion.As it turned out, the problem wasn't missing or incompatible libraries, it was that HP-UX 10.20 requires you to use the HP aCC compiler! So, the sample C (and possibly C++) code with the HP-UX version of LAPI is incorrect, since it calls the "cc" compiler.