Hi,
so far I've managed to get PHP's configure script pass, but while mak(e)ing PHP, I run to the following error:
Code:
[root@a155t4 php-5.0.0RC1]# make
/bin/sh /root/php-5.0.0RC1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/curl/ -I/root/php-5.0.0RC1/ext/curl/ -DPHP_ATOM_INC -I/root/php-5.0.0RC1/include -I/root/php-5.0.0RC1/main -I/root/php-5.0.0RC1 -I/root/php-5.0.0RC1/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/include/mysql -I/root/php-5.0.0RC1/TSRM -g -O2 -prefer-pic -c /root/php-5.0.0RC1/ext/curl/interface.c -o ext/curl/interface.lo
/root/php-5.0.0RC1/ext/curl/interface.c: In function `curl_free_post':
/root/php-5.0.0RC1/ext/curl/interface.c:655: warning: passing arg 1 of `curl_formfree' from incompatible pointer type
/root/php-5.0.0RC1/ext/curl/interface.c: In function `alloc_curl_handle':
/root/php-5.0.0RC1/ext/curl/interface.c:723: sizeof applied to an incomplete type
/root/php-5.0.0RC1/ext/curl/interface.c: In function `zif_curl_setopt':
/root/php-5.0.0RC1/ext/curl/interface.c:1008: duplicate case value
/root/php-5.0.0RC1/ext/curl/interface.c:853: previously used here
/root/php-5.0.0RC1/ext/curl/interface.c:1050: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
/root/php-5.0.0RC1/ext/curl/interface.c:1050: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
/root/php-5.0.0RC1/ext/curl/interface.c:1057: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
/root/php-5.0.0RC1/ext/curl/interface.c:1057: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
make: *** [ext/curl/interface.lo] Error 1
[root@a155t4 php-5.0.0RC1]#
My curl is now version 7.9.8, the newest rpm I could find. I've also tried making PHP with a compiled curl 7.11.1 (the newest).
Any help is appreciated!