Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem compiling with VS 2003 .NET

24 views
Skip to first unread message

thegsu...@gmail.com

unread,
Nov 1, 2006, 9:36:26 PM11/1/06
to
Hi. I'm kind of new to this, but I'd like to try and get the firefox
source compiled... maybe tackle some of the buglist entries... who
knows.

This is the error I'm getting on compile:

-------------------------------
Building deps for
/cygdrive/c/mozilla/toolkit/airbag/airbag/src/common/windows/g
uid_string.cc
/cygdrive/c/mozilla/build/cygwin-wrapper cl -Foguid_string.obj -c
-DUNICODE -D_
UNICODE -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DBUILD_ID=0000000000
-I/cygdri
ve/c/mozilla/toolkit/airbag/airbag/src/common/windows/../..
-I../../../../../..
/dist/include -I../../../../../../dist/include/airbag_common
-I../../../../../
../dist/include/nspr -DMOZ_PNG_READ -DPNG_NO_MMX_CODE -DMOZ_PNG_WRITE
-I../../
../../../../dist/sdk/include -GR- -TP -nologo -W3 -Gy
-Fdguid_string.pdb
-DNDEBUG -DTRIMMED -O1 -MD -DWINVER=0x500
-D_WIN32_WINNT=0x500 -DX_DI
SPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.9a1\" -DMOZILLA_VERSION_U=1.9a1
-DHAVE_SNP
RINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1
-DHW_THREADS=1
-DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1
-DD_INO=d_ino -DM
OZ_EMBEDDING_LEVEL_DEFAULT=1 -DMOZ_EMBEDDING_LEVEL_BASIC=1
-DMOZ_EMBEDDING_LEVEL
_MINIMAL=1 -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_XUL_APP=1
-DMOZ_DEFAULT
_TOOLKIT=\"cairo-windows\" -DMOZ_THEBES=1 -DMOZ_CAIRO_GFX=1
-DMOZ_DISTRIBUTION_I
D=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1
-DACCESSIBILITY=1 -DMO
Z_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1
-DMOZ_NO_XPC
OM_OBSOLETE=1 -DMOZ_XTF=1 -DMOZ_AIRBAG=1 -DMOZ_MATHML=1
-DMOZ_ENABLE_CANVAS=1 -D
MOZ_SVG=1 -DMOZ_SVG_FOREIGNOBJECT=1 -DMOZ_UPDATE_CHANNEL=default
-DMOZ_FEEDS=1 -
DMOZ_STORAGE=1 -DMOZ_SAFE_BROWSING=1 -DMOZ_URL_CLASSIFIER=1
-DMOZ_LOGGING=1 -DMO
Z_USER_DIR=\"Mozilla\" -DHAVE_UINT64_T=1 -DMOZ_XUL=1
-DMOZ_PROFILELOCKING=1 -DMO
Z_RDF=1 -DMOZ_MORK=1 -DMOZ_MORKREADER=1 -DMOZ_DLL_SUFFIX=\".dll\"
-DJS_THREADSAF
E=1 -DMOZILLA_LOCALE_VERSION=\"1.9a1\"
-DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZI
LLA_SKIN_VERSION=\"1.8\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
/cygdrive/c/mozi
lla/toolkit/airbag/airbag/src/common/windows/guid_string.cc
guid_string.cc
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\ostream(574) : warning C4530: C++ exception handler
used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\istream(828) : warning C4530: C++ exception handler
used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\istream(1064) : warning C4530: C++ exception handler
used, but unwind semantics are not enabled.Specify /EHsc
c:/mozilla\toolkit\airbag\airbag\src\common\windows\guid_string.cc(43)
: error C2065: '_TRUNCATE' : undeclared identifier
c:/mozilla\toolkit\airbag\airbag\src\common\windows\guid_string.cc(43)
: error C3861: '_snwprintf_s': identifier not found, even with
argument-dependent lookup
make[6]: *** [guid_string.obj] Error 2
make[6]: Leaving directory
`/cygdrive/c/mozilla/obj-i686-pc-cygwin/toolkit/airbag/airbag/src/common/windows'
make[5]: *** [libs] Error 2
make[5]: Leaving directory
`/cygdrive/c/mozilla/obj-i686-pc-cygwin/toolkit/airbag'
make[4]: *** [libs] Error 2
make[4]: Leaving directory
`/cygdrive/c/mozilla/obj-i686-pc-cygwin/toolkit'
make[3]: *** [libs_tier_toolkit] Error 2
make[3]: Leaving directory `/cygdrive/c/mozilla/obj-i686-pc-cygwin'
make[2]: *** [tier_toolkit] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/obj-i686-pc-cygwin'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/mozilla/obj-i686-pc-cygwin'
make: *** [build] Error 2
---------------------------------------

For the record, I am using make 3.80-1 as linked to by the developer
pages. Any ideas on what to do?

Thanks!

-Phil

Gavin Sharp

unread,
Nov 1, 2006, 10:08:22 PM11/1/06
to thegsu...@gmail.com
thegsu...@gmail.com wrote:
> Any ideas on what to do?

Airbag currently doesn't build with msvc 7.1, it's a known issue (see
)http://code.google.com/p/airbag/issues/detail?id=64 ). For now, you can
just add |ac_add_options --disable-airbag| to your .mozconfig.

Gavin

0 new messages