../../staticlib/components/libgklayout.a: member ../../staticlib/components/libgklayout.a(nsTreeStyleCache.o) in archive is not an object
collect2: ld returned 1 exit status
gmake[4]: *** [libxul.so] Error 1
gmake[4]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu/toolkit/library'
gmake[3]: *** [libs_tier_toolkit] Error 2
gmake[3]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu'
gmake[2]: *** [tier_toolkit] Error 2
gmake[2]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu'
make: *** [build] Error 2
I'm on GNU/Linux.
Any pointers as to what I can try?.
--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n n
> Trying to compile firefox-3.0.1, but running into [..]
Here's some context to the error:
rm -f libgtkembedmoz.a
ar cr libgtkembedmoz.a gtkmozembedmarshal.o gtkmozembed2.o EmbedPrivate.o EmbedWindow.o EmbedProgress.o EmbedContentListener.o EmbedEventListener.o EmbedWindowCreator.o EmbedPrompter.o GtkPromptService.o
ranlib libgtkembedmoz.a
gmake[5]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu/embedding/browser/gtk/src'
gmake[4]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu/embedding/browser/gtk'
gmake[4]: Entering directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu/toolkit/library'
rm -f libxul.so
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50 -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o -lpthread -Wl,-rpath-link,../../dist/bin -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libxmlextras.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboji.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a ../../staticlib/libjsj.a -Wl,--no-whole-archive -L../../dist/lib -lsqlite3 -L../../dist/bin -L../../dist/lib -L../../dist/bin -L../../dist/lib -ljpeg -L../../modules/libimg/png -lmozpng -L../../dist/bin -lmozlcms -L../../dist/bin -lmozjs -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 -lz -L/usr/local/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/local/lib -lcairo -lfreetype -lz -lfontconfig -L/usr/local/lib -lXrender -lcairo -lX11 -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lX11 -L/usr/local/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 -L/usr/local/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lXt -lgthread-2.0 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -ldl -lm
../../staticlib/components/libgklayout.a: member ../../staticlib/components/libgklayout.a(nsTreeStyleCache.o) in archive is not an object
collect2: ld returned 1 exit status
gmake[4]: *** [libxul.so] Error 1
gmake[4]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu/toolkit/library'
gmake[3]: *** [libs_tier_toolkit] Error 2
gmake[3]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu'
gmake[2]: *** [tier_toolkit] Error 2
gmake[2]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/mnt/fs2/home/b0ef/.pkg/mozilla/obj-i686-pc-linux-gnu'
make: *** [build] Error 2
I got g++-4.1.1 and gtk+-2.12.11
> What distro.
I'm running my own distro.
> Maybe just wait till the maintainer(s) of your distro gets around to
> it.
That would be me.
> Here's some context
Here's the entire log:
http://www.esben-stien.name/make.it.log
> Here's the entire log
Well, I reunpacked and built again; this time it built fine. No idea
what caused this, but thanks for the help and sorry for the noise.
mozilla.dev.builds is the newsgroup to post to, if you need help
compiling the source code.
--
Chris Ilias <http://ilias.ca>
List-owner: support-firefox, support-thunderbird, test-multimedia