Re: Hiding symbols at link time on hp-ux 10.20 (267 Views)
Reply
Occasional Contributor
DS_5
Posts: 4
Registered: ‎12-09-2002
Message 1 of 4 (267 Views)
Accepted Solution

Hiding symbols at link time on hp-ux 10.20


Hi,
I am trying to build libraries in 10.20 with the "-h" link option.

I actually pass a file containing all the symbols to hide via +Wl,-c...

I get errors like:
/usr/c/bin/ld: can't hide symbol...
for all the symbols I want to hide.

Do you know why ?
How can I fix this ?

Thank you,
Amedee
Please use plain text.
Esteemed Contributor
ranganath ramachandra
Posts: 375
Registered: ‎05-16-2003
Message 2 of 4 (267 Views)

Re: Hiding symbols at link time on hp-ux 10.20

please check whether the symbols are resolved within the module (executable or shared library) that you are trying to build. if they are not, they are unsats and the linker will not hide them.
Please use plain text.
Occasional Contributor
DS_5
Posts: 4
Registered: ‎12-09-2002
Message 3 of 4 (267 Views)

Re: Hiding symbols at link time on hp-ux 10.20

Hi Ranganath,

Thanks for you reply.

You were right, the symbols were not concerning the module to be built.
This is not a problem anymore.

Thanks a lot,
Amedee
Please use plain text.
Occasional Contributor
DS_5
Posts: 4
Registered: ‎12-09-2002
Message 4 of 4 (267 Views)

Re: Hiding symbols at link time on hp-ux 10.20

closing thread.
Please use plain text.
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