Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Dec 2005 12:57:31 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        eculp@encontacto.net
Cc:        ports@freebsd.org
Subject:   Re: Problems with upgrade from firefox-1.5_2,1 to firefox-1.5_3,1
Message-ID:  <op.s056x5ek9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20051202052237.c2lqt8jxgk0occo0@mail.encontacto.net>
References:  <20051202052237.c2lqt8jxgk0occo0@mail.encontacto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
NOTE: ports@FreeBSD.org isn't maintaining for firefox, which it's  
gnome@FreeBSD.org. Anyway...

On Fri, 02 Dec 2005 05:22:37 -0600, <eculp@encontacto.net> wrote:

> I have two related problems with the mozilla family, I think, on  
> uptodate current.  Suggestions for either appreciated.

How recently is your -CURRENT? davidxu has committed a fix for  
C++ compile, but I am not sure if it's related with this.

http://lists.freebsd.org/pipermail/cvs-src/2005-November/056208.html

Do you have nspr and nss up to date? Show us your pkg_info.

Cheers,
Mezz

> Somewhere during yesterday's portupgrade -a, which finished  
> successfully, I now get "/libexec/ld-elf.so.1:  
> /usr/X11R6/lib/firefox/components/libxremote_client.so: Undefined symbol  
> "_Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule"
>
> So I saw the new version and thought that the upgrade would probably fix  
> it but instead when trying to upgrade from firefox-1.5_2,1 to  
> firefox-1.5_3,1, The compile doesn't finish and ends with the following:
>
> c++ -o nsTraceRefcnt.o -c  -DOSTYPE=\"FreeBSD7\" -DOSARCH=\"FreeBSD\"  
> -DBUILD_ID=0000000000 -DXPCOM_GLUE -I./../../build   
> -I../../../dist/include/string -I../../../dist/include/xpcom  
> -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  
> -fno-strict-aliasing -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 nsTraceRefcnt.cpp
> nsTraceRefcnt.cpp:39:22: nsCOMPtr.h: No such file or directory
> nsTraceRefcnt.cpp:40:31: nsIServiceManager.h: No such file or directory
> nsTraceRefcnt.cpp:41:27: nsTraceRefcnt.h: No such file or directory
> nsTraceRefcnt.cpp:42:31: nsTraceRefcntImpl.h: No such file or directory
> nsTraceRefcnt.cpp: In function `nsresult FreeTraceRefcntObject()':
> nsTraceRefcnt.cpp:48: error: `NS_IF_RELEASE' undeclared (first use this  
> function)
> nsTraceRefcnt.cpp:48: error: (Each undeclared identifier is reported  
> only once for each function it appears in.)
> nsTraceRefcnt.cpp: In function `void GlueShutdownTraceRefcnt()':
> nsTraceRefcnt.cpp:74: error: `NS_IF_RELEASE' undeclared (first use this  
> function)
> nsTraceRefcnt.cpp: At global scope:
> nsTraceRefcnt.cpp:79: error: `nsTraceRefcnt' has not been declared
> nsTraceRefcnt.cpp:79: error: `nsrefcnt' has not been declared
> nsTraceRefcnt.cpp:80: error: ISO C++ forbids declaration of `aNewRefcnt'  
> with no type
> nsTraceRefcnt.cpp: In function `void LogAddRef(void*, int, const char*,  
> PRUint32)':
> nsTraceRefcnt.cpp:83: error: invalid use of undefined type `struct  
> nsITraceRefcnt'
> ./../../build/nsXPCOM.h:75: error: forward declaration of `struct  
> nsITraceRefcnt'
> nsTraceRefcnt.cpp: At global scope:
> nsTraceRefcnt.cpp:87: error: `nsTraceRefcnt' has not been declared
> nsTraceRefcnt.cpp:87: error: `nsrefcnt' has not been declared
> nsTraceRefcnt.cpp:88: error: ISO C++ forbids declaration of `aNewRefcnt'  
> with no type
> nsTraceRefcnt.cpp: In function `void LogRelease(void*, int, const  
> char*)':
> nsTraceRefcnt.cpp:91: error: invalid use of undefined type `struct  
> nsITraceRefcnt'
> ./../../build/nsXPCOM.h:75: error: forward declaration of `struct  
> nsITraceRefcnt'
> nsTraceRefcnt.cpp: At global scope:
> nsTraceRefcnt.cpp:95: error: `nsTraceRefcnt' has not been declared
> nsTraceRefcnt.cpp: In function `void LogCtor(void*, const char*,  
> PRUint32)':
> nsTraceRefcnt.cpp:99: error: invalid use of undefined type `struct  
> nsITraceRefcnt'
> ./../../build/nsXPCOM.h:75: error: forward declaration of `struct  
> nsITraceRefcnt'
> nsTraceRefcnt.cpp: At global scope:
> nsTraceRefcnt.cpp:103: error: `nsTraceRefcnt' has not been declared
> nsTraceRefcnt.cpp: In function `void LogDtor(void*, const char*,  
> PRUint32)':
> nsTraceRefcnt.cpp:107: error: invalid use of undefined type `struct  
> nsITraceRefcnt'
> ./../../build/nsXPCOM.h:75: error: forward declaration of `struct  
> nsITraceRefcnt'
> nsTraceRefcnt.cpp: At global scope:
> nsTraceRefcnt.cpp:111: error: `nsTraceRefcnt' has not been declared
> nsTraceRefcnt.cpp:111: error: `nsISupports' has not been declared
> nsTraceRefcnt.cpp:112: error: ISO C++ forbids declaration of `aObject'  
> with no type
> nsTraceRefcnt.cpp: In function `void LogAddCOMPtr(void*, int*)':
> nsTraceRefcnt.cpp:115: error: invalid use of undefined type `struct  
> nsITraceRefcnt'
> ./../../build/nsXPCOM.h:75: error: forward declaration of `struct  
> nsITraceRefcnt'
> nsTraceRefcnt.cpp: At global scope:
> nsTraceRefcnt.cpp:119: error: `nsTraceRefcnt' has not been declared
> nsTraceRefcnt.cpp:119: error: `nsISupports' has not been declared
> nsTraceRefcnt.cpp:120: error: ISO C++ forbids declaration of `aObject'  
> with no type
> nsTraceRefcnt.cpp: In function `void LogReleaseCOMPtr(void*, int*)':
> nsTraceRefcnt.cpp:123: error: invalid use of undefined type `struct  
> nsITraceRefcnt'
> ./../../build/nsXPCOM.h:75: error: forward declaration of `struct  
> nsITraceRefcnt'
> gmake[4]: *** [nsTraceRefcnt.o] Error 1
> gmake[4]: Leaving directory  
> `/usr/ports/www/firefox/work/mozilla/xpcom/glue/standalone'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory  
> `/usr/ports/www/firefox/work/mozilla/xpcom/glue'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/xpcom'
> gmake[1]: *** [tier_2] 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.


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



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