Hi

I just grabbed make-3.79 off the GNU ftp site, and attempted to build nmake
under Microsoft NT 4 sp6a, using Visual Studio 6, sp3. I ran the following
command line:

nmake /F NMakeFile

and got the following compilation error:


Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        NMAKE /f NMakefile LDFLAGS="w32\subproc\WinRel\subproc.lib /NOLOGO
/SUBSYSTEM:console /INCREMENTAL:no /MACHINE:I386 /OUT:WinRel/make.exe" CFLA
GS="/nologo /MT /W3 /GX /Zi /YX /I . /I glob /I w32/include /D WIN32 /D
WINDOWS32 /D _CONSOLE /D HAVE_CONFIG_H /O2 /D NDEBUG /FR.\WinRel/
/Fp.\WinRel/
make.pch /Fo.\WinRel/" OUTDIR=WinRel WinRel/make.exe

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl /nologo /MT /W3 /GX /Zi /YX /I . /I glob /I w32/include /D WIN32
/D WINDOWS32 /D _CONSOLE /D HAVE_CONFIG_H /O2 /D NDEBUG /FR.\WinRel/ /Fp.\
WinRel/make.pch /Fo.\WinRel/ /c main.c
main.c
main.c(738) : warning C4101: 'fd' : unreferenced local variable
main.c(819) : error C2065: 'LOCALEDIR' : undeclared identifier
main.c(853) : warning C4113: 'void (__cdecl *)()' differs in parameter lists
from 'void (__cdecl *)(int )'
main.c(854) : warning C4113: 'void (__cdecl *)()' differs in parameter lists
from 'void (__cdecl *)(int )'
main.c(1560) : warning C4308: negative integral constant converted to
unsigned type
main.c(1560) : warning C4308: negative integral constant converted to
unsigned type
main.c(1731) : warning C4018: '<' : signed/unsigned mismatch
main.c(1813) : warning C4013: 'close' undefined; assuming extern returning
int
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\program files\microsoft visual
studio\vc98\bin\NMAKE.EXE"' : return code '0x2'
Stop.

Where is this "LOCALDIR" supposed to be set?

Nick

Reply via email to