Note that Cygwin is unsupported -- if it works, that's great; if it
doesn't, tough luck.
Looks like ICU requires something that your Cygwin doesn't have. You can
try to figure out what that is and how to install it in Cygwin, or you can
try building without i18nsupport and see if that works better.

Also, "werror=on" has no effect, but it's also not the issue here.


On Thu, Feb 20, 2014 at 7:36 AM, Jane Chen <[email protected]> wrote:

> I'm having problem building v8 on Windows in cygwin.  Here are the steps I
> followed:
>
> $ svn co http://v8.googlecode.com/svn/branches/3.24 v8
> $ cd v8
> $ svn co http://gyp.googlecode.com/svn/trunk build/gyp
> $ svn co --force
> https://src.chromium.org/chrome/trunk/deps/third_party/icu46third_party/icu 
> --revision 239289
> $ make native -j8 werror=on library=shared
>
> PYTHONPATH="/home/jchen/v8/tools/generate_shim_headers:" \
>         PYTHONPATH="/home/jchen/v8/build/gyp/pylib:" \
>         GYP_GENERATORS=make \
>         build/gyp/gyp --generator-output="out" build/all.gyp \
>                       -Ibuild/standalone.gypi --depth=. -S.native
> -Dv8_enable_backtrace=1 -Darm_fpu=default -Darm_float_abi=default
> make[1]: Entering directory `/home/jchen/v8/out'
> third_party/icu/icudata.target.native.mk:8: warning: overriding commands
> for target `/home/jchen/v8/out/native/icudt.dll'
> third_party/icu/icudata.host.native.mk:8: warning: ignoring old commands
> for target `/home/jchen/v8/out/native/icudt.dll'
>   COPY /home/jchen/v8/out/native/icudt.dll
>   ACTION tools_gyp_v8_gyp_js2c_target_js2c
> /home/jchen/v8/out/native/obj/gen/libraries.cc
>   ACTION tools_gyp_v8_gyp_js2c_target_js2c_experimental
> /home/jchen/v8/out/native/obj/gen/experimental-libraries.cc
>   ACTION tools_gyp_v8_gyp_generate_trig_table_target_generate
> /home/jchen/v8/out/native/obj/gen/trig-table.cc
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/anytrans.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/astro.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/basictz.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/bms.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/bmsearch.o
>   CC(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/bocsu.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/brktrans.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/buddhcal.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/calendar.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/casetrn.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/cecal.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/chnsecal.o
>   CXX(target)
> /home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/choicfmt.o
> In file included from ../third_party/icu/source/i18n/calendar.cpp:29:0:
> ../third_party/icu/source/i18n/calendar.cpp: In function ‘ECalType
> icu_46::getCalendarType(const char*)’:
> ../third_party/icu/source/common/unicode/utypes.h:514:41: error:
> ‘::_stricmp’ has not been declared
>  #define U_STANDARD_CPP_NAMESPACE        ::
>                                          ^
> ../third_party/icu/source/common/cstring.h:70:41: note: in expansion of
> macro ‘U_STANDARD_CPP_NAMESPACE’
>  #       define uprv_stricmp(str1, str2) U_STANDARD_CPP_NAMESPACE
> _stricmp(str1, str2)
>                                          ^
> ../third_party/icu/source/i18n/calendar.cpp:180:13: note: in expansion of
> macro ‘uprv_stricmp’
>          if (uprv_stricmp(s, gCalTypes[i]) == 0) {
>              ^
> make[1]: ***
> [/home/jchen/v8/out/native/obj.target/icui18n/third_party/icu/source/i18n/calendar.o]
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/home/jchen/v8/out'
> make: *** [native] Error 2
>
> Please advise what I need to do to fix this.
>
> Thanks,
> Jane
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to