MozillaZine

Build Seamonkey 2.1b2 problem

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
s793016
 
Posts: 23
Joined: April 22nd, 2003, 3:20 am
Location: Earth

Post Posted March 11th, 2011, 10:15 pm

Sorry, my English is very very poor.

I can build seamonkey 2.0.12 @ Visual Studio 2008 Team SP1 without any problem.

I just tried to build seamonkey 2.1b2, and got error.

So, I followed what MDC posting, installing Windows 7 SDK and DirectX SDK, update my Mozilla Build System to 1.5.1, and again re-compiling.

I got another error and cannot continue build.
Code: Select all
ml -nologo -safeseh -c -Fosrc/x86/win32.obj src/x86/win32.asm
 Assembling: src/x86/win32.asm
sh.exe ./libtool --tag=CC   --mode=link /d/mozilla/comm-central/mozilla/js/src/ctypes/libffi/msvcc.sh -Wall -g -fexceptions  -O2  -version-info `grep -v '^#' /d/mozilla/comm-central/mozilla/js/src/ctypes/libffi/libtool-version`  -no-undefined -LTCG -LARGEADDRESSAWARE -NXCOMPAT -DYNAMICBASE -SAFESEH -o libffi.la -rpath /usr/local/lib src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo    src/x86/ffi.lo src/x86/win32.lo                       
sh.exe ./libtool --tag=CC   --mode=link /d/mozilla/comm-central/mozilla/js/src/ctypes/libffi/msvcc.sh -Wall -g -fexceptions  -O2   -LTCG -LARGEADDRESSAWARE -NXCOMPAT -DYNAMICBASE -SAFESEH -o libffi_convenience.la  src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo    src/x86/ffi.lo src/x86/win32.lo                       
./libtool: line 4975: cd: TCG: No such file or directory
libtool: link: cannot determine absolute directory name of `TCG'
make[8]: *** [libffi_convenience.la] Error 1
make[8]: *** Waiting for unfinished jobs....
./libtool: line 4975: cd: TCG: No such file or directory
libtool: link: cannot determine absolute directory name of `TCG'
make[8]: *** [libffi.la] Error 1
make[8]: Leaving directory `/d/mozilla/comm-central/obj/mozilla/js/src/ctypes/libffi'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/d/mozilla/comm-central/obj/mozilla/js/src/ctypes/libffi'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/d/mozilla/comm-central/obj/mozilla/js/src/ctypes/libffi'
make[5]: *** [export] Error 2
make[5]: Leaving directory `/d/mozilla/comm-central/obj/mozilla/js/src'
make[4]: *** [export_tier_js] Error 2
make[4]: Leaving directory `/d/mozilla/comm-central/obj/mozilla'
make[3]: *** [tier_js] Error 2
make[3]: Leaving directory `/d/mozilla/comm-central/obj/mozilla'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/d/mozilla/comm-central/obj/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/d/mozilla/comm-central/obj'
make: *** [build] Error 2

Here is the full LOG FILE.

.mozconfig
Code: Select all
mk_add_options MOZ_MAKE_FLAGS="-j2"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj

ac_add_options --disable-updater
ac_add_options --disable-update-channel
ac_add_options --disable-update-packaging
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --disable-tests
ac_add_options --enable-jemalloc
ac_add_options --enable-application=suite

ac_add_options --enable-optimize="-O2i -GL -GS- -arch:SSE2 -fp:fast -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE" # M$VC

export LDFLAGS="-LTCG"
mk_add_options LDFLAGS="-LTCG"
export MOZ_OPTIMIZE_LDFLAGS="-opt:ref -LTCG"
mk_add_options MOZ_OPTIMIZE_LDFLAGS="-opt:ref -LTCG"


Thanks very much.

tqft

User avatar
 
Posts: 1232
Joined: April 22nd, 2003, 11:57 pm

Post Posted March 12th, 2011, 6:51 am

When you did "and again re-compiling." - did you try
make -f client.mk distclean
and then
make -f client.mk build

Given you updated a bunch of stuff, doing a build without distclean may mean some things can't be found, doing a distclean and then build may fix that.

I hope that helps.

s793016
 
Posts: 23
Joined: April 22nd, 2003, 3:20 am
Location: Earth

Post Posted March 15th, 2011, 7:23 am

tqft wrote:When you did "and again re-compiling." - did you try
make -f client.mk distclean
and then
make -f client.mk build

Given you updated a bunch of stuff, doing a build without distclean may mean some things can't be found, doing a distclean and then build may fix that.

I hope that helps.

Thank you. I just delete OBJ Directory and remake again, no work.

Thanks.

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted March 15th, 2011, 9:50 pm

Your mozconfig has a lot of unnecessary junk. Get rid of all the junk and start with a minimal mozconfig.

Phil

s793016
 
