cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

compile question Solaris 5.8, curl 7.15.4

From: Kevin Martin <kevintm_at_ameritech.net>
Date: Thu, 27 Jul 2006 18:52:56 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am getting this when I try to "make" curl:

(1848:Thu,Jul 27 2006:$) make
Making all in lib
make[1]: Entering directory ` /curl/curl-7.15.4/lib'
make all-am
make[2]: Entering directory ` /curl/curl-7.15.4/lib'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/usr/include/sys
- -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DCURLDEBUG -g -g -W -Wall -Wwrite-strings
- -pedantic -Wpointer-arith -Wnested-externs -Winline -Wmissing-prototypes -Wmissing-declarations -Wundef -Wno-long-long
- -Wsign-compare -Wfloat-equal -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -isystem
/usr/include/sys -isystem /usr/local/ssl/include -isystem /usr/local/ssl/include/openssl -isystem /usr/local/ssl/include -MT file.lo
- -MD -MP -MF ".deps/file.Tpo" -c -o file.lo file.c; \
then mv -f ".deps/file.Tpo" ".deps/file.Plo"; else rm -f ".deps/file.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/usr/include/sys -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
- -I/usr/local/ssl/include -DCURLDEBUG -g -g -W -Wall -Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs -Winline
- -Wmissing-prototypes -Wmissing-declarations -Wundef -Wno-long-long -Wsign-compare -Wfloat-equal -Wno-format-nonliteral
- -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -isystem /usr/include/sys -isystem /usr/local/ssl/include -isystem
/usr/local/ssl/include/openssl -isystem /usr/local/ssl/include -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o
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'
make[2]: *** [file.lo] Error 1
make[2]: Leaving directory ` /curl/curl-7.15.4/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory ` /curl/curl-7.15.4/lib'
make: *** [all-recursive] Error 1

Lines 335 and up in file.c are:

333 snprintf(buf, BUFSIZE-1,
334 "Last-Modified: %s, %02d %s %4d %02d:%02d:%02d GMT\r\n",
335 Curl_wkday[tm->tm_wday?tm->tm_wday-1:6],
336 tm->tm_mday,
337 Curl_month[tm->tm_mon],
338 tm->tm_year + 1900,
339 tm->tm_hour,
340 tm->tm_min,
341 tm->tm_sec);
342 result = Curl_client_write(data, CLIENTWRITE_BOTH, buf, 0);

I'm at a loss as to why this would be causing an error.

Thanks.

Kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyVHXaXZlxDxYaM4RAjxfAKCnqUnkrtHjuy+vW5HARU27eghyaACgnmQk
fajtnrWccUSxQfVdN6P/fvQ=
=t2+d
-----END PGP SIGNATURE-----
Received on 2006-07-28

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET