gnugk、Openh323、ptlib的版本对应问题

101 篇文章 0 订阅
87 篇文章 2 订阅

编译Openh323、ptlib时经常碰见版本不匹配问题,下面给出版本对应关系:

 

 

Compiling the GNU Gatekeeper

I would suggest to compile GnuGk with either

OpenH323 Atlas:
OpenH323 1.18.0 for Unix and PWLib 1.10.3 for Unix
OpenH323 1.18.0 for Windows and PWLib 1.10.3 for Windows

or

H323Plus 1.20:
www.h323plus.org/source/

You also need the OpenSSL libs and the libraries for your database backend (MySQL, PostgreSQL, Firebird).

On most Unix distributions you should install the 'openssl-devel' package to have OpenSSL libraries and headers available. For Windows, install Win32 OpenSSL (not the 'Light' version) and add the lib and include path to your Visual Studio settings.

 

Unix

GnuGk 2.2.x on Unix can be configured with "./configure". Please type "./configure --help" for details.

Type "make debug" or "make opt" to compile.

GCC 3.x, GCC 4.1.x and GCC 4.2.x work fine for compiling GnuGk. (GCC 2.95.x is too old.)

 

Windows

On Windows just build the included Visual Studio .NET (Visual C++ 7.0) project gk.sln or the Visual C++ 2005 Express project gk_2005.sln or the Visual Studio 2008 Express project gk_2008.sln. Visual C++ 6.0 and 5.0 are no longer supported.

The auto-config (./configure) feature is currently not available on Windows and the config options are set with HAS_xxx defines in the project file.

<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-7552728900434210&dt=1210685099218&lmt=1207141652&alternate_ad_url=http%3A%2F%2Fwww.gnugk.org%2Fmin.html&format=728x90_as&output=html&correlator=1210685099218&url=http%3A%2F%2Fwww.gnugk.org%2Fcompiling-gnugk.html&color_bg=FFFFFF&color_text=000000&color_link=0000F0&color_url=000000&color_border=CCCCCC&ref=http%3A%2F%2Fwww.gnugk.org%2Fh323download.html&frm=0&cc=458&ga_vid=3049126504691575000.1210685099&ga_sid=1210685099&ga_hid=984891987&flash=9.0.115.0&u_h=768&u_w=1024&u_ah=734&u_aw=1024&u_cd=32&u_tz=480&u_his=3&u_java=true" frameborder="0" width="728" scrolling="no" height="90" allowtransparency="allowtransparency">

 

"Known Good" Combinations

The GNU Gatekeeper depends on the OpenH323 library along with the underlying PWLib and some other libraries. Some combinations produce strange results, so here are a few notes about known issues and known good combinations.

GnuGkOpenH323PWLibOther
2.2.7OpenH323 1.18.01.10.3 
2.2.7H323Plus 1.20.22.0.1ignore warnings about missing version, fixed in 2.0.1-4
2.2.7H323Plus 1.19.61.12.0 
2.2.6OpenH323 1.18.01.10.3 
2.2.6OpenH323 1.18.01.10.0 
2.2.5OpenH323 1.18.01.10.0 
2.2.4OpenH323 1.18.01.10.0 
2.2.4OpenH323 1.15.61.8.7 
2.2.3OpenH323 1.15.61.8.7 
2.2.3OpenH323 1.14.4.21.7.5.2OpenSSL 0.9.7b
2.2.2OpenH323 1.17.21.9.1 
2.2.2OpenH323 1.15.21.8.3 
2.2.2OpenH323 1.14.4.21.7.5.2OpenSSL 0.9.7b
2.2.1OpenH323 1.15.31.8.4MacOS X
2.2.1OpenH323 1.14.4.21.7.5.2OpenSSL 0.9.7b
2.0.9OpenH323 1.15.01.8.0OpenSSL 0.9.7a

<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-7552728900434210&dt=1210685099328&lmt=1207141652&alternate_ad_url=http%3A%2F%2Fwww.gnugk.org%2Fmin.html&prev_fmts=728x90_as&format=728x90_as&output=html&correlator=1210685099218&url=http%3A%2F%2Fwww.gnugk.org%2Fcompiling-gnugk.html&color_bg=FFFFFF&color_text=000000&color_link=0000F0&color_url=000000&color_border=CCCCCC&ref=http%3A%2F%2Fwww.gnugk.org%2Fh323download.html&frm=0&cc=458&ga_vid=3049126504691575000.1210685099&ga_sid=1210685099&ga_hid=984891987&flash=9.0.115.0&u_h=768&u_w=1024&u_ah=734&u_aw=1024&u_cd=32&u_tz=480&u_his=3&u_java=true" frameborder="0" width="728" scrolling="no" height="90" allowtransparency="allowtransparency">

 

Troubleshooting

Please submit more notes.

OSGnuGk VersionOpenH323 / PWLibNote
All2.2.7H323Plus/PTLib 2.0.1gives compile warning "Can't detect PWLib/PTLib version", which can be ignored for this version of PTLib, or use OpenH323 Atlas
UnixAllOpenH323 Atlas (1.18.0)gives a few compile warnings with gcc 4.2.x that can be ignored
AllAllAlldo not configure PWLib with --enable-openh323; GnuGk needs some features not used by OpenH323
Unix2.2.3Allmust use gcc <= 4.0.2 to compile; gcc 4.0.3 doesn't work, fixed for GnuGk 2.2.4
All>= 2.2.3PWLib 1.8.xuse at least PWLib 1.8.0 for full ENUM support
Windows>= 2.2.3Allmust use Visual Studio .NET to compile, won't compile with Visual C++ 6
Unix2.2.xAllmust use gcc >= 3.3.x to compile
FreeBSD 5.3, 5.42.2.xPWLib 1.8.3, OpenH323 1.15.2modify source to include stdlib.h:
for i in `find openh323/ -name "*.c" -or -name "*.cxx" | grep plugin`; /
do echo $i; cat $i | sed 's/<malloc.h>/<stdlib.h>/' > $i.tmp ; /
mv $i.tmp $i; done
All2.0.9PWLib < 1.6.xGnuGk needs at least PWLib 1.6.x to work correctly
UnixAllPWLib >= 1.7.xadd LDFLAGS += -static to the PWLib Makefile to get a fully static executable
Unix2.0.xPWLib 1.6.xyou must compile PWLib with 'configure --enable-rtti'
All2.2 beta 4OpenH323 1.13.xcompiling GnuGk with LARGE_FDSET seems to burn less CPU in proxy mode

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值