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

 
 

bug #1687: hash.obj missing in NMakefile

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Mon 11 Nov 2002 03:53:38 PM UTC  
 
Severity: 1 - WishItem Group: Build/Install
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating System: MS Windows
Fixed Release: 3.81Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

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

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 #10:

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 #9:

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 #8:

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 #7:

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

Anonymous
Tue 18 Feb 2003 11:41:33 PM UTC, comment #6:

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 -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>
Project AdministratorIn charge of this item.
Tue 18 Feb 2003 11:31:59 PM UTC, comment #5:

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 #4:

I care about NMakeFile!

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

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

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

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

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Wed 13 Nov 2002 03:02:03 PM UTC, comment #1:

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

Don't worry about it :).

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:03:12 AM UTCpsmithFixed Release4.0=>3.81
Tue 19 Nov 2002 02:58:48 AM UTCpsmithStatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
  Fixed ReleaseNone=>(Error - Not Found)
Wed 13 Nov 2002 03:02:03 PM UTCpsmithSeverity3 - Normal=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1