On Sun 18 Nov 2018 at 01:36:12 -0800, John Nemeth wrote: > I've been trying to update opal in order to test t38modem. > I've run into a problem in that it gets an error building and I > don't speak C++. I have placed a copy of the new package at: > ftp://ftp.netbsd.org/pub/NetBSD/misc/jnemeth/opal-3.10.10.pkg.tar . > There are a bunch of errors of the following form: Interesting. I extracted your tar file as misc/opal in my pkgsrc-2018Q3 tree. I get totally different error messages (far less scary), see below. This is on NetBSD/amd64 8.0, with gcc 5.5.0. My suspicion from your messages is that they might be fixed (at least partially) with some options to force an older C++ dialect. auto_ptr is deprecated these days, so maybe the rest would profit from that too. Or possibly, if you have a current pkgsrc tree, it may have newer versions of the dependencies, which may give a hint. ===> build-message [opal-3.10.10] ===> Building for opal-3.10.10 /usr/pkg/bin/gmake DEBUG_BUILD=no OPAL_SHARED_LIB=1 gmake[1]: Entering directory '/pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10' [CC] src/opal/console_mgr.cxx [CC] src/opal/rtpep.cxx [CC] src/opal/connection.cxx [CC] src/opal/endpoint.cxx [CC] src/opal/rtpconn.cxx [CC] src/opal/localep.cxx In file included from /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/opal/console_mgr.cxx:39:0: /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/include/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] unsigned int options = NULL, ///< options to pass to conneciton ^ [CC] src/opal/call.cxx [CC] src/opal/mediafmt.cxx [CC] src/opal/mediatype.cxx [CC] src/opal/mediastrm.cxx [CC] src/opal/patch.cxx [CC] src/opal/transcoders.cxx [CC] src/opal/transports.cxx [CC] src/opal/guid.cxx [CC] src/rtp/rtp.cxx [CC] src/rtp/jitter.cxx [CC] src/rtp/metrics.cxx [CC] src/rtp/pcapfile.cxx [CC] src/opal/opal_c.cxx [CC] src/opal/pres_ent.cxx [CC] src/opal/recording.cxx [CC] src/opal/opalmixer.cxx In file included from /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/opal/opal_c.cxx:46:0: /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/include/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] unsigned int options = NULL, ///< options to pass to conneciton ^ [CC] src/opal/pcss.cxx [CC] src/h323/h450pdu.cxx /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/opal/pcss.cxx: In member function 'virtual bool OpalPCSSConnection::SetAudioMute(bool, bool)': /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/opal/pcss.cxx:476:19: error: 'class PSoundChannel' has no member named 'SetMute' return channel->SetMute(mute); ^ /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/opal/pcss.cxx: In member function 'virtual bool OpalPCSSConnection::GetAudioMute(bool, bool&)': /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/opal/pcss.cxx:490:19: error: 'class PSoundChannel' has no member named 'GetMute' return channel->GetMute(mute); ^ gmake[1]: *** [Makefile:534: /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/lib_NetBSD_x86_64/obj/pcss.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/src/h323/h450pdu.cxx:45:0: /pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10/include/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null] unsigned int options = NULL, ///< options to pass to conneciton ^ gmake[1]: Leaving directory '/pkg_comp/obj/pkgsrc/misc/opal/default/opal-3.10.10' gmake: *** [Makefile:729: opt] Error 2 *** Error code 2 -Olaf. -- ___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power \X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond
Attachment:
signature.asc
Description: PGP signature