help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fatel error


From: gmake
Subject: Re: fatel error
Date: Tue, 8 Aug 2006 03:43:33 -0500 (CDT)

On Tue, 8 Aug 2006, Rajanikanth T - TLS, Bangalore wrote:

Hi all,

I got fatal error for the below code.. What could be the problem?? Is it a
version problem?? Pease some one help me



#start

All:

           @echo testing...



Ifdef DEBUG

           @echo debug enabled

Endif

#end



Error I got is->

address@hidden:pts/11<55>make

make: Fatal error in reader: Makefile, line 4: Unexpected end of line seen

1. Make sure that command lines begin with tab characters instead of spaces.

2. The directives should be spelled ifdef and endif instead of Ifdef and
Endif. i.e. they are case-sensitive. Hopefully this is just your mail
editor and not in your original makefile.

3. You should remove any blank lines within a rule, i.e. between the All:
and the endif, because they can sometimes have unexpected consequences.

4. Please indicate your version of make, by typing make -v .

Thanks,
Lee




reply via email to

[Prev in Thread] Current Thread [Next in Thread]