bugmake - Bugs: bug #1687, hash.obj missing in NMakefile

 
 

bug #1687: hash.obj missing in NMakefile

Submitter:  Invalid User ID <#12525>
Submitted:  Mon 11 Nov 2002 03:53:38 PM UTC
   
 
Severity:  1 - Wish Item Group:  Build/Install
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.80 Operating System:  MS Windows
Fixed Release:  3.81 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 01 Apr 2006 08:14:38 AM UTC, comment #13: 

Many thanks! Fixing bugs like this makes it much easier for many people to contribute. (Though you may never notice where and how perhaps. But it is still true I believe.)

Lennart Borgman <lborgman>
Mon 14 Feb 2005 04:26:05 AM UTC, comment #12: 

It is very Sad that nobody cares about Win32 - does not say much for the open-mindedness of the open community...

The batch file (build_w32.bat) needs four lines inserted to make the file hash.obj; two for the debug build and two for the release build.

Of the form:
(for debug build)

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/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c hash.c

echo WinDebug\hash.obj >>link.dbg

and (for release build)

cl.exe /nologo /MT /W3 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c hash.c

echo WinRel\hash.obj >>link.rel

Hope this helps the poor lonely Win32 coders out there...

Anonymous
Sat 16 Oct 2004 11:55:58 PM UTC, comment #11: 

This bug is still there in the release I just downloaded. It is also in the .bat-file. Please fix the bug, it takes very much time that could have been good work!

Lennart Borgman <lborgman>
Mon 05 Jan 2004 11:58:30 AM UTC, comment #10: 

Add the line

$(OUTDIR)/hash.obj \

inside the NMakefile of your src directory, inside the list of OBJs, then retry the compilation by doing

nmake /f NMakefile

My OBJS now look like this:

OBJS = \
$(OUTDIR)/ar.obj \
$(OUTDIR)/arscan.obj \
$(OUTDIR)/commands.obj \
$(OUTDIR)/default.obj \
$(OUTDIR)/dir.obj \
$(OUTDIR)/expand.obj \
$(OUTDIR)/file.obj \
$(OUTDIR)/function.obj \
$(OUTDIR)/getloadavg.obj \
$(OUTDIR)/getopt.obj \
$(OUTDIR)/getopt1.obj \
$(OUTDIR)/hash.obj \
$(OUTDIR)/implicit.obj \
$(OUTDIR)/job.obj \
$(OUTDIR)/main.obj \
$(OUTDIR)/misc.obj \
$(OUTDIR)/read.obj \
$(OUTDIR)/remake.obj \
$(OUTDIR)/remote-stub.obj \
$(OUTDIR)/rule.obj \
$(OUTDIR)/signame.obj \
$(OUTDIR)/variable.obj \
$(OUTDIR)/version.obj \
$(OUTDIR)/vpath.obj \
$(OUTDIR)/glob.obj \
$(OUTDIR)/fnmatch.obj \
$(OUTDIR)/dirent.obj \
$(OUTDIR)/pathstuff.obj

Hope that helps.

Anonymous
Wed 15 Oct 2003 06:49:04 PM UTC, comment #9: 

Can somebody leave some words on HOW to use the patch?

Anonymous
Thu 24 Apr 2003 08:03:17 AM UTC, comment #8: 

How to apply this patch. Can someon help me. I have the same issue.

Invalid User ID <#18394>
Tue 18 Feb 2003 11:41:33 PM UTC, comment #7: 

It compiles and passes the test suite just fine on all the systems that I (the maintainer) test it on: namely UNIX systems.  The ports to the other platforms, including VMS, DOS, Windows, and Amiga, are maintained by other volunteers.  I don't have any VMS/DOS/Windows/Amiga systems to test on so I can only go by what I'm told.  Sometimes the volunteers are too busy to test; sometimes things break for other reasons.

If you would like to become one of the volunteers that verifies that the next release is valid, please subscribe to the -email is unavailable- mailing list and you'll be notified when the next pretest is ready.  Then you can help ensure problems like this don't happen in the future.

Thanks!

Paul D. Smith <psmith>
Group administrator
Tue 18 Feb 2003 11:31:59 PM UTC, comment #6: 

This was fixed Nov 2002, and there still hasn't been a new make release that fixes it (now almost March 2003)? I only found the fix by googling and stumbling across this page. C'mon people, if it doesn't even compile the release should never have gone out the door - where's the test suite?

Anonymous
Tue 14 Jan 2003 08:01:54 AM UTC, comment #5: 

I care about NMakeFile!

Anonymous
Sun 22 Dec 2002 04:18:35 AM UTC, comment #4: 

Where is the readmi of the patch?
Please email it it me:
-email is unavailable-

Anonymous
Tue 19 Nov 2002 02:58:48 AM UTC, comment #3: 

The patch below fixes NMakefile, SMakefile, Makefile.ami, and build_w32.bat.

Paul D. Smith <psmith>
Group administrator
Wed 13 Nov 2002 03:02:03 PM UTC, comment #2: 

Only the admin can set the severity--strange but true.

Don't worry about it :).

Paul D. Smith <psmith>
Group administrator
Wed 13 Nov 2002 02:58:41 PM UTC, comment #1: 

Oops! Somehow severity got to be 5-major.  But I don't know how to change it.  This should be -1 teeny.  I mean, who cares about the NMakefile for GNU make ?

Invalid User ID <#12525>
Mon 11 Nov 2002 03:53:38 PM UTC, original submission:  

The file hash.c is never compiled and hash.obj does not
participate in the link phase when using the NMakefile
out-of-the-box.  Easily fixed by just adding

        $(OUTDIR)/hash.obj

to the OBJS list.

Invalid User ID <#12525>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #154:  hash.patch added by psmith (11KiB - application/octet-stream - Add hash objects to non-UNIX build files)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-04-01 psmith Fixed Release4.0 3.81
2002-11-19 psmith StatusNone None
    Assigned toNone None
    Open/ClosedOpen None
    Fixed ReleaseNone None
2002-11-13 psmith Severity3 - Normal None

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code