编译php时的问题

由 mario007 在 06-25-2003 12:16 发表:

编译php时的问题

安装PHP,在make时,出现一下报错,怎么回事?

ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':

/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'

ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':

/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'

ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':

/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'

ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':

/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'

ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':

/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'

ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow

collect2: ld returned 1 exit statu

<h

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus