LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 894|回复: 0

php+fpm编译出错

[复制链接]
发表于 2008-7-1 10:45:29 | 显示全部楼层 |阅读模式
php+mysql+GD
没有问题
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-j
peg-dir=/usr/local --with-zlib-dir=/usr/local --with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-gd=/usr/local/GD  --with-libxml-dir=/usr/local --enable-mbstring --enable-xml --enable-sockets  --enable-ipv6 --enable-fastcgi --enable-fpm
但是加入fpm后编译出fpm_php.c: In function `zend_ini_alter_master':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: `tsrm_ls' undeclared (first use in this function)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: (Each undeclared identifier is reported only once
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: for each function it appears in.)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: warning: dereferencing type-punned pointer will break strict-aliasing rules
/php-5.2.6/sapi/cgi/fpm/fpm_php.c: In function `fpm_php_apply_defines':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:87: error: too few arguments to function `php_dl'
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:99: error: `tsrm_ls' undeclared (first use in this function)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:101: warning: passing arg 2 of `fpm_php_disable' from incompatible pointer type
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:108: warning: passing arg 2 of `fpm_php_disable' from incompatible pointer type
/php-5.2.6/sapi/cgi/fpm/fpm_php.c: In function `fpm_php_cleanup':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:126: error: `tsrm_ls' undeclared (first use in this function)
make: *** [sapi/cgi/fpm/fpm_php.lo] 错误 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表