cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: compile question Solaris 5.8, curl 7.15.4

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 27 Jul 2006 18:17:15 -0700

On Thu, Jul 27, 2006 at 06:52:56PM -0500, Kevin Martin wrote:
> file.c: In function `Curl_file_connect':
> file.c:154: warning: implicit declaration of function `open'
> file.c:154: warning: nested extern declaration of `open'
> file.c: In function `Curl_file_done':
> file.c:177: warning: implicit declaration of function `close'
> file.c:177: warning: nested extern declaration of `close'
> file.c: In function `Curl_file':
> file.c:330: warning: implicit declaration of function `gmtime'
> file.c:330: warning: nested extern declaration of `gmtime'
> file.c:330: warning: assignment makes pointer from integer without a cast
> file.c:335: error: dereferencing pointer to incomplete type
> file.c:335: error: dereferencing pointer to incomplete type
> file.c:336: error: dereferencing pointer to incomplete type
> file.c:337: error: dereferencing pointer to incomplete type
> file.c:338: error: dereferencing pointer to incomplete type
> file.c:339: error: dereferencing pointer to incomplete type
> file.c:340: error: dereferencing pointer to incomplete type
> file.c:341: error: dereferencing pointer to incomplete type
> file.c:365: warning: implicit declaration of function `lseek'
> file.c:365: warning: nested extern declaration of `lseek'
> file.c:370: warning: implicit declaration of function `read'
> file.c:370: warning: nested extern declaration of `read'

These are pretty basic definitions, and they're working on other Solaris
systems (see the autobuilds page). I suspect your config.h file isn't
being populated properly by configure, due to some kind of configuration
problem. Are there definitions for HAVE_UNISTD_H, HAVE_FCNTL_H,
HAVE_TIME_H? What build options are you using now?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-07-28