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
FireFox compling error.
-
- Posts: 2
- Joined: March 1st, 2004, 5:25 pm
- Location: Sunnyvale
- Contact:
-
- Posts: 520
- Joined: October 23rd, 2003, 8:32 pm
You would have been better off posting this in the FireFox builds fourm. http://forums.mozillazine.org/viewforum.php?f=23
Important info building under linux, win, mac?
I have built FireFox before, but I used MSVC.
This may help you dropped the quotes in this command.
LDFLAGS="-mwindows -Wl,--enable-runtime-pseudo-reloc"
-kevin
Important info building under linux, win, mac?
I have built FireFox before, but I used MSVC.
This may help you dropped the quotes in this command.
LDFLAGS="-mwindows -Wl,--enable-runtime-pseudo-reloc"
-kevin
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
-> Builds
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
- bangbang023
- Posts: 1726
- Joined: July 7th, 2003, 12:23 am
- Location: Brooklyn, NY
- Contact: