This error is corrected already in the cvs - so you can checkout the current cvs version that compiles fine with unix ldap. Alternativelly, you can add #include <ptlib/sockets.h> line to ldaplink.cxx to solve the problem. ----- Original Message ----- From: "Nuno Carvalho" <ig3615@xxxxxxxxxxxxx> Sent: Tuesday, August 03, 2004 1:27 PM > I'm using gnugk-2.0.8... > > $HAS_LDAP=1 make clean > $HAS_LDAP=1 make bothdepend > $HAS_LDAP=! make both > ........... > g++ -DHAS_ACCT=1 -DHAS_RADIUS=1 -DHAS_LDAP=1 -DLDAP_HAS_CACHE > -DHAS_WAITARQ=1 -DP_LINUX=2.6.5-1.358 -ffunction-sections -D_REENTRANT > -Wall -DP_USE_PRAGMA -DPHAS_TEMPLATES > -I/root/projecto/pwlib/include/ptlib/unix -I/usr/include/pwlib > -I/root/projecto/pwlib/include -DPTRACING > -I/root/projecto/openh323/include -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=1 > -DMINOR_VERSION=12 -DBUILD_NUMBER=2 -DP_USE_PRAGMA -Os -DNDEBUG -x c++ > -c ldaplink.cxx -o obj_linux_x86_r/ldaplink.o > In file included from ldaplink.cxx:43: > GkStatus.h:35: error: syntax error before `::' token > GkStatus.h:152: error: syntax error before `::' token > GkStatus.h:153: error: 'PTCPSocket' is used as a type, but is not > defined as a > type. > make: *** [obj_linux_x86_r/ldaplink.o] Error 1 > > > GKStatus.h:35 void Initialize(const PIPSocket::Address &); > > GKStatus.h:152 PIPSocket::Address GKHome; > PTCPSocket StatusListener; > std::list<Client *> Clients; > > Nuno ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/