Nickolay,
Compiling xemacs with NMAKE.EXE -f xemacs.mak
Compiler: MS VC 6.0 Got errors from linker.
minitar.c
LIBC.lib(crt0dat.obj): error LNK2005: _exit already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBC.lib(crt0dat.obj): error LNK2005: __exit already defined in MSVCRTD.lib(MSVCRTD.dll)
LIBC.lib(crt0init.obj): error LNK2005: ___xc_z already defined in
MSVCRTD.lib(cinitexe.obj)
LIBC.lib(crt0init.obj): error LNK2005: ___xc_a already defined in
MSVCRTD.lib(cinitexe.obj)
LIBC.lib(crt0init.obj): error LNK2005: ___xi_z already defined in
MSVCRTD.lib(cinitexe.obj)
LIBC.lib(crt0init.obj): error LNK2005: ___xi_a already defined in
MSVCRTD.lib(cinitexe.obj)
LINK: warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs;
use /NODEFAULTLIB:library
LINK: warning LNK4098: defaultlib "LIBC" conflicts with use of other libs;
use/NODEFAULTLIB:library
c:\software\SRC\xemacs-beta\nt\..\lib-src/minitar.exe : fatal error LNK1169: one or more
multiply defined symbols found
NMAKE: fatal error U1077: 'cl' : return code '0x2'
A recent patch turned on portable dumping by default. Portable dumping
needs a different C runtime library (MSVCRT) than before, so everything
needs to be rebuilt from clean. If you have DEPEND=1 set in config.inc
this ought to happen automatically - do you have this set?
Jonathan.