Dear pablo, I did Compile me GnuGk this way , and worked , Yes ,I could only compile my GK by this method .this option ( --enable-openh323) did realy confused me too. Regads, Pablo Endres wrote: >Hi people, > >I finally got this working. The problem was in the --enable-openh323 >used to configure pwlib. Tested building everything with no switches >and worked great, then rebuild gnugk with the options below everything >worked A OK. > > > > >On Thu, 2006-09-21 at 23:38 -0400, Pablo Endres wrote: > > >>Hi there, >> >>I've been trying to build gnugk-2.2.4 all day with 3 different machines >>(to test different versions of gcc) all with the same result: it didn't >>work. The all gave me the same error, so the error probably is mine. >> >>Here is what I'm doing: >> * pwlib-1.11.0: ./configure --enable-openh323 >> * openh323-1.18: ./configure >> * gnugk-2.2.4: ./configure --enable-radius >> --with-large-fdset=12288 >> 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 /root/pwlib/include/ptlib.h... yes >> checking for ptlib-config... /root/pwlib/make/ptlib-config >> PWLib prefix set to /root/pwlib >> PTLib version is 1.11.0 >> checking for /root/pwlib/../openh323/version.h... yes >> OpenH323 prefix set to /root/pwlib/../openh323 >> checking for /root/pwlib/../openh323/version.h... (cached) yes >> OpenH323 version is 1.18.0 >> RADIUS support enabled >> LARGE FDSET support enabled >> 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... no >> configure: WARNING: pgsql headers not found. Use >> --with-pgsql-include-dir=<path>configure: WARNING: PostgreSQL >> disabled >> PostgreSQL support disabled >> 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.4 >> configure: creating ./config.status >> config.status: creating Makefile >> [root@sip1 gnugk-2.2.4]# make depend >> make: *** No rule to make target `depend'. Stop. >> [root@sip1 gnugk-2.2.4]# make optnoshared >> make P_SHAREDLIB=0 opt >> make[1]: Entering directory `/usr/src/gnugk-2.2.4' >> g++ -I/usr/include/mysql -DHAS_MYSQL=1 -DLARGE_FDSET=12288 >> -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1 -D'MANUFACTURER=GNU' >> -D'PROGRAMMNAME=Gatekeeper' -DPTRACING -DP_USE_PRAGMA >> -D_REENTRANT -Wall -I/root/openh323/../pwlib/include -DPTRACING >> -I/root/openh323/include -DMAJOR_VERSION=2 -DMINOR_VERSION=2 >> -DBUILD_NUMBER=4 -O2 -felide-constructors -Wreorder -c main.cxx >> -o obj_linux_x86_r/main.o >> In file included from main.cxx:21: >> gk.h:110: error: `PConfig' was not declared in this scope >> gk.h:110: error: `cfg' was not declared in this scope >> gk.h:111: error: syntax error before `&' token >> make[1]: *** [obj_linux_x86_r/main.o] Error 1 >> make[1]: Leaving directory `/usr/src/gnugk-2.2.4' >> make: *** [optnoshared] Error 2 >> >>Got the same results with FC{1,4,5} using gcc 3.3.2, 4.0.2, 4.1.1 >>respectivly. >> >>Any ideas? >>Thanks in advance >>Pablo >> >>-- >>Pablo Endres Lozada >> >>Hacker ('ha-k&r), noun: A clever person who has a natural curiosity, >>likes to know how things work and is interested in circumvention >>techniques or exploiting processes to see what happens. >> >> >>------------------------------------------------------------------------- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>opinions on IT & business topics through brief surveys -- and earn cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________________ >> >>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/ >> >> -- /) (\ / ) Amir Hossein Shenavandeh ( \ _( (_ _ phone: (+98 711 6278427) _) )_ (((\ \> /_> cellphone: (+98 917 315 4683) <_\ </ /))) (\\\\ \_/ / email: shenavandeh at gmail.com \ \_/ ////) \ / \ / \ _/ "Intelligence is the ability to avoid doing \_ / / / work, yet getting the work done" --Linus Torvalds \ \ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________________ 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/