Firefox&Thunderbird compile error

Greg Lewis glewis at
Tue Sep 20 15:40:16 PDT 2005

On Wed, Sep 21, 2005 at 12:13:30AM +0200, Ivan Voras wrote:
> I get the following error when I try to build firefox from ports:
> c++ -o nsDNSService2.o -c -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" 
> -I../../../dist/include/xpcom -I../../../dist/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-exceptions -Wall 
> -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 
> -fno-strict-aliasing -fno-strict-aliasing -pipe -march=pentium3 
> -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/X11R6/include 
> -I/usr/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include 
> -DMOZILLA_CLIENT -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

Looks like something to do with the Firefox/NSPR split that happened
around the end of August.  Are your ports up to date?  Do you have NSPR

Greg Lewis                          Email   : glewis at
Eyes Beyond                         Web     :
Information Technology              FreeBSD : glewis at

More information about the freebsd-ports mailing list