Gnugk, openh323, and ptlib versions

Source: Internet
Author: User

When compiling openh323 and ptlib, we often encounter version mismatch issues. The following describes the version ing relationship:

 

 

Compiling the GNU keeper

I wocould 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 shoshould 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.xAndGCC 4.2.xWork fine for compiling gnugk. (GCC 2.95.x is too old .)

 

Windows

On Windows just build the supported DEDVisual Studio. NET (Visual C ++ 7.0) Project GK. slnOrVisual c ++ 2005 Express project gk_2005.slnOrVisual maxcompute 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.

 

"Known good" combinations

The GNU keeper 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.

Gnugk Openh323 Pwlib Other
2.2.7 Openh323 1.18.0 1.10.3  
2.2.7 H323plus 1.20.2 2.0.1 Ignore warnings about missing version, fixed in 2.0.1-4
2.2.7 H323plus 1.19.6 1.12.0  
2.2.6 Openh323 1.18.0 1.10.3  
2.2.6 Openh323 1.18.0 1.10.0  
2.2.5 Openh323 1.18.0 1.10.0  
2.2.4 Openh323 1.18.0 1.10.0  
2.2.4 Openh323 1.15.6 1.8.7  
2.2.3 Openh323 1.15.6 1.8.7  
2.2.3 Openh323 1.14.4.2 1.7.5.2 OpenSSL 0.9.7b
2.2.2 Openh323 1.17.2 1.9.1  
2.2.2 Openh323 1.15.2 1.8.3  
2.2.2 Openh323 1.14.4.2 1.7.5.2 OpenSSL 0.9.7b
2.2.1 Openh323 1.15.3 1.8.4 MacOS X
2.2.1 Openh323 1.14.4.2 1.7.5.2 OpenSSL 0.9.7b
2.0.9 Openh323 1.15.0 1.8.0 OpenSSL 0.9.7a

 

Troubleshooting

Please submit more notes.

OS Gnugk version Openh323/pwlib Note
All 2.2.7 H323plus/ptlib 2.0.1 Gives compile warning "can't detect pwlib/ptlib version", which can be ignored for this version of ptlib, or use openh323 Atlas
UNIX All Openh323 Atlas (1.18.0) Gives a few compile warnings with GCC 4.2.x that can be ignored
All All All Do notConfigure pwlib with -- enable-openh323; gnugk needs some features not used by openh323
UNIX 2.2.3 All Must use GCC <= 4.0.2 to compile; GCC 4.0.3 doesn't work, fixed for gnugk 2.2.4
All > = 2.2.3 Pwlib 1.8.x Use at least pwlib 1.8.0 for full Enum support
Windows > = 2.2.3 All Must use Visual Studio. NET to compile, won't compile with Visual C ++ 6
UNIX 2.2.x All Must use GCC> = 3.3.x to compile
FreeBSD 5.3, 5.4 2.2.x Pwlib 1.8.3, openh323 1.15.2 Modify 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
All 2.0.9 Pwlib <1.6.x Gnugk needs at least pwlib 1.6.x to work correctly
UNIX All Pwlib> = 1.7.x Add ldflags + =-static to the pwlib makefile to get a fully static executable
UNIX 2.0.x Pwlib 1.6.x You must compile pwlib with 'configure -- enable-rtti'
All 2.2 beta 4 Openh323 1.13.x Compiling gnugk with large_fdset seems to burn less CPU in proxy Mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.