Discussion:
gnupg 2.0.9 build failed: `curl_version_info_data' undeclared
(too old to reply)
Daniel Norton
2008-07-18 13:26:37 UTC
Permalink
Any clues? Configured and built with defaults.

gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../common -I../intl -
DLOCALEDIR=\"/usr/local/share/locale\" -DGNUPG_BINDIR="\"/usr/local/bin
\"" -DGNUPG_LIBEXECDIR="\"/usr/local/libexec\"" -DGNUPG_LIBDIR="\"/usr/
local/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/local/share/gnupg\"" -
DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\"" -I/usr/local/
include -I/usr/local/include -g -O2 -Wall -Wpointer-arith -MT
gpg2keys_curl-gpgkeys_curl.o -MD -MP -MF .deps/gpg2keys_curl-
gpgkeys_curl.Tpo -c -o gpg2keys_curl-gpgkeys_curl.o `test -f
'gpgkeys_curl.c' || echo './'`gpgkeys_curl.c
gpgkeys_curl.c: In function `main':
gpgkeys_curl.c:118: `curl_version_info_data' undeclared (first use in
this function)
gpgkeys_curl.c:118: (Each undeclared identifier is reported only once
gpgkeys_curl.c:118: for each function it appears in.)
gpgkeys_curl.c:118: `curldata' undeclared (first use in this function)
gpgkeys_curl.c:118: warning: statement with no effect
gpgkeys_curl.c:274: warning: implicit declaration of function
`curl_version_info'
gpgkeys_curl.c:274: `CURLVERSION_NOW' undeclared (first use in this
function)
make: *** [gpg2keys_curl-gpgkeys_curl.o] Error 1

config.log here: http://www.danielnorton.net/gpg/config.log

Thanks.

--
Daniel
Daniel Norton
2008-07-18 13:56:09 UTC
Permalink
It looks like configure failed to detect that my version of libcurl
lacks functions it needs. I'll date my libcurl and follow up.

Thanks.

--
Daniel
David W. Hodgins
2008-07-18 15:10:08 UTC
Permalink
Post by Daniel Norton
gpgkeys_curl.c:118: `curl_version_info_data' undeclared (first use in
this function)
Looks like you need a newer version of curl ...

In /usr/include/curl/curl.h, I have
* $Id: curl.h,v 1.341 2008-01-10 10:30:20 bagder Exp $
#include "curlver.h" /* the libcurl version defines */

In /usr/include/curl/curlver.h, I have
#define LIBCURL_VERSION "7.18.0"

Or you could try ./configure --without-libcurl, then make.

Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Loading...