Posts: 23
Joined: April 22nd, 2003, 3:20 am
Location: Earth

Post Posted March 17th, 2011, 10:03 am

Philip Chee wrote:Your mozconfig has a lot of unnecessary junk. Get rid of all the junk and start with a minimal mozconfig.

Phil

Sorry, my English is very very poor.

Thank you, Phil.

I found the problem is "-LTCG" will be proceed to "-L TCG",
so I delete that LDFLAG part,
and remake again, this part is ok rightnow.

After make a while ago, I got another error:
Code: Select all
VersionGLSL.cpp
d:/moz-build/python/python2.6.exe -O d:/mozilla/comm-central/mozilla/build/cl.py cl -FoVersionGLSL.obj -c -D_HAS_EXCEPTIONS=0 -I../../dist/stl_wrappers  -DANGLE_USE_NSPR -DANGLE_BUILD -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DMOZ_SUITE=1 -DOSTYPE=\"WINNT6.1\" -DOSARCH=WINNT -I/d/mozilla/comm-central/mozilla/gfx/angle/include -I/d/mozilla/comm-central/mozilla/gfx/angle/src -I/d/mozilla/comm-central/mozilla/gfx/angle -I. -I../../dist/include -I../../dist/include/nsprpub  -Id:/mozilla/comm-central/obj/mozilla/dist/include/nspr -Id:/mozilla/comm-central/obj/mozilla/dist/include/nss        -GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -Fdgenerated.pdb -wd4800 -DNDEBUG -DTRIMMED -O2i -GL -GS- -arch:SSE2 -fp:fast -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -MD            -FI ../../dist/include/mozilla-config.h -DMOZILLA_CLIENT /d/mozilla/comm-central/mozilla/gfx/angle/src/compiler/VersionGLSL.cpp
TranslatorGLSL.cpp

=== Building ANGLE via devenv.exe ===
VersionGLSL.cpp

rm -f angle.lib
lib -NOLOGO -OUT:"angle.lib"  atom.obj cpp.obj cppstruct.obj memory.obj scanner.obj symbols.obj tokens.obj Compiler.obj InfoSink.obj Initialize.obj InitializeDll.obj Intermediate.obj intermOut.obj IntermTraverse.obj MozAngleLink.obj parseConst.obj ParseHelper.obj PoolAlloc.obj QualifierAlive.obj RemoveTree.obj ShaderLang.obj SymbolTable.obj VariableInfo.obj debug.obj ossource_nspr.obj util.obj ValidateLimitations.obj glslang_lex.obj glslang_tab.obj CodeGenGLSL.obj OutputGLSL.obj TranslatorGLSL.obj VersionGLSL.obj 
Upgrading solution...
VersionGLSL.obj : 找到 MSIL .netmodule 或以 /GL 編譯的模組。請以 /LTCG 重新啟動連結,將 /LTCG 加入連結命令列以提升連結器效能
echo not_ranlib angle.lib
not_ranlib angle.lib
echo "d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\atom.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\cpp.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\cppstruct.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\memory.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\scanner.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\symbols.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\tokens.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\Compiler.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\InfoSink.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\Initialize.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\InitializeDll.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\Intermediate.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\intermOut.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\IntermTraverse.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\MozAngleLink.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\parseConst.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\ParseHelper.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\PoolAlloc.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\QualifierAlive.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\RemoveTree.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\ShaderLang.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\SymbolTable.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\VariableInfo.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\debug.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\ossource_nspr.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\util.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\ValidateLimitations.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\glslang_lex.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\glslang_tab.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\CodeGenGLSL.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\OutputGLSL.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\TranslatorGLSL.obj d:\\mozilla\\comm-central\\obj\\mozilla\\gfx\\angle\\VersionGLSL.obj " > angle.lib.fake
d:/mozilla/comm-central/obj/mozilla/config/nsinstall.exe -m 644 angle.lib angle.lib.fake ../../staticlib
make[6]: *** [libEGL.dll] Error 1
make[6]: Leaving directory `/d/mozilla/comm-central/obj/mozilla/gfx/angle'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/d/mozilla/comm-central/obj/mozilla/gfx'
make[4]: *** [libs_tier_platform] Error 2
make[4]: Leaving directory `/d/mozilla/comm-central/obj/mozilla'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/d/mozilla/comm-central/obj/mozilla'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/d/mozilla/comm-central/obj/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/d/mozilla/comm-central/obj'
make: *** [build] Error 2


Thanks very much.

s793016
 
Posts: 23
Joined: April 22nd, 2003, 3:20 am
Location: Earth

Post Posted March 22nd, 2011, 9:46 am

I think I found the problem.

I don't know why my VS2008 GUI part is out-of-date, so exec devenv.exe whill got error.

After remove and reinstall VS2008, whole build process successful and no any error.

Thanks everyone.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 2 guests