When compiling with pdump I had several troubles. I have reported them one
day but there was no constructiv reply. Now portable dumper adds one more
problem with minitar.exe
I turned pdump on and minitar stopped linking.
-------------------------------------------------------------------------------
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'
Stop.
-------------------------------------------------------------------------------
In order to compile XEmacs I disabled building minitar.exe. XEmacs failed to
build. The log:
-------------------------------------------------------------------------------
rc -Foc:\software\SRC\xemacs-beta\nt\obj\xemacs.res xemacs.rc
bscmake -nologo -oc:\software\SRC\xemacs-beta\nt\..\src\temacs.bsc @c:\s
oftware\SRC\xemacs-beta\nt\obj\bscmake.tmp
del c:\software\SRC\xemacs-beta\nt\obj\bscmake.tmp
nmake -nologo -f xemacs.mak OUTDIR=c:\software\SRC\xemacs-beta\nt\obj c:
\software\SRC\xemacs-beta\nt\obj\dump-id.obj
WARNING: Compiling without dependency information.
Creating c:\software\SRC\xemacs-beta\nt\..\lib-src\config.values
cd c:\software\SRC\xemacs-beta\nt\..\src
c:\software\SRC\xemacs-beta\nt\..\lib-src\make-dump-id.exe
cd c:\software\SRC\xemacs-beta\nt
dump-id.c
link.exe @.\nmb01768.
Xpm.lib(parse.obj): error LNK2001: unresolved external symbol __pctype
Xpm.lib(data.obj): error LNK2001: unresolved external symbol __pctype
Xpm.lib(parse.obj): error LNK2001: unresolved external symbol ___mb_cur_max
Xpm.lib(data.obj): error LNK2001: unresolved external symbol ___mb_cur_max
c:\software\SRC\xemacs-beta\nt\..\src\temacs.exe : fatal error LNK1120: 2 unreso
lved externals
NMAKE: fatal error U1077: 'link.exe' : return code '0x460'
Stop.
-------------------------------------------------------------------------------
intro: "JH" == Jonathan Harris <jhar(a)tardis.ed.ac.uk> writes:
JH> Nickolay,
> I turned pdump off and set DEPEND=1 Now it works fine.
JH> I would recommend not turning portable dumping off since it is now the
JH> default option for UNIX and Win32, and there's no reason not to use it.
JH> Jonathan.
JH> -- Jonathan Harris | jhar(a)tardis.ed.ac.uk London, England |
JH> Jonathan.Harris(a)symbian.com