Hi,
I am trying to build gnu make 3.79 with MSVC 6.0.
I am getting the following compilation error.
Btw: I got many warnings and assume it is ok to ignore them.
Thanks,
--
- Yigal
cd e:/make-3.79/
nmake -k -f NMakefile
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" CFLAGS="/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(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 : warning U4010: 'Release' : build failed; /K specified, continuing ...
nmake /f NMakefile LDFLAGS="w32\subproc\WinDebug\subproc.lib /NOLOGO
/SUBSYSTEM:console /INCREMENTAL:no /PDB:WinDebug/make.pdb /MACHINE:I386
/OUT:WinDebug/make.exe /DEBUG" CFLAGS="/nologo /MT /W3 /GX /Zi /YX /I . /I glob /I
w32/include /D WIN32 /D WINDOWS32 /D _CONSOLE /D HAVE_CONFIG_H /Od /D DEBUG /D _DEBUG
/FR.\WinDebug/ /Fp.\WinDebug/make.pch /Fo.\WinDebug/ /Fd.\WinDebug/make.pdb"
OUTDIR=WinDebug WinDebug/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 /Od /D DEBUG /D _DEBUG /FR.\WinDebug/
/Fp.\WinDebug/make.pch /Fo.\WinDebug/ /Fd.\WinDebug/make.pdb /c main.c
main.c
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 : warning U4010: 'Debug' : build failed; /K specified, continuing ...
NMAKE : warning U4011: 'all' : not all dependents available; target not built
Compilation exited abnormally with code 1 at Fri Apr 28 16:58:29