csclient.cxx:2024:66: error: 'PR_NetAddrToString' was not declared in this scope
Srikar Dronamraju
srikar@linux.vnet.ibm.com
Fri Apr 6 17:18:00 GMT 2012
> Hi,
>
> I'm compiling the latest master from git, and I get a couple of error
> like the one in subject.
> I've managed to find those functions are defined by libnspr and
> installed libnspr-dev on Ubuntu.
> Compiling went fine, but the linking broke with
> csclient.cxx:2025: undefined reference to `PR_NetAddrToString'
>
> Any ideas on why is this happening ?
> I can get rid of that linking error by changing the automake/conf scripts, but
> I though asking first might be better.
>
I faced similar issue yesterday while compiling on fedora.
However installing nss-devel solved the problem for me.
To reiterate, Even though I give ./configure --disable-server
--without-nss but nss-devel not installed, systemtap would fail to build
csclient.cxx. After installing nss-devel, the same configure command
works.
Frank had asked me to report this problem on the list, but I forgot.
This seems to be recent regression, because I was able to compile and
use systemtap on that machine before and then it didnt have nss-devel.
--
Thanks and Regards
Srikar
More information about the Systemtap
mailing list