cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compilation problem

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 8 Nov 2004 00:04:55 +0100 (CET)

On Sun, 7 Nov 2004, Jean-Philippe Barrette-LaPierre wrote:

> url.c:89:17: tld.h: No such file or directory
> url.c: In function `tld_check_name':
> url.c:2098: warning: implicit declaration of function `tld_check_lz'
> url.c:2099: error: `TLD_INVALID' undeclared (first use in this function)
> url.c:2099: error: (Each undeclared identifier is reported only once
> url.c:2099: error: for each function it appears in.)
> url.c:2108: error: `TLD_SUCCESS' undeclared (first use in this function)
>
> It seems that the test for libidn is missing...

No, the test is there all right. Check just above your line 89 in lib/url.c.

But it might be that you have a very old libidn installed? Or possibly that
the headers for libidn weren't found while the lib itself was?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-08