1748204 Members
4036 Online
108759 Solutions
New Discussion юеВ

Unsatisfied symbol

 
Rkambala
Occasional Advisor

Unsatisfied symbol

Hello,

While instrumenting an executable I get below errors from one of the dependent library libCPACProgCtl.sl

-----Start -----------
ld: (Warning) Unsatisfied symbol "APERespMsg::SetStatus(int)" in file /HP-UX-B.11.31-ia64/shlib/libCPACProgCtl.sl

ld: (Warning) Unsatisfied symbol "APEClientApp::RemoveTimer(APETimer const&)" in file /HP-UX-B.11.31-ia64/shlib/libCPACProgCtl.sl
------End-----

When I check the dependent library libCPACProgCtl.sl, I see those symbols as below
----Start ------
/usr/bin/nm -NC libCPACProgCtl.sl

[111] | 0| 0|FUNC |GLOB |0| UNDEF|APERespMsg::SetStatus(int)

[112] | 0| 0|FUNC |GLOB |0| UNDEF|APEClientApp::RemoveTimer(APETimer const&)
-----End---------

There are many others symbols which are unsatisfied as above.

Using:
uname -a
uHP-UX smithers B.11.31 U ia64 3847634126 unlimited-user license

/opt/aCC/bin/aCC --version
/aCC: HP C/aC++ B3910B A.06.25 [Nov 30 2009]

Kindly help on this.

Thanks,
Ravi
5 REPLIES 5
Rkambala
Occasional Advisor

Re: Unsatisfied symbol

With so many warnings the executable gets created but the make fails and stops.
-------Start----------
1.31-ia64/shlib/libCommon.sl
ld: (Warning) Unsatisfied symbol "APEClientApp::RegisteredCB(APERespMsg const&)" in file /u/ravindra/ccm_wa/numeritrack/TMNI_NI~11v3_i3.3_int/TMNI_NI/HP-U
X-B.11.31-ia64/shlib/libCPACProgCtl.sl
58 warnings.
24 errors.
make: *** [HP-UX-B.11.31-ia64/exec/NiServer] Error 1
Removing Lock File...
-----------End----------
Suraj K Sankari
Honored Contributor

Re: Unsatisfied symbol

Hi,

If you ftp this file from any other server or windows box then while ftping use binary mode (bin) then transfer file.


Suraj
Rkambala
Occasional Advisor

Re: Unsatisfied symbol

Hi,
I am not ftp'ing the file. Whole process is in the local box.

Thanks,
Ravi
Rkambala
Occasional Advisor

Re: Unsatisfied symbol

Can anyone throw light on this?

Thanks,
Ravi
Dennis Handly
Acclaimed Contributor

Re: Unsatisfied symbol

>While instrumenting an executable

With +Oprofile=collect?

>I get below errors

These are warnings, where are the errors?

>I see those symbols as below
>FUNC |GLOB |0| UNDEF|APERespMsg::SetStatus(int)

These are unsats.

>There are many others symbols which are unsatisfied as above.

So where should they be defined?