Chinaunix首页 | 论坛 | 博客
  • 博客访问: 277589
  • 博文数量: 78
  • 博客积分: 3018
  • 博客等级: 少校
  • 技术积分: 950
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-07 02:33
文章分类

全部博文(78)

文章存档

2013年(1)

2012年(19)

2011年(45)

2008年(13)

分类: LINUX

2012-06-15 11:27:59

错误:ext/standard/.libs/dns.o: In function `php_parserr':
/usr/local/src/php-5.3.13/ext/standard/dns.c:428: undefined reference to `__dn_expand'
/usr/local/src/php-5.3.13/ext/standard/dns.c:478: undefined reference to `__dn_expand'
/usr/local/src/php-5.3.13/ext/standard/dns.c:662: undefined reference to `__dn_expand'
/usr/local/src/php-5.3.13/ext/standard/dns.c:684: undefined reference to `__dn_expand'
/usr/local/src/php-5.3.13/ext/standard/dns.c:523: undefined reference to `__dn_expand'
ext/standard/.libs/dns.o:/usr/local/src/php-5.3.13/ext/standard/dns.c:529: more undefined references to `__dn_expand' follow
ext/standard/.libs/dns.o: In function `zif_dns_check_record':
/usr/local/src/php-5.3.13/ext/standard/dns.c:403: undefined reference to `__res_nsearch'
ext/standard/.libs/dns.o: In function `zif_dns_get_mx':
/usr/local/src/php-5.3.13/ext/standard/dns.c:937: undefined reference to `__res_nsearch'
/usr/local/src/php-5.3.13/ext/standard/dns.c:948: undefined reference to `__dn_skipname'
/usr/local/src/php-5.3.13/ext/standard/dns.c:955: undefined reference to `__dn_skipname'
/usr/local/src/php-5.3.13/ext/standard/dns.c:968: undefined reference to `__dn_expand'
ext/standard/.libs/dns.o: In function `zif_dns_get_record':
/usr/local/src/php-5.3.13/ext/standard/dns.c:820: undefined reference to `__res_nsearch'
/usr/local/src/php-5.3.13/ext/standard/dns.c:837: undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

解决方法:
#make clean
#make ZEND_EXTRA_LIBS='-lresolv'
阅读(3249) | 评论(0) | 转发(0) |
0

上一篇:sysstat

下一篇:xen domain限制突破

给主人留下些什么吧!~~