Hi! I try to compile PHP 4.3.4 with curl support on Debian Woody 3.0. I downloaded the http://curl.haxx.se/download/curl-7.11.1.tar.bz2, and compiled it. ./configure was succesfull. But make generate an error: usr/src/install/php-4.3.4/ext/curl/curl.c: In function `curl_free_post': /usr/src/install/php-4.3.4/ext/curl/curl.c:563: warning: passing arg 1 of `curl_formfree' from incompatible pointer type /usr/src/install/php-4.3.4/ext/curl/curl.c: In function `alloc_curl_handle': /usr/src/install/php-4.3.4/ext/curl/curl.c:603: sizeof applied to an incomplete type /usr/src/install/php-4.3.4/ext/curl/curl.c: In function `zif_curl_setopt': /usr/src/install/php-4.3.4/ext/curl/curl.c:838: duplicate case value /usr/src/install/php-4.3.4/ext/curl/curl.c:695: this is the first entry for that value /usr/src/install/php-4.3.4/ext/curl/curl.c:883: warning: passing arg 1 of `curl_formadd' from incompatible pointer type /usr/src/install/php-4.3.4/ext/curl/curl.c:883: warning: passing arg 2 of `curl_formadd' from incompatible pointer type /usr/src/install/php-4.3.4/ext/curl/curl.c:891: warning: passing arg 1 of `curl_formadd' from incompatible pointer type /usr/src/install/php-4.3.4/ext/curl/curl.c:891: warning: passing arg 2 of `curl_formadd' from incompatible pointer type make: *** [ext/curl/curl.lo] Error 1
The problem is that HttpPost is not definied. Maybe I'm trying to use not the proper version of curl? Thx in advance, Felho