Date: Wed, 31 Aug 2005 13:23:42 +0200 From: Gregory Nou <gregorynou@altern.org> To: gnome@freebsd.org Cc: gregorynou@altern.org Subject: problem with compiling www/firefox (firefox-1.0.6_4,1) Message-ID: <4315933E.9010802@altern.org>
next in thread | raw e-mail | index | archive | help
Hi, I currently have firefox-1.0.6-1,1. As I had some stability issue with it, I decided to upgrade. Last cvsup from one hour ago. uname -a FreeBSD nou.rez-metz.supelec.fr 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Aug 26 10:12:03 CEST 2005 root@nou.rez-metz.supelec.fr:/usr/obj/usr/src/sys/MYKERNEL i386 However, it seems that I have a problem with it : In file included from nsDNSService2.h:40, from nsDNSService2.cpp:38: 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] Erreur 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns/src' gmake[3]: *** [libs] Erreur 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk/dns' gmake[2]: *** [libs] Erreur 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/netwerk' gmake[1]: *** [tier_9] Erreur 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Erreur 2 *** Error code 2 Stop in /usr/ports/www/firefox. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade96904.0 make ** Fix the problem and try again. I'm not that skilled in C++, so I regret not being able to solve this issue on myself. Is this a problem related to my compilator, to my system, or is it a real bug ? Thanks, -- Gregory
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4315933E.9010802>