LinuxSir.cn,穿越时空的Linuxsir!

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

PHP编译出错了.请看..

[复制链接]
发表于 2003-4-3 10:52:45 | 显示全部楼层 |阅读模式
环境: redhat 9.0 apache1.3.27 mysql-4.0.12 php 4.3.1
php:
./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql
然后make的时候出错了:
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/soft/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/soft/src/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


请问是如何?
 楼主| 发表于 2003-4-14 07:52:48 | 显示全部楼层
没有人回啊
发表于 2003-4-14 14:14:16 | 显示全部楼层
#./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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