GNOME Bugzilla – Bug 257811
Problem compiling libsoup-2.1.9
Last modified: 2005-03-14 22:24:37 UTC
# gmake gmake all-recursive gmake[1]: Entering directory `/tmp/libsoup-2.1.9' Making all in libsoup gmake[2]: Entering directory `/tmp/libsoup-2.1.9/libsoup' gmake all-am gmake[3]: Entering directory `/tmp/libsoup-2.1.9/libsoup' source='soup-gnutls.c' object='soup-gnutls.lo' libtool=yes \ depfile='.deps/soup-gnutls.Plo' tmpdepfile='.deps/soup-gnutls.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libsoup\" -I.. -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -s -O3 -march=i686 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c -o soup-gnutls.lo `test -f 'soup-gnutls.c' || echo './'`soup-gnutls.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libsoup\" -I.. -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -s -O3 -march=i686 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c soup-gnutls.c -MT soup-gnutls.lo -MD -MP -MF .deps/soup-gnutls.TPlo -fPIC -DPIC -o .libs/soup-gnutls.o soup-gnutls.c: In function `verify_certificate': soup-gnutls.c:60: error: `GNUTLS_CERT_NOT_TRUSTED' undeclared (first use in this function) soup-gnutls.c:60: error: (Each undeclared identifier is reported only once soup-gnutls.c:60: error: for each function it appears in.) soup-gnutls.c:82: warning: implicit declaration of function `gnutls_x509_crt_init' soup-gnutls.c:95: warning: implicit declaration of function `gnutls_x509_crt_import' soup-gnutls.c:101: warning: implicit declaration of function `gnutls_x509_crt_check_hostname' gmake[3]: *** [soup-gnutls.lo] Error 1 gmake[3]: Leaving directory `/tmp/libsoup-2.1.9/libsoup' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/tmp/libsoup-2.1.9/libsoup' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/libsoup-2.1.9' gmake: *** [all] Error 2
you need a newer gnutls
I just installed gnutls 1.1.9 and I still have the same problem.
hm... you may need an *older* gnutls then... is 1.1.9 an unstable/ development branch? we're building against 1.0.4
Yes 1.1.x is the unstable branch. Couldn't you support it too ?
maybe... send a patch. :)
Hum too hard for me :( But in the meantime you could add a check to the configure who will avoid the build failure...
I made a patch http://shiba.dk/pazo/gnutls_update.patch
*** bug 265502 has been marked as a duplicate of this bug. ***
Same problem with libsoup 2.2.0
Same problem with libsoup 2.2.1
http://bugs.gentoo.org/show_bug.cgi?id=79161 The patch is good. gnutls has released a stable 1.2.0 branch. This bug now is going to occur with the stable version of gnutls.
I have installed gnutls 1.2.0 and I always have this problem with libsoup 2.2.2
fixed in 2.2.3