From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 13:50:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10D7B16A4CE for ; Wed, 22 Dec 2004 13:50:41 +0000 (GMT) Received: from mail.iinet.net.au (mail-09.iinet.net.au [203.59.3.41]) by mx1.FreeBSD.org (Postfix) with SMTP id 74DB943D2D for ; Wed, 22 Dec 2004 13:50:39 +0000 (GMT) (envelope-from outsidefactor@iinet.net.au) Received: (qmail 1056 invoked from network); 22 Dec 2004 13:50:38 -0000 Received: from unknown (HELO tyr) (203.217.67.1) by mail.iinet.net.au with SMTP; 22 Dec 2004 13:50:38 -0000 From: "Chris Martin" To: Date: Thu, 23 Dec 2004 00:49:40 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcToLRUcsCWsgaemQeO1LDu1vW0bLw== Message-Id: <20041222135039.74DB943D2D@mx1.FreeBSD.org> Subject: openh323 gatekeeper compile errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 13:50:41 -0000 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