Firebox compilation error.

Discussion about official Mozilla Firefox builds
Post Reply
yuanbing
Posts: 2
Joined: March 1st, 2004, 5:25 pm
Location: Sunnyvale
Contact:

Firebox compilation error.

Post by yuanbing »

Hi folks:
I just downloaded source code of FireFox 0.8 and tried to build it. But I got the following compling error: :-(

/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper g++ -mno-cygwin -shared -o xpc3
250.dll nsScriptError.o nsXPConnect.o xpccallcontext.o xpccomponents.o xpcconte
xt.o xpcconvert.o xpcdebug.o xpcexception.o xpcjsid.o xpcjsruntime.o xpclog.o xp
cmaps.o xpcmodule.o xpcruntimesvc.o xpcstack.o xpcstring.o xpcthreadcontext.o xp
cthrower.o xpcwrappedjs.o xpcvariant.o xpcwrappedjsclass.o xpcwrappednative.o xp
cwrappednativeinfo.o xpcwrappednativejsops.o xpcwrappednativeproto.o xpcwrappedn
ativescope.o ./module.res -Wl,--whole-archive ../../../../dist/lib/li
bjsloader_s.a -Wl,--no-whole-archive -L../../../../dist/lib -lxpcom -L../../../
../dist/bin -L../../../../dist/lib -lnspr4 -lplc4 -lplds4 -L../../../../dist/lib
-ljs3250 -lm
Info: resolving __ZTV14nsXPTCStubBase by linking to __imp___ZTV14nsXPTCStubBase
(auto-import)
xpcwrappedjs.o(.text$_ZN14nsXPTCStubBaseC2Ev+0x16): In function `ZNK14XPCCallCon
textcvP9JSContextEv':
c:/mozilla/mozilla/js/src/xpconnect/src/xpcinlines.h: variable 'vtable for nsXPT
CStubBase' can't be auto-imported. Please read the documentation for ld's --enab
le-auto-import for details.

Here is my .mozconfig file:
. $topsrcdir/browser/config/mozconfig
CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld
ac_add_options --disable-accessibility
ac_add_options --disable-activex
LDFLAGS=-mwindows -Wl --enable-runtime-pseudo-reloc

I'm using gcc version 3.3.1. I was exactly following instructions shown at http://gemal.dk/mozilla/build.htm

Could anyone shed a light on it?

Thanks

Bing :cry: :cry: :cry: :cry: :( :( :( :( :cry: :( :( :( :(
Post Reply