Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2006 18:43:27 +0100
From:      Ralph Zitz <ralph@zitz.dk>
To:        freebsd-gnome@freebsd.org
Subject:   Building Firefox fails
Message-ID:  <454A2E3F.7060200@zitz.dk>

next in thread | raw e-mail | index | archive | help
Hello

When trying to compile the new firefox port, the build ends with this error:

gmake[4]: Entering directory 
`/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom/src'
rm -f libjavaxpcom.so
c++ -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 -O2 -pipe -fno-strict-aliasing 
-march=pentium4m -O2 -fno-strict-aliasing -O2 -fshort-wchar -pipe  
-DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libjavaxpcom.so 
-o libjavaxpcom.so  nsAppFileLocProviderProxy.o nsJavaInterfaces.o 
nsJavaWrapper.o nsJavaXPTCStub.o nsJavaXPTCStubWeakRef.o 
nsJavaXPCOMBindingUtils.o    -L/usr/X11R6/lib 
-Wl,-rpath,/usr/local/lib/firefox   -L../../../../dist/bin 
-L../../../../dist/lib  -L../../../../dist/bin -lxpcom -lxpcom_core  
-L../../../../dist/bin -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread  
-Wl,-Bsymbolic -lc -lm -pthread -Wl,-Bsymbolic -lc -pthread 
-L/usr/local/lib -liconv   
nsJavaInterfaces.o(.text+0x1e): In function 
`Java_org_mozilla_xpcom_internal_GREImpl_termEmbedding':
: undefined reference to `XRE_TermEmbedding'
nsJavaInterfaces.o(.text+0x29b): In function 
`InitEmbedding_Impl(JNIEnv_*, _jobject*, _jobject*, _jobject*)':
: undefined reference to `XRE_InitEmbedding'
gmake[4]: *** [libjavaxpcom.so] Error 1
gmake[4]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory 
`/usr/ports/www/firefox/work/mozilla/extensions/java'
gmake[1]: *** [tier_50] 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.

Any help in solving the above issue would be appreciated.

Thanks,
Ralph.



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