Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 11:31:54 +0100
From:      Pawel Zakiewicz <pawel.zakiewicz@thebunker.net>
To:        Pascal Hofstee <caelian@gmail.com>
Cc:        gnome@FreeBSD.org
Subject:   Re: firefox build from ports fails
Message-ID:  <434B949A.8060407@thebunker.net>
In-Reply-To: <1128960844.2572.0.camel@synergy.odyssey.homeunix.org>
References:  <434A85A9.9080201@thebunker.net> <1128960844.2572.0.camel@synergy.odyssey.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Pascal Hofstee wrote:
> On Mon, 2005-10-10 at 16:15 +0100, Pawel Zakiewicz wrote:
> 
>>Hello,
>>
>>it looks like there are still bugs in that port...
>>
>>when I try to make build I get in end:
>>
>>gmake[4]: Leaving directory 
>>`/usr/ports/www/firefox/work/mozilla/netwerk/dns/public'
>>gmake[4]: Entering directory 
>>`/usr/ports/www/firefox/work/mozilla/netwerk/dns/src'
>>nsDNSService2.cpp
>>c++ -o nsDNSService2.o -c -DOSTYPE=\"FreeBSD5\" -DOSARCH=\"FreeBSD\" 
>>-I../../../dist/include/xpcom -I../../../di
>>st/include/string -I../../../dist/include/pref 
>>-I../../../dist/include/unicharutil -I../../../dist/include/necko
>>-I../../../dist/include -I/usr/local/include/nspr -I/usr/local/include 
>>-I/usr/local/include  -I/usr/X11R6/include
>>    -fPIC  -I/usr/X11R6/include -I/usr/local/include 
>>-I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-ex
>>ceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
>>-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno
>>-non-virtual-dtor -Wno-long-long -O2 -fno-strict-aliasing -pipe 
>>-march=pentiumpro -fshort-wchar -pipe  -DNDEBUG -
>>DTRIMMED -O  -I/usr/X11R6/include -I/usr/local/include 
>>-I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIE
>>NT -include ../../../mozilla-config.h nsDNSService2.cpp
>>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] 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
>>
>>Stop in /usr/ports/www/firefox.
>>
>>my box is FreeBSD 5.4-RELEASE-p7
> 
> 
> Make sure you First Upgrade your devel/nspr port .. before building
> firefox/thunderbird/etc...
> 

THX a lot, that solved my problem :-)

nspr-4.4.1_1 -> nspr-4.6_1

BTW maybe it would be good idea to check min. required
version of nspr in firefox port Makefile?

Cheers,
Pawel

-- 
Pawel Zakiewicz               Tel: +44 (1304) 814800
The Bunker                    Fax: +44 (1304) 814899
Ash Radar Station             http://www.thebunker.net
Marshborough Rd               mailto:pawel.zakiewicz@thebunker.net
Sandwich
Kent
CT13 OPL
UNITED KINGDOM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434B949A.8060407>