php编译时报错,急!急!急!

true_mariner 2009-04-27 04:44:31

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-curl=/usr/lib --enable-ftp --with-libxml-dir=/usr/lib --with-libexpat-dir=/usr/lib --enable-soap --with-xsl --with-gd --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/include --with-freetype-dir=/usr/lib --enable-mbstring --with-mime-magic
已通过。
make时提示错误信息:
ext/xml/.libs/xml.o: In function `zif_xml_get_current_byte_index':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1500: undefined reference to `php_XML_GetCurrentByteIndex'
ext/xml/.libs/xml.o: In function `zif_xml_get_current_column_number':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1484: undefined reference to `php_XML_GetCurrentColumnNumber'
ext/xml/.libs/xml.o: In function `zif_xml_get_current_line_number':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1468: undefined reference to `php_XML_GetCurrentLineNumber'
ext/xml/.libs/xml.o: In function `zif_xml_get_error_code':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1434: undefined reference to `php_XML_GetErrorCode'
ext/xml/.libs/xml.o: In function `php_xml_parser_create_impl':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1113: undefined reference to `php_XML_ParserCreate_MM'
/usr/local/src/php-5.2.6/ext/xml/xml.c:1121: undefined reference to `php_XML_SetUserData'
ext/xml/.libs/xml.o: In function `_xml_externalEntityRefHandler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1010: undefined reference to `XML_GetUserData'
ext/xml/.libs/xml.o: In function `xml_parser_dtor':
/usr/local/src/php-5.2.6/ext/xml/xml.c:321: undefined reference to `php_XML_ParserFree'
ext/xml/.libs/xml.o: In function `zif_xml_parse':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1375: undefined reference to `php_XML_Parse'
ext/xml/.libs/xml.o: In function `zif_xml_set_end_namespace_decl_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1346: undefined reference to `php_XML_SetEndNamespaceDeclHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_start_namespace_decl_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1327: undefined reference to `php_XML_SetStartNamespaceDeclHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_external_entity_ref_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1308: undefined reference to `php_XML_SetExternalEntityRefHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_notation_decl_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1290: undefined reference to `php_XML_SetNotationDeclHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_unparsed_entity_decl_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1272: undefined reference to `php_XML_SetUnparsedEntityDeclHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_default_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1253: undefined reference to `php_XML_SetDefaultHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_processing_instruction_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1235: undefined reference to `php_XML_SetProcessingInstructionHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_character_data_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1216: undefined reference to `php_XML_SetCharacterDataHandler'
ext/xml/.libs/xml.o: In function `zif_xml_set_element_handler':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1197: undefined reference to `php_XML_SetElementHandler'
ext/xml/.libs/xml.o: In function `zif_xml_error_string':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1449: undefined reference to `php_XML_ErrorString'
ext/xml/.libs/xml.o: In function `zif_xml_parse_into_struct':
/usr/local/src/php-5.2.6/ext/xml/xml.c:1410: undefined reference to `php_XML_SetDefaultHandler'
/usr/local/src/php-5.2.6/ext/xml/xml.c:1411: undefined reference to `php_XML_SetElementHandler'
/usr/local/src/php-5.2.6/ext/xml/xml.c:1412: undefined reference to `php_XML_SetCharacterDataHandler'
/usr/local/src/php-5.2.6/ext/xml/xml.c:1415: undefined reference to `php_XML_Parse'
collect2: ld returned 1 exit status
收到 SIGCHLD 信号;尚有 1 个子进程存在。
正在中止失败的子进程 0x0812c490 PID 29286
make: *** [sapi/cli/php] 错误 1
Removing child 0x0812c490 PID 29286 from chain.


请大家帮忙解决,很急啊!
...全文
109 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
true_mariner 2009-05-01
  • 打赏
  • 举报
回复
red flag6下如何实现开机自动运行3D桌面啊???
puheavy123 2009-05-01
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 hairetz 的回复:]
undefined reference to `php_XML_GetCurrentByteIndex'
ext/xml/.libs/xml.o: In function `zif_xml_get_current_column_number':

怎么这么多未定义,代码里没包含库吗?
[/Quote]

支持
puheavy123 2009-05-01
  • 打赏
  • 举报
回复
要实现一个程序开机自启动有很多方法啊:
添加到/etc/rc.d/rc.local就行啦。。。还有其他几种,就不说了。。。。因为不知道你说的是不是这个方面的东东
  • 打赏
  • 举报
回复
undefined reference to `php_XML_GetCurrentByteIndex'
ext/xml/.libs/xml.o: In function `zif_xml_get_current_column_number':

怎么这么多未定义,代码里没包含库吗?
EXCMS 1.3.3 2010.08.181、增加ASK模块 后台管理(分类管理、问题管理、答案管理、头衔管理、用户积分管理、经验值排行管理、模块配置) 前台(ASK首页、列表页、问题页、提问页、搜索页、ASK用户中心) 2、增加ucenter模块,实现了EXCMS整合UC用户的整合 3、添加用户评论排行,心情排行、顶踩排行 4、修改评论加载方式(Ajax加载所有评论内容) 5、修正UTF8版本下无法获取IP所在地数据 6、修正文章删除非本站链接将本站链接也删除的问题 7、修正内容分页标签 8、修正上传覆盖存在文件BUG 9、修正匿名评论BUG 10、修正选中栏目无法更新内容以及栏目列表 11、修正本地图片提取第一张为缩图片BUG 12、修正相关内容id录入后更新失败的问题 13、修正模板编译改进:兼容{} 14、修正下载软件性质、应用平台无法显示BUG 15、修正了栏目名称重复错误提示方式 16、修正评论无法保存地区问题 17、删除common.js中自定义alert窗口中替换br的操作 18、修正内容关键字保存重名或为空报错的问题 19、修正模型不存在无法删除该模型下文章的bug 20、修正未审核内容显示于排行列表的bug 21、修正内容编辑未审核内容在推荐列表显示的bug 22、修正内容批量删除报错bug 23、修正设置栏目属性后不缓存不同步的问题 24、修正搜索方式为3,搜索图片报错的bug 25、修正字段管理设置字段选项错误 26、修正外部下载资源链接地址最后自动加上"/" 的问题 27、修正用户头像地址为全路径地址 28、修正验证码请求及验证参数,多验证码可共存 29、修正后台内容管理新建内容菜单
EXCMS 1.3.3 2010.08.18    1、增加ASK模块 后台管理(分类管理、问题管理、答案管理、头衔管理、用户积分管理、经验值排行管理、模块配置) 前台(ASK首页、列表页、问题页、提问页、搜索页、ASK用户中心)    2、增加ucenter模块,实现了EXCMS整合UC用户的整合    3、添加用户评论排行,心情排行、顶踩排行    4、修改评论加载方式(Ajax加载所有评论内容)    5、修正UTF8版本下无法获取IP所在地数据    6、修正文章删除非本站链接将本站链接也删除的问题    7、修正内容分页标签    8、修正上传覆盖存在文件BUG    9、修正匿名评论BUG    10、修正选中栏目无法更新内容以及栏目列表    11、修正本地图片提取第一张为缩图片BUG    12、修正相关内容id录入后更新失败的问题    13、修正模板编译改进:兼容{}    14、修正下载软件性质、应用平台无法显示BUG    15、修正了栏目名称重复错误提示方式    16、修正评论无法保存地区问题    17、删除common.js中自定义alert窗口中替换br的操作    18、修正内容关键字保存重名或为空报错的问题    19、修正模型不存在无法删除该模型下文章的bug    20、修正未审核内容显示于排行列表的bug    21、修正内容编辑未审核内容在推荐列表显示的bug    22、修正内容批量删除报错bug    23、修正设置栏目属性后不缓存不同步的问题    24、修正搜索方式为3,搜索图片报错的bug    25、修正字段管理设置字段选项错误    26、修正外部下载资源链接地址最后自动加上"/" 的问题    27、修正用户头像地址为全路径地址    28、修正验证码请求及验证参数,多验证码可共存    29、修正后台内容管理新建内容菜单

23,110

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