All of lore.kernel.org
 help / color / mirror / Atom feed
* Mozilla Firefox compile problem
@ 2004-10-18  8:24 ` Andre.Messerschmidt
  0 siblings, 0 replies; 7+ messages in thread
From: Andre.Messerschmidt @ 2004-10-18  8:24 UTC (permalink / raw)
  To: linux-mips

Hi,

I am trying to compile Mozilla Firefox 1.0PR with Montavista Pro 3.1 toolchain (I linked mips_fp_be to mips-linux), but I get the following error messages:

---- snip ---------------------------------------------------
mips-linux-g++  -I/opt/mvx/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 -Wa,-xgot -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_am -DTRACING -g -fno-inline -o nsIFileEnumerator nsIFileEnumerator.o           -L../../dist/bin -L../../dist/lib -L../../dist/bin -lxpcom  -L/data2/Sources/inca/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -ldl -lm
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub203()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub156()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub184()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub128()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub226()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub246()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub112()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub180()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub230()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub147()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub151()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub116()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub111()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub231()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub141()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub104()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub58()'
../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub53()'

...

---- snap ---------------------------------------------------

I found some similar error messages from 2002 via Google, but the provided patches were for PPC and I do not know how to port them to MIPS. (Also i assume that such patches would have made it into the main branch by now)

Has anybody compiled Firefox successfully with Montavista and can give me some hints on how to proceed?

Thanks and regards 
André Messerschmidt

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Mozilla Firefox compile problem
@ 2004-10-20  7:10 ` Andre.Messerschmidt
  0 siblings, 0 replies; 7+ messages in thread
From: Andre.Messerschmidt @ 2004-10-20  7:10 UTC (permalink / raw)
  To: ica2_ts; +Cc: linux-mips


>This patch is broken and will only paper over the problem. Use 
>the patch in https://bugzilla.mozilla.org/show_bug.cgi?id=258429
>At least the firefox 0.93 in Debian mips works with it.

Thanks for the reply. With that patch I got two undefined macros
(SETUP_GP and SAVE_GP). SETUP_GP was mentioned in the thread, but I
could not find a definition for SAVE_GP. To go on I just defined it
empty and continued to compile.
Then I got the following error, which leaves me totally lost.

--- snip --------------------------------------
mips-linux-g++ -I/opt/mvx/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
-Wa,-xgot -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_am -DTRACING -g
-fno-inline -fPIC -shared -Wl,-h -Wl,libnecko2.so -o libnecko2.so
nsNetModule2.o             -Wl,--whole-archive
../../dist/lib/libnkdata_s.a  ../../dist/lib/libnkgopher_s.a
../../dist/lib/libnkkeyword_s.a  ../../dist/lib/libnkviewsource_s.a
-Wl,--no-whole-archive -L../../dist/bin -lxpcom  -L../../dist/bin
-L/data2/Sources/inca/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread
-ldl    -Wl,-Bsymbolic -ldl -lm
chmod +x libnecko2.so
/data2/Sources/inca/mozilla/config/nsinstall -R -m 755 libnecko2.so
../../dist/gre/components
: ../../dist/gre/components/libnecko2.so
/data2/Sources/inca/mozilla/config/nsinstall -R -m 755 libnecko2.so
../../dist/lib/components
: ../../dist/lib/components/libnecko2.so
/data2/Sources/inca/mozilla/config/nsinstall -R -m 755 libnecko2.so
../../dist/bin/components
: ../../dist/bin/components/libnecko2.so
gmake[3]: Leaving directory `/data2/Sources/inca/mozilla/netwerk/build2'
gmake[3]: Entering directory
`/data2/Sources/inca/mozilla/netwerk/resources'
+++ making chrome /data2/Sources/inca/mozilla/netwerk/resources  =>
../../dist/bin/chrome/comm.jar
+++ adding chrome ../../dist/bin/chrome/installed-chrome.txt
+++
content,install,url,jar:resource:/chrome/comm.jar!/content/necko/
        zip warning: ../comm.jar not found or empty
  adding: content/necko/redirect_loop.xul (stored 0%)
+++ overriding content/necko/contents.rdf
  adding: content/necko/contents.rdf (stored 0%)
+++ making chrome /data2/Sources/inca/mozilla/netwerk/resources  =>
../../dist/bin/chrome/en-US.jar
error: file '../../toolkit/locales/en-US/chrome/necko/contents.rdf'
doesn't exist at ../../config/make-jars.pl line 418, <STDIN> line 9.
gmake[3]: *** [libs] Fehler 2
gmake[3]: Leaving directory
`/data2/Sources/inca/mozilla/netwerk/resources'
gmake[2]: *** [libs] Fehler 2
gmake[2]: Leaving directory `/data2/Sources/inca/mozilla/netwerk'
gmake[1]: *** [tier_9] Fehler 2
gmake[1]: Leaving directory `/data2/Sources/inca/mozilla'
make: *** [default] Fehler 2
--- snap --------------------------------------

Anyone any ideas?

Best regards
Andre

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-20 10:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18  8:24 Mozilla Firefox compile problem Andre.Messerschmidt
2004-10-18  8:24 ` Andre.Messerschmidt
2004-10-18 12:55 ` Stephen P. Becker
2004-10-18 22:51   ` Thiemo Seufer
  -- strict thread matches above, loose matches on Subject: below --
2004-10-20  7:10 Andre.Messerschmidt
2004-10-20  7:10 ` Andre.Messerschmidt
2004-10-20 10:53 ` Thiemo Seufer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.