typedef build error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

typedef build error

Ellis-4
Hello,

I'm trying to build Firefox 1.5.0.1 on Win32, and I'm running into an
error that I'm not able to track down.  I've placed the build output at
the end of this post.  I first tried it on my AMD 3000+ box with Windows
XP Pro Simplified Chinese and hit the error.  A google search only
turned up a Chinese message board with the error, so I assumed that it
might be a problem with the OS language, so I built an English VMWare
image, but I've got the same problem.  The build goes for quite a long
time (maybe an hour) before blowing up.  Below is my setup.  Thanks for
your help:

----
Apps
----

Cygwin Full install, to c:\cygwin
Netscape wintools (moztools) installed to c:\moztools
MSVC 6.0 SP5
Visual C++ Processer Pack
Latest platform SDK

--------
Path var
--------

PATH='/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/moztools/bin:/cygdrive/c/Program
Files/Microsoft Visual Studio/Common/Tools/WinNT:/cygdrive/c/Program
Files/Microsoft Visual Studio/Common/MSDev98/Bin:/cygdrive/c/Program
Files/Microsoft Visual Studio/Common/Tools:/cygdrive/c/Program
Files/Microsoft Visual Studio/VC98/bin:/cygdrive/c/Program
Files/Microsoft Platform
SDK/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/lib/lapack'

-----------
Include var
-----------

INCLUDE='C:\Program Files\Microsoft Visual
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
Studio\VC98\include;C:\Program Files\Microsoft Platform SDK\include'

-------
Lib var
-------

LIB='C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Microsoft Visual Studio\VC98\lib;C:\Program Files\Microsoft
Platform SDK\lib;'

----------
.mozconfig
----------

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-dbg
ac_add_options --disable-optimize
ac_add_options --enable-debug

------------
Build Output
------------

/cygdrive/c/source/mozilla/build/cygwin-wrapper cl -FoJSConsole.obj -c
-DMOZILLA_INTERNAL_API -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\"
-DBUILD_ID=0000000000 -DUSE_LOCAL_WIDGETS  -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/embed_base
-I../../../dist/include/webshell -I../../../dist/include/widget
-I../../../dist/include/gfx -I../../../dist/include/layout
-I../../../dist/include/content -I../../../dist/include/dom
-I../../../dist/include/webbrwsr -I../../../dist/include/docshell
-I../../../dist/include/util -I../../../dist/include/uriloader
-I../../../dist/include/locale -I../../../dist/include/necko
-I../../../dist/include/htmlparser -I../../../dist/include/view
-I../../../dist/include/pref -I../../../dist/include/intl
-I../../../dist/include/unicharutil -I../../../dist/include/editor
-I../../../dist/include/windowwatcher -I../../../dist/include/xpconnect
-I../../../dist/include/js -I../../../dist/include/webshell_tests
-I../../../dist/include -I../../../dist/include/nspr
-I/usr/X11R6/include     -I/usr/X11R6/include -TP -nologo -W3 -Gy
-FdJSConsole.pdb  -DDEBUG -D_DEBUG -DDEBUG_Ellis_Rahhal -DTRACING -Zi
-DWIDGET_DLL=\"libwidget_windows.dll\"
-DGFXWIN_DLL=\"libgfx_windows.dll\"  -MDd          -I/usr/X11R6/include
-DMOZILLA_VERSION=\"1.8.0.1\" -DMOZILLA_VERSION_U=1.8.0.1
-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_DISTRIBUTION_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1
-DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1
-DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_LOGGING=1
-DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1
-DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1
-DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_REFLOW_PERF=1
-DMOZ_REFLOW_PERF_DSP=1 -DMOZILLA_LOCALE_VERSION=\"1.8\"
-DMOZILLA_REGION_VERSION=\"1.8\" -DMOZILLA_SKIN_VERSION=\"1.8\"
-D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
/cygdrive/c/source/mozilla/webshell/tests/viewer/JSConsole.cpp
JSConsole.cpp
../../../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/source/mozilla/ff-dbg/webshell/tests/viewer'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/cygdrive/c/source/mozilla/ff-dbg/webshell/tests'
make[2]: *** [tier_99] Error 2
make[2]: Leaving directory `/cygdrive/c/source/mozilla/ff-dbg'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/c/source/mozilla/ff-dbg'
make: *** [build] Error 2
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: typedef build error

Frank Wein
Ellis Rahhal > wrote:

> Hello,
>
> I'm trying to build Firefox 1.5.0.1 on Win32, and I'm running into an
> error that I'm not able to track down.  I've placed the build output at
> the end of this post.  I first tried it on my AMD 3000+ box with Windows
> XP Pro Simplified Chinese and hit the error.  A google search only
> turned up a Chinese message board with the error, so I assumed that it
> might be a problem with the OS language, so I built an English VMWare
> image, but I've got the same problem.  The build goes for quite a long
> time (maybe an hour) before blowing up.  Below is my setup.  Thanks for
> your help:
[snip]

> /cygdrive/c/source/mozilla/webshell/tests/viewer/JSConsole.cpp
> JSConsole.cpp
> ../../../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/source/mozilla/ff-dbg/webshell/tests/viewer'
> make[3]: *** [libs] Error 2
> make[3]: Leaving directory
> `/cygdrive/c/source/mozilla/ff-dbg/webshell/tests'
> make[2]: *** [tier_99] Error 2
> make[2]: Leaving directory `/cygdrive/c/source/mozilla/ff-dbg'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/cygdrive/c/source/mozilla/ff-dbg'
> make: *** [build] Error 2

Hi,
the problem is already known, too bad Google Groups does not know it
(there is a problem atm with Google Groups only picking up some of the
posting here). See the the thread "JSConsole.cpp : jspubdt.h syntax
error on Win2k (VC6 SP5)" here in this group
(news:[hidden email]),
https://bugzilla.mozilla.org/show_bug.cgi?id=324173 has been filed about
this. Anyway, at this time the build has basically already been finished
(what failed building here is a testing application), take a look if you
can find a firefox.exe under ff-dbg/dist/bin.

Frank
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds