cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Error when making on DG-UX

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 7 Dec 2001 16:09:53 +0100 (MET)

On Fri, 7 Dec 2001, Michal Bonino wrote:

> Undefined first referenced
> symbol in file
>
> gmtime_r ../lib/.libs/libcurl.a(http.o)

(quoted from lib/http.c line 740)

    /* We assume that the presense of localtime_r() proves the presense
      of gmtime_r() which is a bit ugly but might work */

If you edit your config.h file manually and make sure that HAVE_LOCALTIME_R
is *not* defined and rebuild, it should work better...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-12-07