Re: Compile Failure with FDSET=4096

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

 



Hi, Jan

Thanks for the quick respond....

Reading Your comments and looking the compilation results, I notice that 
this warning was presented just before the real error (or at least what 
prevent the compilation to succeed):

g++ -I/usr/include/mysql -DHAS_MYSQL=1 -DLARGE_FDSET=4096 -DHAS_H46023=1 
-DHAS_H46018=1 -DHAS_MSG_NOSIGNAL=1  -D'MANUFACTURER=GNU' 
-D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT 
-fno-exceptions  -Wall  -DNDEBUG -I/root/ptlib//include -DPTRACING 
-I/root/h323plus/include -DMAJOR_VERSION=2 -DMINOR_VERSION=3 
-DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder  -c GkClient.cxx -o 
obj_linux_x86/GkClient.o
GkClient.cxx: In member function âvirtual PBoolean 
STUNsocket::GetLocalAddress(PIPSocket::Address&)â:
GkClient.cxx:482: error: void value not ignored as it ought to be
GkClient.cxx: In member function âvirtual PBoolean 
STUNsocket::GetLocalAddress(PIPSocket::Address&, WORD&)â:
GkClient.cxx:492: error: void value not ignored as it ought to be
GkClient.cxx: In member function âvirtual bool 
STUNClient::CreateSocketPair(UDPSocket*&, UDPSocket*&, const 
PIPSocket::Address&)â:
GkClient.cxx:652: error: no matching function for call to 
âPList<STUNsocket>::Append(STUNsocket*)â
/root/ptlib//include/ptlib/lists.h:146: note: candidates are: virtual 
PINDEX PAbstractList::Append(PObject*)
GkClient.cxx:653: error: no matching function for call to 
âSTUNClient::OpenSocket(STUNsocket&, PNatMethod::PortInfo&, const 
PIPSocket::Address&)â
/root/ptlib//include/ptclib/pstun.h:295: note: candidates are: bool 
PSTUNClient::OpenSocket(PUDPSocket&, PNatMethod::PortInfo&, const 
PIPSocket::Address&)
GkClient.cxx:666: error: no matching function for call to 
âSTUNmessage::Poll(STUNsocket&, STUNmessage&, PINDEX&)â
GkClient.cxx:446: note: candidates are: bool 
STUNmessage::Poll(PUDPSocket&, const STUNmessage&, PINDEX)
GkClient.cxx:698: error: no matching function for call to 
âPList<STUNsocket>::Remove(UDPSocket*&)â
/root/ptlib//include/ptlib/lists.h:185: note: candidates are: virtual 
PBoolean PAbstractList::Remove(const PObject*)
GkClient.cxx:699: error: no matching function for call to 
âPList<STUNsocket>::Remove(UDPSocket*&)â
/root/ptlib//include/ptlib/lists.h:185: note: candidates are: virtual 
PBoolean PAbstractList::Remove(const PObject*)
make[1]: *** [obj_linux_x86/GkClient.o] Error 1
make[1]: Leaving directory `/root/openh323gk'
make: *** [optnoshared] Error 2

So the problem isn't in PTLib, but in GkClient.cxx somewhere... :(

Edson.

Jan Willamowius escreveu:
> Hi,
> 
>> Neighbor.cxx:64:2: warning: #warning "Your PTLib version isn't able to 
>> produce compatible MD5 crypto tokens"
> 
> Thats just a warning, but unfortunately its true: In February 2008
> PTLib made a change that breaks generation of H.235 MD5 tokens that are
> compatible with the rest of the H.323 community.
> 
> If you don't use H.235 tokens, you can ignore this warning.
> If you do, you can use older OpenH323 Releases (eg. Atlas), but those
> don't support H.460 or you can manually revert the patch in PTLib.
> http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/ptlib/trunk/src/ptclib/asner.cxx?r1=19542&r2=19568
> 
> I have already posted this to the OPAL list, but so far there is no
> solution.
> 
> Regards,
> Jan
> 
> 
> Edson - Lists wrote:
>> Using:
>>   export OPENH323DIR=/root/h323plus/; ./configure --enable-h46018 
>> --disable-radius
>>
>> compilation is OK and binary runs (not tested), but if I use:
>>
>>   export OPENH323DIR=/root/h323plus/; ./configure --enable-h46018 
>> --disable-radius  --with-large-fdset=4096
>>
>> compilation fails with:
>> .....
>> g++ -I/usr/include/mysql -DHAS_MYSQL=1 -DLARGE_FDSET=4096 -DHAS_H46023=1 
>> -DHAS_H46018=1 -DHAS_MSG_NOSIGNAL=1  -D'MANUFACTURER=GNU' 
>> -D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DPTRACING=1 -D_REENTRANT     
>> -fno-exceptions  -Wall  -DNDEBUG -I/root/ptlib//include -DPTRACING 
>> -I/root/h323plus/include -DMAJOR_VERSION=2 -DMINOR_VERSION=3 
>> -DBUILD_NUMBER=1 -O2  -felide-constructors -Wreorder  -c Neighbor.cxx -o 
>> obj_linux_x86/Neighbor.o
>> Neighbor.cxx:64:2: warning: #warning "Your PTLib version isn't able to 
>> produce compatible MD5 crypto tokens"
>> ....
>>
>> Both compilation use last CVS version of H323PLUS and GNUGK.
>>
>> Edson.
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


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

  Powered by Linux