bugmake - Bugs: bug #27394, Unexpected "*** extraneous...


bug #27394: Unexpected "*** extraneous `endef'. Stop."

Submitter:  None
Submitted:  Mon 07 Sep 2009 03:12:39 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.81 Operating System:  Any
Fixed Release:  3.82 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 08 Sep 2009 05:03:25 AM UTC, comment #1: 

I tried this with the latest version of GNU make in CVS and it worked correctly there.

Paul D. Smith <psmith>
Group administrator
Mon 07 Sep 2009 03:12:39 PM UTC, original submission:  

'make' unexpectedly fails with error "Makefile:6: * extraneous `endef'.  Stop." on the following Makefile:

ifneq (1,1)
define var1
define var2

The error has gone if 'if' condition becomes 'true'.



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-28 psmith Fixed Release4.0 3.82
    2009-09-08 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0

    Back to the top

    Powered by Savane 3.13-c54d.
    Corresponding source code