error with curl and PHP5 compile
| From: | electroteque | Date: | Sat, 10 Apr 2004 07:24:17 +0000 |
| Subject: | error with curl and PHP5 compile | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183061@lists.php.net to get a copy of this message | ||
Hi there i am getting a wierd error when trying to compile php5 with curl
ext/curl/interface.lo
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c: In function
`curl_free_post':
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:655: warning: passing arg 1
of
`curl_formfree' from incompatible pointer type
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c: In function
`alloc_curl_handle
':
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:723: error: invalid
application
of `sizeof' to an incomplete type
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c: In function
`zif_curl_setopt':
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:1008: error: duplicate case
val
ue
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:853: error: previously used
her
e
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:1050: warning: passing arg
1 of
`curl_formadd' from incompatible pointer type
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:1050: warning: passing arg
2 of
`curl_formadd' from incompatible pointer type
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:1057: warning: passing arg
1 of
`curl_formadd' from incompatible pointer type
/usr/share/src/php-5.0.0RC1/ext/curl/interface.c:1057: warning: passing arg
2 of
`curl_formadd' from incompatible pointer type
*** Error code 1
I have googled it everywhere and keep getting the same answer of fixed in
cvs also the latest interface.c is greater than the suppose cvs fixed file.
??