Re: Building on XP with VC 7
Adrian Aichner <[email protected]>
| Newsgroups | gmane.emacs.xemacs.windows |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "Gerald" == Gerald E Bennett <[email protected]> writes: Gerald> Hi all, Gerald> I have been attempting to build the "celery" release on my Gerald> XP machine with no success. I was able to follow the NT Gerald> Readme and build all of the required packages. When I Gerald> attempted to build xemacs I got the following errors: Gerald> I am not sure if this is a Microsoft issue or not. Hello Gerald, please send us the contents of "C:\\programming\\XEmacs\\xemacs-21.5.15\\Installation" "C:\\programming\\XEmacs\\xemacs-21.5.15\\lib-src\\config.values" "C:\\programming\\XEmacs\\xemacs-21.5.15\\nt\config.inc" The lines in your mail are broken up in funny way. Did you copy/paste from a DOS box? src\console-msw.c seems to pull in Vc7\PlatformSDK\Include\MsXml.h which in turn seems to have a conflicting definition of abort. Try adding the compiler switch to preserve pre-processed output of console-msw.c in console-msw.i (or some such). Looking thru that file you should be able to figure out who is pulling in conflicting definitions. Good Luck, Adrian Gerald> Thanks Gerald> Gerry Gerald> C:\programming\XEmacs\xemacs-21.5.15\nt>nmake -f xemacs.mak Gerald> Microsoft (R) Program Maintenance Utility Version 7.00.9466 Gerald> Copyright (C) Microsoft Corporation. All rights reserved. Gerald> WARNING: Compiling without dependency information. Gerald> Creating C:\programming\XEmacs\xemacs-21.5.15\lib-src\config.values Gerald> -------------------------------------------------------------------- Gerald> OS version: Gerald> Microsoft Windows XP [Version 5.1.2600] Gerald> OS: Windows_NT Gerald> XEmacs 21.5-b15 "celery" configured for `i586-pc-win32'. Gerald> Building XEmacs using "nmake". Gerald> Building XEmacs using make flags " ". Gerald> Building XEmacs in source tree "C:\\programming\\XEmacs\\xemacs-21.5.15". Gerald> For src, using compiler "cl -nologo -W3 -DSTRICT -Zi -Od -MDd -c -TP Gerald> -I"c:\p Gerald> rogramming\Xemacs\xpm-3.4k" -I"c:\programming\Xemacs\xpm-3.4k\lib" Gerald> -I"c:\program Gerald> ming\Xemacs\libpng-1.0.12" -I"c:\programming\Xemacs\zlib" Gerald> -I"c:\programming\Xema Gerald> cs\jpeg-6b" -I"c:\programming\Xemacs\zlib" Gerald> -IC:\programming\XEmacs\xemacs-21.5.1 Gerald> 5\nt\inc -IC:\programming\XEmacs\xemacs-21.5.15\src -DHAVE_MS_WINDOWS Gerald> -DHAVE_XPM Gerald> -DFOR_MSW -DHAVE_GIF -DHAVE_PNG -DHAVE_JPEG -DHAVE_ZLIB -DHAVE_MENUBARS Gerald> -DHAVE_ Gerald> SCROLLBARS -DHAVE_TOOLBARS -DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_NATIVE_SOUND Gerald> -DPDUMP -DSYSTEM_MALLOC -DERROR_CHECK_ALL -DDEBUG_XEMACS -D_DEBUG Gerald> -DWIN32_LE Gerald> AN_AND_MEAN -DWIN32_NATIVE -Demacs -DHAVE_CONFIG_H Gerald> -DPATH_VERSION=\"21.5-b15\" Gerald> -DPATH_PROGNAME=\"xemacs\" Gerald> -DEMACS_VERSION Gerald> =\"21.5-b15\" -DEMACS_PROGNAME=\"xemacs\" Gerald> -DSTACK_TRACE_EYE_CATCHER=x Gerald> emacs_21_5_b15_i586_pc_win32 -DPATH_PREFIX=\"..\" -DEMACS_MAJOR_VERSION=21 Gerald> -DE Gerald> MACS_MINOR_VERSION=5 -DEMACS_BETA_VERSION=15 Gerald> -DXEMACS_CODENAME=\""celery"\" Gerald> -DEMACS_CONFIGURATION=\"i586-pc-win32\" Gerald> -DPATH_PACKAGEPATH=\""~\\.xemacs;;c:\\p Gerald> rogramming\\XEmacs\\site-packages;c:\\programming\\XEmacs\\xemacs-packages"\ Gerald> "". Gerald> For lib-src, using compiler "cl -nologo -W3 -DSTRICT -Zi -Od -MDd Gerald> -IC:\program Gerald> ming\XEmacs\xemacs-21.5.15\lib-src Gerald> -IC:\programming\XEmacs\xemacs-21.5.15\src -D Gerald> HAVE_CONFIG_H -DWIN32_NATIVE". Gerald> Compiling as C++. Gerald> Installing XEmacs in "c:\\programming\\XEmacs\\XEmacs-21.5-b15". Gerald> Package path is Gerald> "~\\.xemacs;;c:\\programming\\XEmacs\\site-packages;c:\\progra Gerald> mming\\XEmacs\\xemacs-packages". Gerald> Compiling in support for Microsoft Windows native GUI. Gerald> Compiling in support for XPM images. Gerald> Compiling in support for GIF images. Gerald> Compiling in support for PNG images. Gerald> Compiling in support for JPEG images. Gerald> Compiling in support for GZIP compression/decompression. Gerald> Compiling in support for toolbars. Gerald> Compiling in support for dialogs. Gerald> Compiling in support for widgets. Gerald> Compiling in support for native sounds. Gerald> Using portable dumper. Gerald> Using system malloc. Gerald> Using DLL version of C runtime library. Gerald> Compiling in extra internal error-checking. Gerald> NOTE: --------------------------------------------------------- Gerald> NOTE: Compiling in support for runtime error-checking. Gerald> NOTE: XEmacs will run noticeably more slowly as a result. Gerald> NOTE: Error-checking is on by default for XEmacs beta releases. Gerald> NOTE: --------------------------------------------------------- Gerald> Compiling in debugging support (no slowdown). Gerald> -------------------------------------------------------------------- Gerald> A subdirectory or file C:\programming\XEmacs\xemacs-21.5.15\nt\obj already Gerald> exist Gerald> s. Gerald> make-dump-id.c Gerald> etags.c Gerald> getopt.c Gerald> getopt1.c Gerald> regex.c Gerald> Generating Code... Gerald> hexl.c Gerald> i.c Gerald> winclient.c Gerald> make-docfile.c Gerald> mmencode.c Gerald> movemail.c Gerald> pop.c Gerald> getopt.c Gerald> getopt1.c Gerald> regex.c Gerald> Generating Code... Gerald> sorted-doc.c Gerald> wakeup.c Gerald> minitar.c Gerald> console-msw.c Gerald> c:\programming\Microsoft Visual Studio Gerald> .NET\Vc7\PlatformSDK\Include\MsXml.h(1925 Gerald> ): warning C4002: too many actual parameters for macro 'abort' Gerald> c:\programming\Microsoft Visual Studio Gerald> .NET\Vc7\PlatformSDK\Include\MsXml.h(1925 Gerald> ): error C2059: syntax error : '(' Gerald> c:\programming\Microsoft Visual Studio Gerald> .NET\Vc7\PlatformSDK\Include\MsXml.h(1925 Gerald> ): error C2238: unexpected token(s) preceding ';' Gerald> c:\programming\Microsoft Visual Studio Gerald> .NET\Vc7\PlatformSDK\Include\MsXml.h(9640 Gerald> ): warning C4002: too many actual parameters for macro 'abort' Gerald> c:\programming\Microsoft Visual Studio Gerald> .NET\Vc7\PlatformSDK\Include\MsXml.h(9640 Gerald> ): error C2059: syntax error : '(' Gerald> c:\programming\Microsoft Visual Studio Gerald> .NET\Vc7\PlatformSDK\Include\MsXml.h(9640 Gerald> ): error C2238: unexpected token(s) preceding ';' Gerald> NMAKE: fatal error U1077: 'cl' : return code '0x2' Gerald> Stop. Gerald> C:\programming\XEmacs\xemacs-21.5.15\nt> -- Adrian Aichner mailto:[email protected] http://www.xemacs.org/