For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > March 2004 > curl problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author curl problem
Hodicska Gergely

2004-03-26, 11:23 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com