help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems building GNU MAKE 3.79 on win32


From: Anjan Bacchu
Subject: problems building GNU MAKE 3.79 on win32
Date: Fri, 19 Jan 2001 16:27:40 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001108 Netscape6/6.0

Hi All!,

I have windows 2000. I downloaded gnu make source from the gnu ftp site( to build some java code).

  I am building this source using visual C++ 6.0 (no service pack).

when i tried to build the make by executing the "build_w32.bat" script. I am getting the following warnings and 1 ERROR in main.c

================
G:\work\test\gnumake\make-3.79>cl.exe /nologo /MT /W3 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/gnumake.pch /Fo.\WinDebug/ /Fd.\WinDebug/gnumake.pdb /c main.c
main.c
main.c(739) : warning C4101: 'fd' : unreferenced local variable
main.c(820) : error C2065: 'LOCALEDIR' : undeclared identifier
main.c(854) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(int )' main.c(855) : warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(int )' main.c(1561) : warning C4308: negative integral constant converted to unsigned type main.c(1561) : warning C4308: negative integral constant converted to unsigned type
main.c(1732) : warning C4018: '<' : signed/unsigned mismatch
main.c(1814) : warning C4013: 'close' undefined; assuming extern returning int
================

Can someone suggest how to fix it ? I tried to define LOCALEDIR as c:\\temp but that gave another series of errors.

I ran configure.bat but that also did not make a difference -- it gave more errors.

Is there a way out ? I don't mind going through a FAQ only I don't know where to locate it.

Thanks for all help,

BR,
~A




reply via email to

[Prev in Thread] Current Thread [Next in Thread]