Building Firefox fails
Ralph Zitz
ralph at zitz.dk
Thu Nov 2 17:43:49 UTC 2006
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.
More information about the freebsd-gnome
mailing list