Re: Compiling xemacs with Visual Studio 2015 Community ('free') edition
[email protected] (Henry S. Thompson) Sun, 26 Jul 2015 21:34:20 +0100
| Newsgroups | gmane.emacs.xemacs.beta |
|---|---|
| Message-ID | <[email protected]> |
Sean MacLennan <[email protected]> writes: > On Sun, 26 Jul 2015 19:58:09 +0100 > [email protected] (Henry S. Thompson) wrote: >> Large numbers of _-prefixed fns are showing is unavailable, but I >> can't see where they're coming from. > > Could you list a couple of the _-prefixed functions. Usually the > problem is the other way around... they want _ functions instead of the > normal functions. 1> bscmake -nologo -oC:\C64\usr\local\src\xemacs-21.5-upstream\src\temacs.bsc @C:\C64\usr\local\src\xemacs-21.5-upstream\nt\obj\bscmake.tmp 1> del C:\C64\usr\local\src\xemacs-21.5-upstream\nt\obj\bscmake.tmp 1> link.exe @C:\Users\ht\AppData\Local\Temp\nm5FE7.tmp ... 1>win32.obj: error LNK2001: unresolved external symbol _memcpy ... 1>text.obj: error LNK2001: unresolved external symbol __imp__wcslen ... 1>win32.obj: error LNK2001: unresolved external symbol _strcmp And so on -- dozens of symbols, most referenced from dozens of files. Google/stackoverflow suggest this is something to do with the various flavours of MSVCRT, but I'd expect VS to take care of that sort of thing. . . The compilations themselves all look like this: cl -nologo -W3 -DSTRICT -Zi -Od -MDd -c -TP -IC:\C64\usr\local\src\xemacs-21.5-upstream\nt\inc -IC:\C64\usr\local\src\xemacs-21.5-upstream\src -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\xpm-3.4k" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\xpm-3.4k\lib" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\libpng-1.2.40" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\zlib-1.2.3" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\tiff-3.7.3\libtiff" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\compface-1.5.1" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\zlib-1.2.3" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\db-4.3.28\build_win32" -I"c:\C64\usr\local\src\xemacs-21.5-64bit\nt\winlibs\postgresql-8.0.3\src\include" -I"c:\C64\usr\local\src\xem acs-21.5-64bit\nt\winlibs\postgresql-8.0.3\src\interfaces\libpq" -DHAVE_MS_WINDOWS -DHAVE_MENUBARS -DHAVE_SCROLLBARS -DHAVE_TOOLBARS -DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_XPM -DFOR_MSW -DHA! VE_PNG -DHAVE_TIFF -DHAVE_XFACE -DHAVE_ZLIB -DHAVE_DATABASE -DHAVE_BERKELEY_DB -DDB_H_FILE=\"db.h\" -DHAVE_POSTGRESQL -DHAVE_POSTGRESQLV7 -DLIBPQ_FE_H_FILE=\"libpq-fe.h\" -DHAVE_NATIVE_SOUND -DERROR_CHECK_ALL -DPDUMP -DUSE_KKCC -DSYSTEM_MALLOC -DDEBUG_XEMACS -D_DEBUG -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs -DNTDDI_VERSION=NTDDI_WIN2K -D_WIN32_WINNT=_WIN32_WINNT_WIN2K -D_CRT_NO_POSIX_ERROR_CODES -DHAVE_CONFIG_H -DPATH_VERSION=\"21.5-b34\" -DPATH_PROGNAME=\"xemacs\" -DEMACS_VERSION=\"21.5-b34\" -DEMACS_PROGNAME=\"xemacs\" -DSHEBANG_PROGNAME=\"xemacs-script\" -DSTACK_TRACE_EYE_CATCHER=xemacs_21_5_b34_i586_pc_win32 -DPATH_PREFIX=\""c:\\Program Files\\XEmacs\\XEmacs-21.5-b34"\" -DEMACS_MAJOR_VERSION=21 -DEMACS_MINOR_VERSION=5 -DEMACS_BETA_VERSION=34 -DXEMACS_CODENAME=\""k ale"\" -DXEMACS_EXTRA_NAME=\"""\" -DEMACS_CONFIGURATION=\"i586-pc-win32\" C:\C64\usr\local\src\xemacs-21.5-upstream\src\win32.c -FoC:\C64\usr\local\src\xemacs-21.5-upstream\nt\obj\win32.ob! j -FRC:\C64\usr\local\src\xemacs-21.5-upstream\nt\obj\win32.sb! r -FdC:\ C64\usr\local\src\xemacs-21.5-upstream\nt\obj\temacs.pdb Thanks for any suggestions you can offer, ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [email protected] URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam]