Re: Can't build with radius support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bruce,

you need to use a 3.x gcc.

Regards,
Jan


Bruce Ferrell wrote:
> I used these instruction very carefully to attempt to build:
> 
> 
> 
> pwlib version : Pandora Release (1.7.5.2)
> 
> openh323 version : Pandora Release (1.14.4.2)
> 
> 
> compile pwlib:
> 
> ./configure --disable-openldap \
> --disable-ipv6 \
> --disable-sdl  \
> --disable-video \
> --disable-alsa \
> --disable-sasl \
> --disable-ssl
> 
> then, add LDFLAGS += -static  to the makefile
> 
> make optnoshared
> 
> export PW_LIBDIR=`pwd`
> 
> 
> compile openh323:
> 
> 
> 
> ./configure \
> --disable-audio \
> --disable-video \
> --disable-embeddedgsm \
> --disable-rfc2190avcodec \
> --disable-h263avcodec
> 
> make optnoshared
> 
> 
> compile gnugk-2.2.1:
> 
> ./configure --enable-radius --with-large-fdset=16384
> 
> make optnoshared
> 
> 
> 
> results in this:
> g++ -I/usr/include/pgsql -DHAS_PGSQL=1  -I/usr/include/mysql 
> -DHAS_MYSQL=1 -DLARGE_FDSET=16384 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1 
> -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING 
> -DP_USE_PRAGMA -D_REENTRANT -DOPENSSL_NO_KRB5 -Wall  -g -D_DEBUG 
> -DNDEBUG -I/usr/local/src/pwlib/include -DPTRACING 
> -I/usr/local/src/openh323/include -DHAS_OSS -DMAJOR_VERSION=2 
> -DMINOR_VERSION=2 -DBUILD_NUMBER=1   -felide-constructors -x c++ -c 
> radproto.cxx -o obj_linux_x86_d/radproto.o
> In file included from radproto.cxx:118:
> radproto.h:582: anonymous class type not used to declare any objects
> radproto.h:584: anonymous class type not used to declare any objects
> radproto.h: In method `RadiusAttr::RadiusAttr(const RadiusAttr &)':
> radproto.h:228: `class RadiusAttr' has no member named `m_length'
> radproto.h: In method `unsigned char RadiusAttr::GetType() const':
> radproto.h:332: `m_type' undeclared (first use this function)
> radproto.h:332: (Each undeclared identifier is reported only once
> radproto.h:332: for each function it appears in.)
> radproto.h:332: warning: control reaches end of non-void function 
> `RadiusAttr::GetType() const'
> radproto.h: In method `unsigned char RadiusAttr::GetVsaType() const':
> radproto.h:340: `m_length' undeclared (first use this function)
> radproto.h:340: `m_vendorType' undeclared (first use this function)
> radproto.h:340: warning: control reaches end of non-void function 
> `RadiusAttr::GetVsaType() const'
> radproto.h: In method `PINDEX RadiusAttr::GetLength() const':
> radproto.h:345: warning: control reaches end of non-void function 
> `RadiusAttr::GetLength() const'
> radproto.h: In method `bool RadiusAttr::IsVsa() const':
> radproto.h:389: warning: control reaches end of non-void function 
> `RadiusAttr::IsVsa() const'
> radproto.h: In method `class RadiusAttr & RadiusAttr::operator =(const
> 
> RadiusAttr &)':
> radproto.h:513: `class RadiusAttr' has no member named `m_length'
> radproto.h: In method `bool RadiusAttr::IsValid() const':
> radproto.h:525: warning: control reaches end of non-void function 
> `RadiusAttr::IsValid() const'
> radproto.h: At top level:
> radproto.h:932: anonymous class type not used to declare any objects
> radproto.h: In method `unsigned char RadiusPDU::GetCode() const':
> radproto.h:658: `m_code' undeclared (first use this function)
> 
> ....
> snippage
> ....
> 
> radproto.cxx:1166: `class RadiusAttr' has no member named `m_length'
> radproto.cxx:1167: `class RadiusAttr' has no member named `m_length'
> radproto.cxx:1167: `class RadiusAttr' has no member named `m_length'
> radproto.cxx:1168: `class RadiusAttr' has no member named
> `m_vendorLength' radproto.cxx:1168: `class RadiusAttr' has no member
> named `m_vendorLength' radproto.cxx: In method `bool
> RadiusPDU::Read(const void *, int)': radproto.cxx:1273: `m_attributes'
> undeclared (first use this function) radproto.cxx: In method `void
> RadiusPDU::CopyContents(const RadiusPDU &)': radproto.cxx:1304: `class
> RadiusPDU' has no member named `m_attributes' radproto.cxx: In method
> `bool RadiusPDU::EncryptPasswords(const PString &, PMessageDigest5
> &)': radproto.cxx:1337: `class RadiusAttr' has no member named
> `m_type' radproto.cxx:1338: `class RadiusAttr' has no member named
> `m_length' radproto.cxx:1339: `class RadiusAttr' has no member named
> `m_value' radproto.cxx:1341: `class RadiusAttr' has no member named
> `m_value' radproto.cxx:1341: `class RadiusAttr' has no member named
> `m_value' radproto.cxx:1344: `class RadiusAttr' has no member named
> `m_value' make[2]: *** [obj_linux_x86_d/radproto.o] Error 1
> make[2]: Leaving directory `/usr/local/src/gnugk-2.2.1'
> make[1]: *** [debug] Error 2
> make[1]: Leaving directory `/usr/local/src/gnugk-2.2.1'
> make: *** [debugnoshared] Error 2
> 
> 
> The compiler is :
> gk1:/usr/local/src/gnugk-2.2.1 # g++ -v
> Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
> gcc version 2.95.3 20010315 (SuSE)
> 
> 
> Any comments or suggestions?
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users. Discover which products truly live up to the hype. Start
> reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> 
> _______________________________________________________
> 
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/
> 


-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.willamowius.de/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux