cURL / Mailing Lists / curl-library / Single Mail

curl-library

hostip.c compile error

From: Andrés García <fandom_at_retemail.es>
Date: Tue, 20 Apr 2004 11:09:27 +0200

Hi,

I got this error while compiling curl this morning:

 gcc -DHAVE_CONFIG_H -I../../curl/include -I../lib -I../../curl/lib
-I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-I/usr/local/include -g -O2 -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c
../../curl/lib/hostip.c -DDLL_EXPORT -DPIC -o .libs/hostip.o
../../curl/lib/hostip.c: In function `Curl_wait_for_resolv':
../../curl/lib/hostip.c:1521: structure has no member named `name'
../../curl/lib/hostip.c:1526: structure has no member named `name'

I think the attached patch will fix it.

Andres

Received on 2004-04-20