Hello,
First at all sorry my english.
When I trying to compile Mozilla Firebird in optimized mode (to my Athlon) I get this error:
<b>Creating library file: libjs3250.dll.a
make[4]: *** [js3250.dll] Error 1
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/js/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/js'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make: *** [build] Error 2
C:\mozilla\mozilla></b>
I use Windows XP ... what can be the problem? how can I fix it?
Thanks at all, and again sorry my english.
compiling Mozilla Firebird error on Win32
-
- Guest
CrazyFred wrote:Can you give us a few lines beforeCreating library file: libjs3250.dll.a
to help work out what the error was.
Please post your mozconfig and the command you use to start compiling as well. Are you using Visual Studio or gcc ?
I'm following the steps from this url: http://texturizer.net/firebird/build.html
My mozset.bat located in c:\mozilla\ contains:
<b>@echo off
set MOZ_TOOLS=c:\mozilla\moztools
set PATH=c:\mozilla\mingw\bin;c:\mozilla\cygwin\bin;%MOZ_TOOLS%\bin
set HOME=c:\mozilla
set CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot</b>
My .mozconfig located in c:\mozilla\mozilla\ contains:
<b>CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld
ac_add_options --disable-composer
ac_add_options --disable-debug
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --disable-shared
ac_add_options --disable-tests
ac_add_options --enable-crypto
ac_add_options --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help
ac_add_options --enable-optimize
ac_add_options --enable-static
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1</b>
In c:\mozilla (with command line) I done "c:\mozilla\mozset.bat", then "cd c:\mozilla\mozilla", "make -f client.mk pull_all" and finally "make -f client.mk build_all". After 10 minutes compiling this error appears:
<b>make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/js/src/fdlibm'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/js/src'
rm -f js3250.dll
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper gcc -mno-cygwin -shared -Wl,--e
xport-all-symbols -Wl,--out-implib -Wl,libjs3250.dll.a -Wl,-enable-runtime-pseu
do-reloc -o js3250.dll jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o
jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o jshash.o
jsinterp.o jslock.o jslog2.o jslong.o jsmath.o jsnum.o jsobj.o jsopcode.o jspars
e.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o
prmjtime.o fdlibm/libfdm.a js3240.res -Wl,--whole-archive fdlibm/libfdm.a
-Wl,--no-whole-archive -L../../dist/lib -lnspr4 -lplc4 -lplds4 -lm
fdlibm/libfdm.a(e_atan2.o)(.text+0x48):e_atan2.c: multiple definition of `__ieee
754_atan2'
fdlibm/libfdm.a(e_atan2.o)(.text+0x48):e_atan2.c: first defined here
fdlibm/libfdm.a(e_pow.o)(.text+0x130):e_pow.c: multiple definition of `__ieee754
_pow'
fdlibm/libfdm.a(e_pow.o)(.text+0x130):e_pow.c: first defined here
fdlibm/libfdm.a(s_scalbn.o)(.text+0x20):s_scalbn.c: multiple definition of `fd_s
calbn'
fdlibm/libfdm.a(s_scalbn.o)(.text+0x20):s_scalbn.c: first defined here
fdlibm/libfdm.a(e_sqrt.o)(.text+0x14):e_sqrt.c: multiple definition of `__ieee75
4_sqrt'
fdlibm/libfdm.a(e_sqrt.o)(.text+0x14):e_sqrt.c: first defined here
fdlibm/libfdm.a(s_atan.o)(.text+0x128):s_atan.c: multiple definition of `fd_atan
'
fdlibm/libfdm.a(s_atan.o)(.text+0x128):s_atan.c: first defined here
fdlibm/libfdm.a(s_copysign.o)(.text+0x0):s_copysign.c: multiple definition of `f
d_copysign'
fdlibm/libfdm.a(s_copysign.o)(.text+0x0):s_copysign.c: first defined here
fdlibm/libfdm.a(s_fabs.o)(.text+0x0):s_fabs.c: multiple definition of `fd_fabs'
fdlibm/libfdm.a(s_fabs.o)(.text+0x0):s_fabs.c: first defined here
fdlibm/libfdm.a(w_atan2.o)(.text+0x0):w_atan2.c: multiple definition of `fd_atan
2'
fdlibm/libfdm.a(w_atan2.o)(.text+0x0):w_atan2.c: first defined here
fdlibm/libfdm.a(w_pow.o)(.text+0x0):w_pow.c: multiple definition of `fd_pow'
fdlibm/libfdm.a(w_pow.o)(.text+0x0):w_pow.c: first defined here
fdlibm/libfdm.a(w_sqrt.o)(.text+0x0):w_sqrt.c: multiple definition of `fd_sqrt'
fdlibm/libfdm.a(w_sqrt.o)(.text+0x0):w_sqrt.c: first defined here
Creating library file: libjs3250.dll.a
make[4]: *** [js3250.dll] Error 1
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/js/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/js'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make: *** [build] Error 2
C:\mozilla\mozilla></b>
If you need more info please just tell me, and thanks for your help.
Goodbye.
-
- Posts: 1988
- Joined: February 9th, 2003, 3:25 pm
Ok, this is a common problem due to an error in the mozconfig in Gemal's instructions. Using the <a href="http://forums.mozillazine.org/search.php">search</a> here at mozillazine, the fix seems to be that you should remove:
ac_add_options --disable-shared
ac_add_options --enable-static
and add:
ac_add_options --disable-accessibility
from your mozconfig. If you search for fdlibm you'll find lots of threads on this problem
ac_add_options --disable-shared
ac_add_options --enable-static
and add:
ac_add_options --disable-accessibility
from your mozconfig. If you search for fdlibm you'll find lots of threads on this problem
-
- Guest
THANKS!
CrazyFred wrote:Ok, this is a common problem due to an error in the mozconfig in Gemal's instructions. Using the <a href="http://forums.mozillazine.org/search.php">search</a> here at mozillazine, the fix seems to be that you should remove:
ac_add_options --disable-shared
ac_add_options --enable-static
and add:
ac_add_options --disable-accessibility
from your mozconfig. If you search for fdlibm you'll find lots of threads on this problem
Many thanks, that was the solution (at least for now).
Goodbye