curl-users
Building Curl 7.15.4: ares_getsock ??
Date: Fri, 16 Jun 2006 02:42:55 -0400
I can't find where this is coming from; I had been using c-ares 1.2.1 for
building curl, and got this error:
Making all in lib
make[1]: Entering directory `/usr/local/src/curl-7.15.4/lib'
make all-am
make[2]: Entering directory `/usr/local/src/curl-7.15.4/lib'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/curl-7.15.4/lib'
make[1]: Leaving directory `/usr/local/src/curl-7.15.4/lib'
Making all in src
make[1]: Entering directory `/usr/local/src/curl-7.15.4/src'
make all-am
make[2]: Entering directory `/usr/local/src/curl-7.15.4/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -pipe -O2 -L/usr/local/lib
-o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o
homedir.o strtoofft.o timeval.o ../lib/libcurl.la -lcares -lidn
-lssl -lcrypto -ldl -lz
gcc -pipe -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o
writeenv.o getpass.o homedir.o strtoofft.o timeval.o
-L/usr/local/lib ../lib/.libs/libcurl.so /usr/local/lib/libcares.so
/usr/lib/libidn.so -lssl -lcrypto -ldl -lz
../lib/.libs/libcurl.so: undefined reference to `ares_getsock'
collect2: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/usr/local/src/curl-7.15.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/curl-7.15.4/src'
make: *** [all-recursive] Error 1
-2- root_at_atr2 src/curl-7.15.4
There's no mention of ares_getsock in any of this c-ares' headers either.
I see there's a new(er) c-ares than mine, OK, download & upgrade...
c-ares-1.3.0. Before I go to install it, I grep thru the sources and there's
no ares_getsock here either, so this is not likely to solve my problem. nm
shows there's no symbol "ares_getsock" in the newly built shared library,
either. In fact, the only place I do see it is in the curl-7.15.4 source,
lib/hostares.c, line 112, in use (but not defined).
Checking Google for ares_getsock turns up something about a "hiper patch"?
What could the problem be?
linux, 2.6.16.18, gcc 4.1.1, configure command was:
./configure '--prefix=/usr' '--enable-shared' '--enable-static'
'--enable-http' '--enable-ftp' '--enable-gopher'
'--enable-file' '--enable-ldap' '--enable-dict' '--enable-telnet'
'--enable-manual' '--disable-ipv6' '--enable-nonblocking'
'--enable-thread' '--enable-ares=/usr/local' '--enable-verbose'
'--disable-debug' '--enable-crypto-auth' '--enable-cookies'
'--with-gnu-ld' '--with-ssl=/usr'
'--with-ca-bundle=/usr/share/curl/ca-bundle.pem' '--with-zlib=/usr'
'--with-libidn=/usr'
Received on 2006-06-16