cURL / Mailing Lists / curl-users / Single Mail

curl-users

problem with curl+ipv6

From: usha <ushaa_at_lycos.co.uk>
Date: Wed, 23 Jul 2003 17:29:08 +0530

Hi all,

I still explore on curl (v 7.10.2)failure for ipv6 support, and I have been posting to this list and waiting, Can any one reply ASAP. is there avail patch to solve this problem.

Curl fails as follows:

./curl ftp://fe80::230:6eff:fe48:94f1 -u root
password:
curl: (7) socket error: 239

Debugging the code the failure found at function operate() in main.c program:

Breakpoint 1, main (argc=2139031380, argv=0x7f7f0768) at main.c:2983
2983 memset(&config, 0, sizeof(struct Configurable));
(gdb) n
2980 {
(gdb) n
2983 memset(&config, 0, sizeof(struct Configurable));
(gdb) n
2985 res = operate(&config, argc, argv);
(gdb) n
password:
curl: (7) socket error: 239

I ignored the following warnings during gmake:

ftp.c: In function `AllowServerConnect':
ftp.c:148: warning: passing arg 3 of `getsockname' from incompatible pointer type
ftp.c:149: warning: passing arg 3 of `accept' from incompatible pointer type
ftp.c: In function `ftp_use_port':
ftp.c:1012: warning: passing arg 3 of `getsockname' from incompatible pointer type
ftp.c:1057: warning: passing arg 3 of `getsockname' from incompatible pointer type
url.c: In function `handleSock5Proxy':
url.c:1390: warning: passing arg 5 of `Curl_write' from incompatible pointer type
url.c:1396: warning: passing arg 5 of `Curl_read' from incompatible pointer type
url.c:1433: warning: passing arg 5 of `Curl_write' from incompatible pointer type
url.c:1439: warning: passing arg 5 of `Curl_read' from incompatible pointer type
url.c:1523: warning: passing arg 5 of `Curl_write' from incompatible pointer type
url.c:1529: warning: passing arg 5 of `Curl_read' from incompatible pointer type
connect.c: In function `bindlocal':
connect.c:272: warning: passing arg 3 of `getsockname' from incompatible pointer type
connect.c: In function `socketerror':
connect.c:339: warning: passing arg 5 of `getsockopt' from incompatible pointer type
libtool: link: warning: this platform does not like uninstalled shared libraries
libtool: link: `curl' will be relinked during installation

regards
Usha

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
Received on 2003-07-23