So, it still fails to compile on Ubuntu if you have the libnss3-dev package
installed.  The line in falls down on is doing the following:

~/qpid-clean/cpp/build/src$ /usr/bin/c++  -fPIC
-fvisibility-inlines-hidden -Werror -pedantic -Wall -Wextra -Wno-shadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual  -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4
-lnspr4   -Wl,--no-undefined -pthread -shared
-Wl,-soname,libsslcommon.so.2.0.0 -o libsslcommon.so.2.0.0
CMakeFiles/sslcommon.dir/qpid/sys/ssl/check.o
CMakeFiles/sslcommon.dir/qpid/sys/ssl/util.o
CMakeFiles/sslcommon.dir/qpid/sys/ssl/SslSocket.o libqpidcommon.so.2.0.0
libqpidtypes.so.1.0.0 -luuid -lboost_system-mt

which results in..

CMakeFiles/sslcommon.dir/qpid/sys/ssl/check.o: In function
`qpid::sys::ssl::ErrorString::ErrorString()':
check.cpp:(.text+0xd): undefined reference to `PR_GetError'
check.cpp:(.text+0x1a): undefined reference to `PR_GetErrorTextLength'
check.cpp:(.text+0x3f): undefined reference to `PR_GetErrorText'

... and a catalog of similar errors.

I'm not a nss, cmake or C++ expert... Anyone want to hazard a guess as to
what is going on?  I'm assuming that when the equivalent package is
installed on a Fedora-like system it all works fine?

-- Rob


On 1 April 2013 19:36, Fraser Adams <[email protected]> wrote:

> Thanks Alan,
> I'll give them a whirl later in the week when I've got my proper IT back.
>
> I'm still on holiday with just my iPad until towards the end of the week.
> The list that you mention is I believe the main set of issues that I'd
> noticed, though Rob mentioned something previously that related to (I
> think) SSL libraries on Ubuntu - was it nss?? I'd have to dig through my
> in-box to check.
>
> I guess just mentioning running ldconfig may be OK but it would be nice to
> have it run automatically as the end of make install, don't know if that's
> possible or has undesirable consequences.
>
> Thanks again, I can feel the nano probe pressing against my eyeball :-)
> Frase
>
>
>
> On 1 Apr 2013, at 17:53, Alan Conway <[email protected]> wrote:
>
> > I committed these 3 fixes today, to address some stumbling blocks for
> cmake adoption raised on the list last week:
> >
> > r1463202 | QPID-4687: Add uninstall make target to cmake build
> > r1463146 | QPID-4686: Mention ldconfig in cpp/INSTALL instructions
> > r1463145 | QPID-4684: Remove obsolete options from example qpidd.conf
> file.
> >
> > If you're interested in cmake please check them out and shout if there
> are more issues holding back cmake adoption.
> >
> > Cheers,
> > Alan.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to