[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non understood error message
From: |
Philip Guenther |
Subject: |
Re: non understood error message |
Date: |
Thu, 28 Jun 2007 15:52:19 -0600 |
On 6/28/07, Michael L Brown <address@hidden> wrote:
...
The error is:
Makefile:84: *** commands commence before first target. Stop.
...
Line 84 is: $(warning unknown architecture '$(ARCH)')
Any ideas as to why it is complaining?
Did you read what the info pages for GNU make say about that error message?
`commands commence before first target. Stop.'
`missing rule before commands. Stop.'
This means the first thing in the makefile seems to be part of a
command script: it begins with a TAB character and doesn't appear
to be a legal `make' command (such as a variable assignment).
Command scripts must always be associated with a target.
I.e., you indented a line with a tab before the first rule definition.
Look like you stripped all the indentation when you copied your
makefile bits into your email (please don't do that) and that the
$(warning) call on line 84 was preceeded by a tab. Change that tab to
spaces and configure your editor to not do any conversion of tabs and
spaces when editing makefiles.
Philip Guenther