w2k compile problem: tiff 3.5.7 and nt/tiff.mak
"Mike Palmer" <[email protected]> Sun, 13 Jun 2004 11:34:25 -0700
| Newsgroups | gmane.emacs.xemacs.windows |
|---|---|
| Message-ID | <000501c45175$0f0dc280$0500a8c0@Christopher> |
I had problems compiling XEmacs for w2k this morning (MS VS6). The compiler
error message was
dump-id.c
link.exe @C:\WINNT\Profiles\MIKE~1.CHR\LOCALS~1\Temp\nm39.tmp
libtiff.lib(tif_codec.obj) : error LNK2001: unresolved external symbol
_TIFFInitSGILog
H:\dev\XEmacs\xemacs\nt\..\src\temacs.exe : fatal error LNK1120: 1
unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
Further investigation showed that the TIFFInitSGILog symbol should be
generated when the tif_luv.c file is compiled. However, there was no
tif-luv.obj file in the tiff\contrib\winnt\WinRel directory. The root cause
is that tif_luv.c is not getting compiled. I changed the xemacs\nt\tiff.mak
to add tif_luv.obj and tif_luv.sbr. The diff output is shown below:
H:\dev\XEmacs\tiff\contrib\winnt>diff tiff.mak ..\..\..\xemacs\nt\tiff.mak
70d69
< $(OBJDIR)\tif_luv.sbr \
104d102
< $(OBJDIR)\tif_luv.obj \
The compile completed successfully after the change.
-- Mike --