ld: (Warning) Symbol "XXX" is not exported but is imported by a shared

Hi,
I am trying to build the package for my build tree built with HP UX ecom compiler. I added the flags +check=all to enable run time checks.
I compile the tree successfully, but while making the packages I am getting following error:

=== vxms tests [ 32 bit - em ]
= Generating pgncpio
ld: (Warning) Symbol "_rtc_check_guards_" is not exported but is imported by a shared library
1 warnings.

This means:
"_rtc_check_guards_" is called by one of the libraries you linked against, but not defined (exported)

There is no entry point for "_rtc_check_guards_" linked into your code. So, if for some reason the other code in the library decides to call it, your code will abort.

Ohh ok. So, how do I get rid of such error/warning?

actually, the symbol- 'rtc_check_guards' is defined in the library I have linked against.

What does nm show - exactly? If what you said is correct then the warning would not appear.

nm libwhatever.sl | grep 'rtc_check_guards' 

Hi,
I found libvxfs.sl, it was generated by SHLIB during the build process.

$nm libvxfs.sl | grep rtc
[683] | 0| 0|FUNC |GLOB |0| UNDEF|_rtc_check_bounds_with_index
[702] | 0| 0|FUNC |GLOB |0| UNDEF|_rtc_check_guards_
[615] | 0| 0|FUNC |GLOB |0| UNDEF|_rtc_init_check
[owww@fshpbld2 ~/work/build/vxfs_5_0_1/fsqa/tests/conform/vxms/obj32em]

and the directory where my make is failing uses the same libvxfslib.sl
I checked and found out that shilib was not provided the library path for rtc libraries so I tried building libvxfs with the local -L <lirtc.so path> option.
Still I am getting the same error.

There are other lib*.sl too, shall i also provide -L option to them ?

(Thanks for the sharing your knowledge, its helping me out)

Pritam