阅读:3746回复:0
求助:在Windows下编译出现的错误
下载了firefox-1.5-source.tar.bz2后.在windows 2000下编译browser
参照本站精华贴及官网进行环境设置,使用VC6+SP5+VC6 Processor Pack编译 以下是我使用的编译选项: # This file specifies the build flags for Firefox. You can use it by adding: # . $topsrcdir/browser/config/mozconfig # to the top of your mozconfig file. mk_add_options MOZ_CO_PROJECT=browser ac_add_options --enable-application=browser mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj ac_add_options --disable-optimize ac_add_options --enable-debug ac_add_options --enable-tests ac_add_options --disable-static ac_add_options --enable-shared 编译时出现如下错误: ../../../dist/include/js\jspubtd.h(52) : error C2146: syntax error : missing ';' before identifier 'jsint' ../../../dist/include/js\jspubtd.h(52) : fatal error C1004: unexpected end of file found make[4]: *** [JSConsole.obj] Error 2 make[4]: Leaving directory `/cygdrive/c/mozilla/obj/webshell/tests/viewer' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/cygdrive/c/mozilla/obj/webshell/tests' make[2]: *** [tier_99] Error 2 make[2]: Leaving directory `/cygdrive/c/mozilla/obj' make[1]: *** [default] Error 2 make[1]: Leaving directory `/cygdrive/c/mozilla/obj' make: *** [build] Error 2 可有那位高人指点一二,不胜感激 |
|