Chinaunix

标题: [求助] cvsup 后,编译firefox出现错误! [打印本页]

作者: xport    时间: 2005-09-04 16:53
标题: [求助] cvsup 后,编译firefox出现错误!
用cvsup升级ports后, 进入/usr/ports/www/firfox, 执行make后,出现下面的错误:

nsHostResolver.h:95: error: ISO C++ forbids declaration of `PRAddrInfo' with no type
nsHostResolver.h:95: error: expected `;' before '*' token
nsHostResolver.h: In member function `PRBool nsHostRecord::HasResult() const':
nsHostResolver.h:99: error: `addr_info' undeclared (first use this function)
nsHostResolver.h:99: error: (Each undeclared identifier is reported only once for each function it appears in.)
nsHostResolver.h: At global scope:
nsHostResolver.h:209: error: `PRAddrInfo' has not been declared
nsHostResolver.h:209: error: ISO C++ forbids declaration of `parameter' with no type
nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetCanonicalName(nsACString&':
nsDNSService2.cpp:95: error: 'class nsDerivedSafe<nsHostRecord>;' has no member named 'addr_info'
nsDNSService2.cpp:96: error: 'class nsDerivedSafe<nsHostRecord>;' has no member named 'addr_info'
nsDNSService2.cpp:96: error: `PR_GetCanonNameFromAddrInfo' undeclared (first use this function)
nsDNSService2.cpp: In member function `virtual nsresult nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
nsDNSService2.cpp:112: error: 'class nsDerivedSafe<nsHostRecord>;' has no member named 'addr_info'
nsDNSService2.cpp:113: error: 'class nsDerivedSafe<nsHostRecord>;' has no member named 'addr_info'
nsDNSService2.cpp:113: error: `PR_EnumerateAddrInfo' undeclared (first use this function)
nsDNSService2.cpp: In member function `PRUint16 nsDNSService::GetAFForLookup(const nsACString&':
nsDNSService2.cpp:528: error: `PR_AF_UNSPEC' undeclared (first use this function)
gmake[4]: *** [nsDNSService2.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

请大家帮忙分析一下, 我的FreeBSD的版本是5.4 release !  谢谢!
作者: 剑心通明    时间: 2005-09-04 17:23
标题: [求助] cvsup 后,编译firefox出现错误!
dns设置了吗?
作者: xport    时间: 2005-09-04 19:39
标题: [求助] cvsup 后,编译firefox出现错误!
DNS是正常的! make时候的source下载都是OK的!
作者: linyin    时间: 2005-09-04 19:42
标题: [求助] cvsup 后,编译firefox出现错误!
这问题我也遇见了
你的make.conf贴上来
作者: xport    时间: 2005-09-05 18:50
标题: [求助] cvsup 后,编译firefox出现错误!
看看我的/etc/make.conf,不知道有什么问题...


  1. $cat /etc/make.conf
  2. # added by use.perl 2005-09-04 12:16:08
  3. PERL_VER=5.8.6
  4. PERL_VERSION=5.8.6
复制代码

作者: 剑心通明    时间: 2005-09-06 07:44
标题: [求助] cvsup 后,编译firefox出现错误!
试试不要这些设置就用系统默认的




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2