[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing separator error can be caused by too many files in alternate rec
From: |
PenguinDude24 |
Subject: |
Missing separator error can be caused by too many files in alternate recipe format |
Date: |
Mon, 26 May 2014 20:46:57 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
The typical format for recipes is:
Target: Dependencies
@echo 'we are cooking your favorite app'
But when you do this:
Dependencies: Target
@echo 'we are cooking your favorite app'
you run the risk of getting the "missing separator error on line nnn" if
the "Dependencies" list is too long--I think my app has a few hundred
data files or so. I am working on this project, and that error kept me
down for a few hours.
What I think happened is that obviously there was some internal error
with heuristics that GNU Make (and most likely others), and the
heuristics engine could not figure out how to parse that long line
(maybe was not expecting data to be so long, or programmer so stupid to
do that) and threw the error.
Anyway, it's a good case to look at!
I also think this should be added to the Automake documentation, but I
don't know Texinfo yet :)
- Missing separator error can be caused by too many files in alternate recipe format,
PenguinDude24 <=