Dear:
I download pwlib_v1_9_1 &
openh323_v1_17_2
and download GNUGK_2.2.2 &
2.2.3 two version
But compile gnugk
problem
this display
================================================
[root@fc31
gnugk-2.2.2]# make opt
autoconf
./config.status --recheck
running /bin/sh ./configure --prefix=/usr/local/gnugk --disable-radius --disable-mysql --disable-pgsql --no-create --no-recursion
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.9.1
checking for /root/openh323_v1_17_2/openh323u.mak... yes
OpenH323 prefix set to.... /root/openh323_v1_17_2
checking for /root/openh323_v1_17_2/version.h... yes
OpenH323 version is 1.17.2
RADIUS support disabled
LARGE FDSET support disabled
MySQL support disabled
PostgreSQL support disabled
GNU Gatkeeper version is 2.2.2
configure: creating ./config.status
./config.status
config.status: creating Makefile
g++ -DHAS_MSG_NOSIGNAL=1 -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -Wall -I/usr/local/share/pwlib//include -DPTRACING -I/root/openh323_v1_17_2/include -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=2 -Os -felide-constructors -x c++ -c main.cxx -o obj_linux_x86_r/main.o
In file included from main.cxx:21:
gk.h:110: error: `PConfig' has not been declared
gk.h:112: error: ISO C++ forbids declaration of `cfg' with no type
make: *** [obj_linux_x86_r/main.o] Error 1
================================================
autoconf
./config.status --recheck
running /bin/sh ./configure --prefix=/usr/local/gnugk --disable-radius --disable-mysql --disable-pgsql --no-create --no-recursion
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.9.1
checking for /root/openh323_v1_17_2/openh323u.mak... yes
OpenH323 prefix set to.... /root/openh323_v1_17_2
checking for /root/openh323_v1_17_2/version.h... yes
OpenH323 version is 1.17.2
RADIUS support disabled
LARGE FDSET support disabled
MySQL support disabled
PostgreSQL support disabled
GNU Gatkeeper version is 2.2.2
configure: creating ./config.status
./config.status
config.status: creating Makefile
g++ -DHAS_MSG_NOSIGNAL=1 -D'MANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING -DP_USE_PRAGMA -D_REENTRANT -fno-exceptions -Wall -I/usr/local/share/pwlib//include -DPTRACING -I/root/openh323_v1_17_2/include -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=2 -Os -felide-constructors -x c++ -c main.cxx -o obj_linux_x86_r/main.o
In file included from main.cxx:21:
gk.h:110: error: `PConfig' has not been declared
gk.h:112: error: ISO C++ forbids declaration of `cfg' with no type
make: *** [obj_linux_x86_r/main.o] Error 1
================================================
i don't know what or
where is PConfig has not been declard
so,How to solve this
problem
THK
Mac