Re: Build errors in openh323gk

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

 



Thanks for the report. Both errors shoud be ixed now.


Adam Williamson wrote:
> Attempting to build current CVS openh323gk, I've come across and fixed a
> couple of errors:
> 
> #1, MakeCall.h needs to #include <ptlib/sound.h> to avoid this error:
> 
> g++ -DHAS_FIREBIRD=1  -I/usr/include/pgsql -DHAS_PGSQL=1
> -I/usr/include/mysql -DHAS_MYSQL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1
> -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING
> -D_REENTRANT -fno-exceptions  -Wall  -DNDEBUG
> -I/usr/share/pwlib//include -DPTRACING -I/usr/include/openh323
> -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=7 -O2   -c
> SoftPBX.cxx -o obj_linux_x86_r/SoftPBX.o
> In file included from SoftPBX.cxx:30:
> MakeCall.h:37: error: 'PSoundChannel' has not been declared
> 
> #2, current CVS gives this error:
> 
> g++ -DHAS_FIREBIRD=1  -I/usr/include/pgsql -DHAS_PGSQL=1
> -I/usr/include/mysql -DHAS_MYSQL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1
> -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING
> -D_REENTRANT -fno-exceptions  -Wall  -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
> -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic
> -fasynchronous-unwind-tables -DNDEBUG -I/usr/share/pwlib/include
> -DPTRACING -I/usr/include/openh323 -DMAJOR_VERSION=2 -DMINOR_VERSION=2
> -DBUILD_NUMBER=7 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
> --param=ssp-buffer-size=4  -fexceptions -fomit-frame-pointer -march=i586
> -mtune=generic -fasynchronous-unwind-tables -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
> -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic
> -fasynchronous-unwind-tables -DLDAP_DEPRECATED  -c GkStatus.cxx -o
> obj_linux_x86_r/GkStatus.o
> g++ -DHAS_FIREBIRD=1  -I/usr/include/pgsql -DHAS_PGSQL=1
> -I/usr/include/mysql -DHAS_MYSQL=1 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1
> -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING
> -D_REENTRANT -fno-exceptions  -Wall  -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
> -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic
> -fasynchronous-unwind-tables -DNDEBUG -I/usr/share/pwlib/include
> -DPTRACING -I/usr/include/openh323 -DMAJOR_VERSION=2 -DMINOR_VERSION=2
> -DBUILD_NUMBER=7 -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
> --param=ssp-buffer-size=4  -fexceptions -fomit-frame-pointer -march=i586
> -mtune=generic -fasynchronous-unwind-tables -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
> -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic
> -fasynchronous-unwind-tables -DLDAP_DEPRECATED  -c RasTbl.cxx -o
> obj_linux_x86_r/RasTbl.o
> GkStatus.cxx: In function 'PString<unnamed>::PrintGkVersion()':
> GkStatus.cxx:483: error: 'class Toolkit' has no member named 'GetName'
> 
> this is due to a bogus change made a week ago in CVS: 
> 
> http://openh323gk.cvs.sourceforge.net/openh323gk/openh323gk/Toolkit.h?revision=1.55&view=markup
> 
> this is logged as "cleanup: remove unused code", but part of that code
> is actually used, as the above build error shows :). Reverting to
> revision 1.54 of Toolkit.h resolves that build error.
> -- 
> adamw
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________________
> 
> 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/
> 


-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________________

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