Hi Amir, I use PWLib 1.10.0 and OpenH323 1.18.0 and it compiles just fine here. Your configure output shows pretty strange paths for PWlib and OpenH323. Make sure you have only one version of those libs installed and if needed set the path explicitely in the PWLIBDIR and OPENH323 environment variables. Regards, Jan H Shenavandeh wrote: > Hello everyone, > > I updated from CVS and i did the following but I am not still successful > in compiling the cvs version .. > I tried to compile the CVS version using pwlib_v1_10_0 and > openh323_v1_18_0 by gcc version 4.0.0 ,But I got the following Error . > I did try using pwlib-v1_11_1 and openh323-v1_19_0_1 with little changes > in the source code > but the result was the same . > I added the Lines > > #ifndef _PCONFIG > #error config.h is not accessible! > #endif > > in gk.h but _PCONFIG was also defined . > what versions of PWlib and OpenH323 are suitable for compilation of CVS > Version ? > Is the code needed to be changed or I am doing something wrong ? > > B Regards, > > [root@home openh323gk]# ./configure > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking if MSG_NOSIGNAL is supported by recv call... yes > checking for /usr/local/include/ptlib.h... yes > checking for ptlib-config... /usr/local/share/pwlib/make/ptlib-config > PWLib prefix set to /usr/local/share/pwlib > PTLib version is 1.10.0 > checking for /usr/local/share/pwlib/../openh323/version.h... no > checking for /usr/local/include/openh323/h323.h... yes > OpenH323 prefix set to /usr/local > checking for /usr/local/version.h... no > checking for /usr/local/share/openh323//openh323buildopts.h... no > checking for > /usr/local/share/openh323//../../include/openh323/openh323buildopts.h... > yes > OpenH323 version is 1.18.0 > RADIUS support enabled > LARGE FDSET support disabled > checking for compress in -lz... yes > checking for mysql.h... yes > checking for mysql_init in -lmysqlclient... yes > MySQL support enabled > checking for libpq-fe.h... yes > checking for PQconnectdb in -lpq... yes > PostgreSQL support enabled > checking for ibase.h... no > configure: WARNING: Firebird headers not found. Use > --with-firebird-include-dir=<path> > configure: WARNING: Firebird disabled > Firebird support disabled > GNU Gatkeeper version is 2.2.5 > configure: creating ./config.status > config.status: creating Makefile > > > [root@home openh323gk]# make opt > g++ -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 -Wall -I/usr/local/share/pwlib/include > -DPTRACING -I/usr/local/include/openh323 -DMAJOR_VERSION=2 > -DMINOR_VERSION=2 -DBUILD_NUMBER=5 -O2 -felide-constructors -c main.cxx > -o obj_linux_x86_r/main.o > gk.h:110: error: ‘PConfig’ has not been declared > make: *** [obj_linux_x86_r/main.o] Error 1 > [root@home openh323gk]# > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________________ > > Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users > Homepage: http://www.gnugk.org/ > -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/