firefox buid error..
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Fri Dec 9 07:08:14 PST 2005
"kalin mintchev" <kalin at el.net> writes:
> hi all...
>
> trying to build firefox firefox-1.5 from ports.
> machine: 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon Aug 15 20:16:14 EDT 2005
> upgraded www ports last night and today. mozilla port was updated today
> agian. port build stops at the same place. pkg_add -r brings down 1.0.3. i
> had 1.0.6... anybody knows where to get the working one?
> thanks...
>
>
> c++ -o nsDNSService2.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD5\"
> -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -DIMPL_NS_NET
> -I./../../base/src -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../../../dist/sdk/include -I/usr/X11R6/include
> -fPIC -I/usr/X11R6/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 -pipe -O -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O
> -I/usr/X11R6/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
> 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_internal&)':
> nsDNSService2.cpp:98: error: 'class nsDerivedSafe<nsHostRecord>' has no
> member named 'addr_info'
> nsDNSService2.cpp:99: error: 'class nsDerivedSafe<nsHostRecord>' has no
> member named 'addr_info'
> nsDNSService2.cpp:99: error: `PR_GetCanonNameFromAddrInfo' undeclared
> (first use this function)
> nsDNSService2.cpp: In member function `virtual nsresult
> nsDNSRecord::GetNextAddr(PRUint16, PRNetAddr*)':
> nsDNSService2.cpp:115: error: 'class nsDerivedSafe<nsHostRecord>' has no
> member named 'addr_info'
> nsDNSService2.cpp:116: error:%
Do you, perhaps, need to update your nspr port?
If possible, update all your other ports before trying to build the
new firefox...
More information about the freebsd-questions
mailing list