cURL / Mailing Lists / curl-library / Single Mail

curl-library

configuring / compiling / linking problems

From: Cadime <ricardo-v-cadime_at_ptinovacao.pt>
Date: Fri, 6 Sep 2002 17:46:22 +0100

Hi there,

In order to enhance portability and compiling options to LIBCURL, I will
describe some situations I am facing when tying to compile libcurl with ONLY
ftp support in HP-UX aCC

a)I am not able to --disable--http and use FTP
ftp.c use Curl_ConnectHTTPProxyTunnel, for example .

Thus, to reduce the library space to FTP-only users, I did:
CC=cc ./configure --without-ssl --disable-shared --disable-ldap
--disable-dict --disable-telnet --disable-ipv6 --disable-thread
--disable-gopher --disable-file

b) Some warnings I got:
cc: "ftp.c", line 149: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 149: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 150: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 150: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 1256: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 1256: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 1591: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 1591: warning 563: Argument #1 is not the correct type.

cc: "url.c", line 1637: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "url.c", line 1654: warning 527: Integral value implicitly converted to
pointer in assignment.

cc: "netrc.c", line 151: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "netrc.c", line 214: warning 527: Integral value implicitly converted to
pointer in assignment.

cc: "connect.c", line 266: warning 604: Pointers are not
assignment-compatible.
cc: "connect.c", line 266: warning 563: Argument #3 is not the correct type.
cc: "connect.c", line 333: warning 604: Pointers are not
assignment-compatible.
cc: "connect.c", line 333: warning 563: Argument #5 is not the correct type.

Hope it helps
Ricardo Cadime

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-09-06