After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 257811 - Problem compiling libsoup-2.1.9
Problem compiling libsoup-2.1.9
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Dan Winship
Gerardo Marin
: 265502 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-04-29 04:30 UTC by Pierre
Modified: 2005-03-14 22:24 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Pierre 2004-04-29 04:30:35 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
Comment 1 Dan Winship 2004-06-01 17:29:17 UTC
you need a newer gnutls
Comment 2 Pierre 2004-06-04 06:03:55 UTC
I just installed gnutls 1.1.9 and I still have the same problem.
Comment 3 Dan Winship 2004-06-07 13:42:08 UTC
hm... you may need an *older* gnutls then... is 1.1.9 an unstable/
development branch?

we're building against 1.0.4
Comment 4 Pierre 2004-06-07 15:19:31 UTC
Yes 1.1.x is the unstable branch.
Couldn't you support it too ?
Comment 5 Dan Winship 2004-06-07 15:49:14 UTC
maybe... send a patch. :)

Comment 6 Pierre 2004-06-09 13:07:10 UTC
Hum too hard for me :(
But in the meantime you could add a check to the configure who will
avoid the build failure...
Comment 7 Martin Wolf 2004-09-08 06:48:56 UTC
I made a patch http://shiba.dk/pazo/gnutls_update.patch
Comment 8 Martin Wolf 2004-09-08 06:51:45 UTC
*** bug 265502 has been marked as a duplicate of this bug. ***
Comment 9 Pierre 2004-09-23 21:23:25 UTC
Same problem with libsoup 2.2.0
Comment 10 Pierre 2004-12-06 07:55:33 UTC
Same problem with libsoup 2.2.1
Comment 11 Daniel Black 2005-02-10 21:52:13 UTC
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. 
Comment 12 Pierre 2005-03-12 00:10:50 UTC
I have installed gnutls 1.2.0 and I always have this problem with
libsoup 2.2.2
Comment 13 Dan Winship 2005-03-14 22:24:37 UTC
fixed in 2.2.3