From garnome-list Thu Sep 04 11:10:32 2003 From: Nadav Rotem Date: Thu, 04 Sep 2003 11:10:32 +0000 To: garnome-list Subject: Mozilla 1.5b wont build on Redhat 9 / Garnome 0.26.1 X-MARC-Message: https://marc.info/?l=garnome-list&m=106267406509103 I also had this error on 1.5a; any ideas? g++ -o xpcshell.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DJS_THREADSAFE -I../../../../dist/include/xpconnect -I../../../../dist/include/xpcom -I../../../../dist/include/js -I../../../../dist/include/xpcshell -I../../../../dist/include -I/root/garnome-0.26.1/misc/mozilla/work/main.d/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/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-long-long -I/usr/include -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -O2 -pipe -march=pentium4 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/xpcshell.pp xpcshell.cpp g++ -I/usr/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-long-long -I/usr/include -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -O2 -pipe -march=pentium4 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -o xpcshell xpcshell.o -L/usr/lib -L/usr/X11R6/lib -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom -L/root/garnome-0.26.1/misc/mozilla/work/main.d/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/lib -L/usr/X11R6/lib -lpthread -ldl -ldl -lm xpcshell.o(.text+0x403): In function `Dump(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `nsMemory::Free(void*)' xpcshell.o(.text+0x65b): In function `DumpXPC(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `vtable for nsGetServiceByCID' xpcshell.o(.text+0x676): In function `DumpXPC(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `vtable for nsQueryInterface' xpcshell.o(.text+0x6a7): In function `DumpXPC(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x6d1): In function `DumpXPC(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x6dc): In function `DumpXPC(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x6fe): In function `DumpXPC(JSContext*, JSObject*, unsigned, long*, long*)': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1460): In function `main': : undefined reference to `nsCOMPtr_base::begin_assignment()' xpcshell.o(.text+0x149e): In function `main': : undefined reference to `vtable for nsQueryInterface' xpcshell.o(.text+0x14ce): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x14f0): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x14ff): In function `main': : undefined reference to `vtable for nsGetServiceByContractID' xpcshell.o(.text+0x1520): In function `main': : undefined reference to `vtable for nsQueryInterface' xpcshell.o(.text+0x1551): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x157b): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x158c): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x163a): In function `main': : undefined reference to `vtable for nsGetServiceByCID' xpcshell.o(.text+0x165b): In function `main': : undefined reference to `vtable for nsQueryInterface' xpcshell.o(.text+0x168c): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x16bc): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x16cd): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1752): In function `main': : undefined reference to `vtable for nsGetServiceByContractID' xpcshell.o(.text+0x177c): In function `main': : undefined reference to `vtable for nsQueryInterface' xpcshell.o(.text+0x17b6): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x17e6): In function `main': : undefined reference to `nsCOMPtr_base::assign_from_helper(nsCOMPtr_helper const&, nsID const&)' xpcshell.o(.text+0x17fa): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x18d9): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x18e4): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x194d): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1958): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1963): more undefined references to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' follow xpcshell.o(.text+0x1a05): In function `main': : undefined reference to `nsCOMPtr_base::assign_with_AddRef(nsISupports*)' xpcshell.o(.text+0x1a3d): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1a48): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1a50): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1a5b): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' xpcshell.o(.text+0x1a66): In function `main': : undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()' collect2: ld returned 1 exit status gmake[4]: *** [xpcshell] Error 1 gmake[4]: Leaving directory `/root/garnome-0.26.1/misc/mozilla/work/main.d/mozilla/js/src/xpconnect/shell' -- garnome-list mailing list garnome-list@gnome.org http://mail.gnome.org/mailman/listinfo/garnome-list