Hi, I am getting the following compilation errors when trying to make
gloox. I installed the gnutls-devel and gnutls packages as well as
the iksemel and iksemel-devel packages for prerequisites... Anyone
know what I am doing wrong?
Thanks,
Dan
[root@server1 gloox-0.8.7-sic]# make
make all-recursive
make[1]: Entering directory `/home/pwdev/xmpp/gloox-0.8.7-sic'
Making all in src
make[2]: Entering directory `/home/pwdev/xmpp/gloox-0.8.7-sic/src'
Making all in .
make[3]: Entering directory `/home/pwdev/xmpp/gloox-0.8.7-sic/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.. -Wall -pedantic -pipe -W -Wfloat-equal -Wcast-align
-Wsign-compare -Wpointer-arith -Wswitch -Wunknown-pragmas -Wconversion
-Wundef -Wcast-qual -ansi -g -O2 -MT connection.lo -MD -MP -MF
".deps/connection.Tpo" -c -o connection.lo connection.cpp; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Plo"; else rm -f
".deps/connection.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -pedantic -pipe -W
-Wfloat-equal -Wcast-align -Wsign-compare -Wpointer-arith -Wswitch
-Wunknown-pragmas -Wconversion -Wundef -Wcast-qual -ansi -g -O2 -MT
connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.cpp
-fPIC -DPIC -o .libs/connection.o
In file included from connection.cpp:18:
connection.h:197: error: `gnutls_x509_crt_t' has not been declared
connection.h:197: error: `gnutls_x509_crt_t' has not been declared
connection.h:197: error: ISO C++ forbids declaration of `cert' with no type
connection.h:197: error: ISO C++ forbids declaration of `CAList' with no type
connection.h:198: error: `gnutls_x509_crt_t' has not been declared
connection.h:198: error: `gnutls_x509_crt_t' has not been declared
connection.h:198: error: ISO C++ forbids declaration of `cert' with no type
connection.h:198: error: ISO C++ forbids declaration of `issuer' with no type
connection.h:200: error: `gnutls_session_t' does not name a type