cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

PHP Make problem with linux

From: Christian Ista <ml_at_cista.be>
Date: Tue, 20 Apr 2004 12:46:27 +0200 (CEST)

Hello,

On my server (RedHat 7.2), I installed the version 7.11.1 (from the source) ok.

No I'd like compile Apache 1.3.29 and PHP 4.3.4.

When I do the make of PHP, I receive this error :

gcc -Iext/curl/ -I/home/ovh/src/php-4.3.4/ext/curl/ -DPHP_ATOM_INC
-I/home/ovh/src/php-4.3.4/include -I/home/ovh/src/php-4.3.4/main
-I/home/ovh/src/php-4.3.4 -I/home/ovh/src/php-4.3.4/Zend -I/usr/local/include
-I/usr/include/freetype2 -I/usr/include/imap -I/usr/kerberos/include
-I/usr/include/pgsql -I/home/ovh/src/php-4.3.4/ext/xml/expat
-I/home/ovh/src/php-4.3.4/TSRM -g -O2 -c
/home/ovh/src/php-4.3.4/ext/curl/curl.c -o ext/curl/curl.o && echo >
ext/curl/curl.lo
/home/ovh/src/php-4.3.4/ext/curl/curl.c: In function `curl_free_post':
/home/ovh/src/php-4.3.4/ext/curl/curl.c:563: warning: passing arg 1 of
`curl_formfree' from incompatible pointer type
/home/ovh/src/php-4.3.4/ext/curl/curl.c: In function `alloc_curl_handle':
/home/ovh/src/php-4.3.4/ext/curl/curl.c:603: sizeof applied to an incomplete
type
/home/ovh/src/php-4.3.4/ext/curl/curl.c: In function `zif_curl_setopt':
/home/ovh/src/php-4.3.4/ext/curl/curl.c:838: duplicate case value
/home/ovh/src/php-4.3.4/ext/curl/curl.c:883: warning: passing arg 1 of
`curl_formadd' from incompatible pointer type
/home/ovh/src/php-4.3.4/ext/curl/curl.c:883: warning: passing arg 2 of
`curl_formadd' from incompatible pointer type
/home/ovh/src/php-4.3.4/ext/curl/curl.c:891: warning: passing arg 1 of
`curl_formadd' from incompatible pointer type
/home/ovh/src/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] Erreur 1
Received on 2004-04-20