compile with cURL,ming,.. and apxs2 breaks

Hi,

What's wrong? Is the development on apache2 sapi stop?

The current compile breaks if --with-apxs2 with
Apache 2.0.26dev (prefork) is use with the follow
configure options:


--with-curl=shared,/usr/local/curl/current

------------
curl.c: In function `curl_write':
curl.c:291: `tsrm_ls' undeclared (first use in this function)
curl.c:291: (Each undeclared identifier is reported only once
curl.c:291: for each function it appears in.)
curl.c: In function `curl_write_header':
curl.c:407: `tsrm_ls' undeclared (first use in this function)
make[3]: *** [curl.slo] Error 1
make[3]: Leaving directory `/usr/src/php4/ext/curl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php4/ext/curl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4/ext'
make: *** [all-recursive] Error 1
------------


--with-ming=shared

------------
ming.c: In function `getInput':
ming.c:231: warning: passing arg 2 of `zend_fetch_resource' makes 
pointer from integer without a cast
ming.c:231: warning: passing arg 3 of `zend_fetch_resource' makes 
integer from pointer without a cast
ming.c:231: warning: passing arg 4 of `zend_fetch_resource' from 
incompatible pointer type
ming.c:231: warning: passing arg 5 of `zend_fetch_resource' makes 
pointer from integer without a cast
ming.c:238: `tsrm_ls' undeclared (first use in this function)
ming.c:238: (Each undeclared identifier is reported only once
ming.c:238: for each function it appears in.)
ming.c: In function `zif_swfdisplayitem_addAction':
ming.c:987: too few arguments to function `getDisplayItem'
ming.c:996: too few arguments to function `getAction'
ming.c: In function `zm_startup_ming':
ming.c:3135: warning: passing arg 1 of 
`zend_register_list_destructors_ex' from incompatible pointer type
make[3]: *** [ming.slo] Error 1
make[3]: Leaving directory `/usr/src/php4/ext/ming'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php4/ext/ming'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4/ext'
make: *** [all-recursive] Error 1
------------


--with-recode

------------
In file included from recode.c:28:
php_recode.h:35: warning: #warning Recode module has not been tested for 
thread-safety.
recode.c: In function `zm_startup_recode':
recode.c:77: `recode_globals_id' undeclared (first use in this function)
recode.c:77: (Each undeclared identifier is reported only once
recode.c:77: for each function it appears in.)
recode.c: In function `zm_shutdown_recode':
recode.c:87: `recode_globals_id' undeclared (first use in this function)
recode.c: In function `zif_recode_string':
recode.c:122: `recode_globals_id' undeclared (first use in this 
function)
recode.c: In function `zif_recode_file':
recode.c:187: `recode_globals_id' undeclared (first use in this 
function)
make[3]: *** [recode.lo] Error 1
make[3]: Leaving directory `/usr/src/php4/ext/recode'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php4/ext/recode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4/ext'
make: *** [all-recursive] Error 1
-------------


--with-mm

-------------
mod_mm.c:35: #error mm is not thread-safe
make[3]: *** [mod_mm.lo] Error 1
make[3]: Leaving directory `/usr/src/php4/ext/session'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php4/ext/session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4/ext'
make: *** [all-recursive] Error 1
-------------


and also the rest have some serious warnings:

-------------
gd.c: In function `php_imagettftext_common':
gd.c:2740: warning: passing arg 2 of `virtual_filepath' from 
incompatible pointer type
mcrypt.c: In function `zm_startup_mcrypt':
mcrypt.c:266: warning: passing arg 1 of 
`zend_register_list_destructors_ex' from incompatible pointer type
In file included from /usr/local/mysql/3.23.42/include/mysql/mysql.h:77,
                 from php_mysql.c:61:
/usr/local/mysql/current/include/mysql/mysql_version.h:15: warning: 
`MYSQL_UNIX_ADDR' redefined
/usr/src/php4/TSRM/../main/php_config.h:1620: warning: this is the 
location of the previous definition
sysvsem.c: In function `zif_sem_remove':
sysvsem.c:405: warning: passing arg 2 of `semctl' makes integer from 
pointer without a cast
sysvsem.c:413: warning: passing arg 2 of `semctl' makes integer from 
pointer without a cast
sysvshm.c: In function `zm_startup_sysvshm':
sysvshm.c:87: warning: passing arg 1 of 
`zend_register_list_destructors_ex' from incompatible pointer type
zip.c: In function `zif_zip_entry_open':
zip.c:263: warning: assignment makes integer from pointer without a cast
-------------

Regards,

Steve

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to