I want to build make 3.79 under Windows NT _without_ the use of cygwin.
As described I ran my vcvars32.bat, then nmake /f NMakefile
Result was:
main.c(819) : error C2065: 'LOCALEDIR' : undeclared identifier
Okay, I tried to hack this and defined LOCALEDIR in main.c:
#define LOCALEDIR "/tmp"
again nmake.
Next result was:
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 w32/pathstuff.c pathstuff.c
subproc.lib(sub_proc.obj) : error LNK2001: unresolved external symbol
_debug_flag
If I change main.c:146 from
static int debug_flag = 0;
to
int debug_flag = 0;
the built process completes. Do I have a correct working make.exe file?
I use cl /v says: "Microsoft (R) 32-bit C/C++ Optimizing Compiler
Version 11.00.7022 for 80x86"
thanks a lot for every advice.
regards
Joachim Schlosser
js> I want to build make 3.79 under Windows NT _without_ the use of cygwin.
js> As described I ran my vcvars32.bat, then nmake /f NMakefile
js> Result was:
js> main.c(819) : error C2065: 'LOCALEDIR' : undeclared identifier
js> Okay, I tried to hack this and defined LOCALEDIR in main.c:
js> #define LOCALEDIR "/tmp"
js> again nmake.
js> Next result was:
js> cl /nologo /MT /W3 /GX /Zi /YX /I . /I glob /I w32/include /D WIN32 /D
js> WINDOWS32 /D _CONSOLE /D HAVE_CONFIG_H /O2 /D NDEBUG /FR.\WinRel/
js> /Fp.\WinRel/make.pch /Fo.\WinRel/ /c w32/pathstuff.c pathstuff.c
js> subproc.lib(sub_proc.obj) : error LNK2001: unresolved external symbol
js> _debug_flag
js> If I change main.c:146 from
js> static int debug_flag = 0;
js> to
js> int debug_flag = 0;
js> the built process completes. Do I have a correct working make.exe file?
Yes, basically.
If you go look at the fixed bugs for GNU make (see the README file for
information on accessing the online bug database) you'll find a bug
about this, with "official" patches to fix them.
--
-------------------------------------------------------------------------------
Paul D. Smith <psm...@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.