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: 

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

Steve_The_King
Frequent Advisor

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

Hi,

I am getting the following error when I try to load my module in OHS server on Hpitan-64 bit machine.

/usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl'.

when I give the command
nm -A my.sl | grep ABC

this is what I get
[4930] | 0| 0|FUNC |GLOB |0| UNDEF|my.sl:ABC
[3660] | 4611686018430708224| 688|FUNC |GLOB |0| .text|my.sl:


Please can somebody explain the meaning of the above two lines in detail.


Thanks!!!


2 REPLIES
Steven Schweda
Honored Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

"man nm".

> [...]| UNDEF| [...]

Apparently, ABC in my.sl is undefined.

Not being able to see any of the code, or
how it was compiled and linked, puts the
non-psychics among us at a disadvantage when
trying to explain exactly what happened. Is
this new code, or something which has worked
elsewhere?
Highlighted
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/hpux64/dld.so: Unsatisfied code symbol 'ABC' in load module my.sl

nm -A my.sl | grep ABC
>this is what I get
FUNC |GLOB |0| UNDEF|my.sl:ABC
FUNC |GLOB |0| .text|my.sl:<DEMANGLED name of my symbol>

What do you mean "Demangled name...". Please show the exact output. Why did it have "ABC" in it?

Also, where do you think the symbol ABC is defined?

>can somebody explain the meaning of the above two lines in detail.

The first is an unsat for ABC, the cause of your error.
The second is a definition for some symbol that you have kept hidden from us.

Do you expect these symbols to be the same? I.e. you forgot extern "C"?