cannot compile Jrex CVS source with Firefox 2.0.0.9 under Windows XP/MinGW
"mao" <[email protected]> Sat, 12 Jan 2008 09:43:00 +0800
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Organization | ca |
| Message-ID | <[email protected]> |
Hello, I'm trying to compile Jrex CVS source code with Firefox 2.0.0.9 under Windows XP. I'm using MinGW with MS Visual C++ 7.1. When I copy the jrex source to $firefox_src/embedding/ and run make in $firefox_src/embedding/JRex/src/native folder. The error messages are as following, can anyone provide help? $ make /local/bin/make export make[1]: Entering directory `/c/Firefox_src_2.0.0.9/embedding/Jrex' make[2]: Entering directory `/c/Firefox_src_2.0.0.9/embedding/Jrex/src/native' make[2]: Nothing to be done for `export'. make[2]: Leaving directory `/c/Firefox_src_2.0.0.9/embedding/Jrex/src/native' make[1]: Leaving directory `/c/Firefox_src_2.0.0.9/embedding/Jrex' /local/bin/make libs make[1]: Entering directory `/c/Firefox_src_2.0.0.9/embedding/Jrex' make[2]: Entering directory `/c/Firefox_src_2.0.0.9/embedding/Jrex/src/native' JRexDirectoryServiceProviderImpl.cpp Building deps for JRexDirectoryServiceProviderImpl.cpp cl -FoJRexDirectoryServiceProviderImpl.obj -c -D_IMPL_NS_GFX -D_IMPL_NS_MSG_BASE -D_IMPL_NS_WIDGET -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DBUILD_ID=0000000000 -DXPCOM_GLUE=1 -DJREX_DEBUG -DJREX_DOM -DJREX_DOM_HTML2 -IC:\j2ee1.5.1\jdk/include -IC:\j2ee1.5.1\jdk/include/win32 -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/docshell -I../../../../dist/include/webshell -I../../../../dist/include/appshell -I../../../../dist/include/necko -I../../../../dist/include/widget -I../../../../dist/include/dom -I../../../../dist/include/xpconnect -I../../../../dist/include/gfx -I../../../../dist/include/layout -I../../../../dist/include/content -I../../../../dist/include/uriloader -I../../../../dist/include/webbrwsr -I../../../../dist/include/webbrowserpersist -I../../../../dist/include/shistory -I../../../../dist/include/embed_base -I../../../../dist/include/pref -I../../../../dist/include/windowwatcher -I../../../../dist/include/commandhandler -I../../../../dist/include/profile -I../../../../dist/include/find -I../../../../dist/include/js -I../../../../dist/include/liveconnect -I../../../../dist/include/caps -I../../../../dist/include -I../../../../dist/include -I../../../../dist/include/nspr -I../../../../dist/sdk/include -Ijni/dom -Ijni/dom/html2 -I. -TP -nologo -W3 -Gy -FdJRexDirectoryServiceProviderImpl.pdb -DNDEBUG -DTRIMMED -O1 -GX /Zm256 -MD -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.8.1.9\" -DMOZILLA_VERSION_U=1.8.1.9 -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DWINVER=0x400 -D_WIN32_WINNT=0x400 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DEFAULT_TOOLKIT=\"windows\" -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_XUL_APP=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_SAFE_BROWSING=1 -DMOZ_URL_CLASSIFIER=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DHAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_MORK=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DMOZILLA_1_8_BRANCH=1 -DMOZILLA_LOCALE_VERSION=\"1.8.1\" -DMOZILLA_REGION_VERSION=\"1.8.1\" -DMOZILLA_SKIN_VERSION=\"1.8\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /c/Firefox_src_2.0.0.9/embedding/Jrex/src/native/JRexDirectoryServiceProviderImpl.cpp Zm256 c1xx : fatal error C1083: Cannot open source file: 'C:/mozilla-build/msys/Zm256': No such file or directory JRexDirectoryServiceProviderImpl.cpp c:\Firefox_src_2.0.0.9\dist\include\string\nsTAString.h(41) : fatal error C1189: #error : Cannot use internal string classes without MOZILLA_INTERNAL_API defined. Use the frozen header nsStringAPI.h instead. Generating Code... make[2]: *** [JRexDirectoryServiceProviderImpl.obj] Error 2 make[2]: Leaving directory `/c/Firefox_src_2.0.0.9/embedding/Jrex/src/native' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/c/Firefox_src_2.0.0.9/embedding/Jrex' make: *** [all] Error 2