'mpl.cpp(688) : error C2065: 'LOCALE_NAME_MAX_LENGTH' : undeclared identifier' while building FF for Windows Mobile

RESOLVED WONTFIX

Status

()

Firefox
Build Config
--
critical
RESOLVED WONTFIX
10 years ago
7 years ago

People

(Reporter: kennyyu, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

Following https://wiki.mozilla.org/Mobile/Build/Windows_Mobile_Build_Instructions to attept building FF, I got the following error messages amid the execution session of `make -f client.mk build`:


....
lla/mozilla-central/build/wince/shunt/include/" /FI"mozce_shunt.h" /DMOZCE_STATI
C_BUILD /DUNICODE /D_UNICODE_ /DARM /D_ARM_ /DWINCE /D_WIN32_WCE=0x502 /DUNDER_C
E /DWIN32_PLATFORM_WFSP /D_WINDOWS /Zc:wchar_t- /GS- /GR- /fp:fast -FonsIWin32Lo
caleImpl.obj -c -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_
XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI
-DIMPL_NS_NET -DIMPL_THEBES -DZLIB_INTERNAL -DOSTYPE=\""WINCE"\" -DOSARCH=WINCE
-Ic:/Users/kennyyu/mozilla/mozilla-central/intl/locale/src/windows -I. -I../../.
./../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/inc
lude/unicharutil -I../../../../dist/include/uconv -I../../../../dist/include/int
l -I../../../../dist/include -I../../../../dist/include/locale -Ic:/Users/kennyy
u/mozilla/mozilla-central/objdir-wm6-dbg-opt/xulrunner/dist/include/nspr -Ic:/Us
ers/kennyyu/mozilla/mozilla-central/objdir-wm6-dbg-opt/xulrunner/dist/sdk/includ
e -Ic:/Users/kennyyu/mozilla/mozilla-central/intl/locale/src/windows/.. -GR- -TP
 -nologo -Zc:wchar_t- -W3 -Gy -Fdplatlocale_s.pdb -DDEBUG -D_DEBUG -DDEBUG_kenny
yu -DTRACING -Zi -O1 -DCROSS_COMPILE=1 -D_CRT_SECURE_NO_WARNINGS=1 -D_CRT_NONSTD
C_NO_WARNINGS=1 -DWINVER=0x500 -D_WIN32_WINNT=0x500 -D_WIN32_IE=0x0500 -DX_DISPL
AY_MISSING=1 -DMOZILLA_VERSION=\""1.9.1b2pre"\" -DMOZILLA_VERSION_U=1.9.1b2pre -
DHAVE_SNPRINTF=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 -DD_INO=d_ino -DMOZ_EMBEDDING
_LEVEL_DEFAULT=1 -DMOZ_EMBEDDING_LEVEL_BASIC=1 -DMOZ_EMBEDDING_LEVEL_MINIMAL=1 -
DMOZ_XULRUNNER=1 -DMOZ_BUILD_APP=xulrunner -DMOZ_XUL_APP=1 -DMOZ_DEFAULT_TOOLKIT
=\""cairo-windows"\" -DMOZ_DISTRIBUTION_ID=\""org.mozilla"\" -DOJI=1 -DIBMBIDI=1
 -DMOZ_VIEW_SOURCE=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRI
NT_PREVIEW=1 -DMOZ_NO_XPCOM_OBSOLETE=1 -DMOZ_OGG=1 -DMOZ_MEDIA=1 -DMOZ_XTF=1 -DM
OZ_CRASHREPORTER_ENABLE_PERCENT=100 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_S
VG=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_DISABLE_VISTA_SDK_REQUIREMENTS=1 -DMOZ_D
ISABLE_PARENTAL_CONTROLS=1 -DMOZ_PLACES=1 -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_LO
GGING=1 -DMOZ_USER_DIR=\""Mozilla"\" -DMOZ_ENABLE_LIBXUL=1 -DMOZ_TREE_CAIRO=1 -D
HAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DMOZ_MORKREADER=
1 -DMOZ_DLL_SUFFIX=\"".dll"\" -DJS_THREADSAFE=1 -DMOZ_REFLOW_PERF=1 -DMOZ_REFLOW
_PERF_DSP=1 -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT c:/Users/kennyyu/mozilla/mozil
la-central/intl/locale/src/windows/nsIWin32LocaleImpl.cpp
nsIWin32LocaleImpl.cpp
c:/Users/kennyyu/mozilla/mozilla-central/intl/locale/src/windows/nsIWin32LocaleI
mpl.cpp(688) : error C2065: 'LOCALE_NAME_MAX_LENGTH' : undeclared identifier
c:/Users/kennyyu/mozilla/mozilla-central/intl/locale/src/windows/nsIWin32LocaleI
mpl.cpp(689) : error C2065: 'LOCALE_NAME_MAX_LENGTH' : undeclared identifier
make[6]: *** [nsIWin32LocaleImpl.obj] Error 2
make[6]: Leaving directory `/c/Users/kennyyu/mozilla/mozilla-central/objdir-wm6-
dbg-opt/xulrunner/intl/locale/src/windows'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/c/Users/kennyyu/mozilla/mozilla-central/objdir-wm6-
dbg-opt/xulrunner/intl/locale/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/c/Users/kennyyu/mozilla/mozilla-central/objdir-wm6-
dbg-opt/xulrunner/intl/locale'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/c/Users/kennyyu/mozilla/mozilla-central/objdir-wm6-
dbg-opt/xulrunner/intl'
make[2]: *** [libs_tier_necko] Error 2
make[2]: Leaving directory `/c/Users/kennyyu/mozilla/mozilla-central/objdir-wm6-
dbg-opt/xulrunner'
make[1]: *** [tier_necko] Error 2
make[1]: Leaving directory `/c/Users/kennyyu/mozilla/mozilla-central/objdir-wm6-
dbg-opt/xulrunner'
make: *** [default] Error 2

kennyyu@KENNYYU-PC ~/mozilla/mozilla-central/objdir-wm6-dbg-opt/xulrunner
$

Reproducible: Always

Steps to Reproduce:
Start building by executing `client.mk -f build`. The error message appears after a few minutes.
Actual Results:  
the error message described above appears.

Expected Results:  
it should build successfully

I'm using VS9 with WM SDK installed. I installed SDK *after* VS9. I executed the MINGW32 as an administrator.
(Reporter)

Comment 1

10 years ago
Correction to my previous typo...

Steps to Reproduce:
Start building by executing `make -f client.mk build`. The error message appears
after a few minutes.

Comment 2

7 years ago
WinCE/Windows Mobile support has been removed from the main build system, Spidermonkey, mobile installer, in-app updater and so on (see bug 614720, bug 554087 and all their dependants). Until such point where MS decide to release a Windows Phone 7 NDK and the decision is made to port to that platform, this is WONTFIX.

Filter bugmail on WinCEMassWONTFIX.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.