Date: Thu, 23 Dec 2004 00:49:40 +1100 From: "Chris Martin" <outsidefactor@iinet.net.au> To: <freebsd-questions@freebsd.org> Subject: openh323 gatekeeper compile errors Message-ID: <20041222135039.74DB943D2D@mx1.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
I am trying to compile the port net/gatekeeper. OpenH323 and PWLib are already installed. gmake P_SHAREDLIB=0 opt gmake[1]: Entering directory `/usr/ports/net/gatekeeper/work/openh323gk' c++ -DHAS_RADIUS -DHAS_WAITARQ=1 -DP_FREEBSD=503001 -I/usr/local/include -I/usr/local/include -D_REENTRANT -Wall -DP_FREEBSD=503001 -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix -I/usr/ports/devel/pwlib/work/pwlib/include -DPTRACING -I/usr/ports/net/gatekeeper/../openh323/work/openh323/include -DHAS_OSS -DMAJOR_VERSION=1 -DMINOR_VERSION=12 -DBUILD_NUMBER=0 -DNDEBUG -O -pipe -c radproto.cxx -o obj_FreeBSD_x86_r/radproto.o radproto.cxx: In constructor `RadiusAttr::RadiusAttr(unsigned char, const void*, PINDEX)': radproto.cxx:121: warning: right-hand operand of comma has no effect radproto.cxx: In constructor `RadiusAttr::RadiusAttr(const void*, PINDEX, int, unsigned char)': radproto.cxx:155: warning: right-hand operand of comma has no effect radproto.cxx: In member function `virtual BOOL RadiusAttr::Read(const void*, PINDEX)': radproto.cxx:390: warning: right-hand operand of comma has no effect radproto.cxx: In member function `virtual PObject::Comparison RadiusAttr::Compare(const PObject&) const': radproto.cxx:717: error: 'const class PObject' has no member named 'IsDescendant' radproto.cxx: In member function `BOOL RadiusPDU::SetAuthenticator(const void*)': radproto.cxx:979: warning: right-hand operand of comma has no effect radproto.cxx: In member function `virtual BOOL RadiusPDU::AppendAttribute(RadiusAttr*)': radproto.cxx:1021: warning: right-hand operand of comma has no effect radproto.cxx: In member function `virtual BOOL RadiusPDU::Read(const void*, PINDEX)': radproto.cxx:1123: warning: right-hand operand of comma has no effect radproto.cxx: In member function `virtual BOOL RadiusSocket::MakeRequest(const BYTE*, PINDEX, const PIPSocket::Address&, WORD, RadiusPDU*&)': radproto.cxx:1358: warning: right-hand operand of comma has no effect radproto.cxx: In member function `BOOL RadiusClient::GetSocket(RadiusSocket*&, unsigned char&)': radproto.cxx:2266: warning: comparison is always true due to limited range of data type gmake[1]: *** [obj_FreeBSD_x86_r/radproto.o] Error 1 gmake[1]: Leaving directory `/usr/ports/net/gatekeeper/work/openh323gk' gmake: *** [optnoshared] Error 2 *** Error code 2 Stop in /usr/ports/net/gatekeeper. I have tried this on two systems: FreeBSD 5.3-RELEASE-p2 #0 and 5.3-RELEASE #3. The p2 machine has openh323-v1_15_2 and pwlib-v1_8_3 form the sorceforge site and the other as openh323-1.12.0_4 and pwlib-1.5.0_5,1, built from ports. They both get exactly the same compile error. Does anyone have any suggestions on how to resolve this? Chris Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041222135039.74DB943D2D>