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

curl-and-php

curl (use php) - make error

From: Çã Çü±¸ <lovis_at_solvixtech.com>
Date: Thu, 18 Aug 2005 19:40:07 +0900

Hello.

I can¡¯t speaking English.

 

<USE>

 

OS : solaris 5.8

 

Make : GNU make

GNU Make 3.80

Copyright (C) 2002 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

 

GCC :

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs

Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls

Thread model: posix

gcc version 3.3.2

 

PHP : PHP4.2.3

 

CURL : source : curl-7.14.0 - X

        Pkgge : curl-7.12.2-sol8-sparc-local - X

 

 

<success>

 

./configure --prefix=/usr/local/php_renew --with-apxs=/opt/apache_renew_php/bin/apxs \

             --with-config-file-path=/opt/apache_renew_php/conf \

             --with-oracle=/export/home/oracle/app/oracle/product/8.1.7 \

             --with-oci8=/export/home/oracle/app/oracle/product/8.1.7 --with-mysql \

             --enable-memory-limit=yes --enable-xml --enable-debug=no --enable-sigchild \

             --with-mcrypt=/usr/local/mcrypt --enable-sockets --enable-ftp --no-create --no-recursion \

             

<fail>

 

./configure --prefix=/usr/local/php_renew --with-apxs=/opt/apache_renew_php/bin/apxs \

             --with-config-file-path=/opt/apache_renew_php/conf \

             --with-oracle=/export/home/oracle/app/oracle/product/8.1.7 \

             --with-oci8=/export/home/oracle/app/oracle/product/8.1.7 --with-mysql \

             --enable-memory-limit=yes --enable-xml --enable-debug=no --enable-sigchild \

             --with-mcrypt=/usr/local/mcrypt --enable-sockets --enable-ftp --no-create --no-recursion \

             --with-curl=/usr/local/curl --with-java=/usr/jdk1.5.0_03

 

Ex1) /usr/ccs/bin/make used =>

 

cc1: warning: changing search order for system directory "/usr/local/include"

cc1: warning: as it has already been specified as a non-system directory

curl.c: In function `curl_free_post':

curl.c:512: warning: passing arg 1 of `curl_formfree' from incompatible pointer type

curl.c: In function `alloc_curl_handle':

curl.c:551: sizeof applied to an incomplete type

curl.c: In function `zif_curl_setopt':

curl.c:783: warning: passing arg 1 of `curl_formadd' from incompatible pointer type

curl.c:783: warning: passing arg 2 of `curl_formadd' from incompatible pointer type

curl.c:789: warning: passing arg 1 of `curl_formadd' from incompatible pointer type

curl.c:789: warning: passing arg 2 of `curl_formadd' from incompatible pointer type

*** Error code 1

make: Fatal error: Command failed for target `curl.lo'

Current working directory /export/home/els/down/php-4.2.3/ext/curl

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /export/home/els/down/php-4.2.3/ext/curl

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /export/home/els/down/php-4.2.3/ext

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

 

Ex2) /usr/local/bin/make used =>

 

curl.c: In function `curl_free_post':

curl.c:512: warning: passing arg 1 of `curl_formfree' from incompatible pointer type

curl.c: In function `alloc_curl_handle':

curl.c:551: sizeof applied to an incomplete type

curl.c: In function `zif_curl_setopt':

curl.c:783: warning: passing arg 1 of `curl_formadd' from incompatible pointer type

curl.c:783: warning: passing arg 2 of `curl_formadd' from incompatible pointer type

curl.c:789: warning: passing arg 1 of `curl_formadd' from incompatible pointer type

curl.c:789: warning: passing arg 2 of `curl_formadd' from incompatible pointer type

make[3]: *** [curl.lo] Error 1

make[3]: Leaving directory `/export/home/els/down/php-4.2.3/ext/curl'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/export/home/els/down/php-4.2.3/ext/curl'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/export/home/els/down/php-4.2.3/ext'

make: *** [all-recursive] Error 1
Received on 2005-08-18