public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* make cacking!
@ 1997-08-22  2:58 Sandeep Neema
  1997-08-24 23:36 ` root
  1997-08-25 16:21 ` Stefan Hornburg
  0 siblings, 2 replies; 4+ messages in thread
From: Sandeep Neema @ 1997-08-22  2:58 UTC (permalink / raw)
  To: gnu-win32 mailing list

hi all,
excuse my ignorance but the make that comes with b18 distribution 
always cacks on all my makefiles with error:

Makefile:<lineno>: *** missing seperator. Stop.

I am lost. please help!!
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make cacking!
  1997-08-22  2:58 make cacking! Sandeep Neema
@ 1997-08-24 23:36 ` root
  1997-08-25 16:21 ` Stefan Hornburg
  1 sibling, 0 replies; 4+ messages in thread
From: root @ 1997-08-24 23:36 UTC (permalink / raw)
  To: Sandeep Neema; +Cc: gnu-win32

> 
> hi all,
> excuse my ignorance but the make that comes with b18 distribution 
> always cacks on all my makefiles with error:
> 
> Makefile:<lineno>: *** missing seperator. Stop.
> 
> I am lost. please help!!
> -

Isn't obvious man? You are missing the separator!
More than 10 years ago I discovered UNIX, that strange OS of sorts. There I 
learned that make would stop telling me:
> Makefile:<lineno>: *** missing separator. Stop
when I replaced inadvertenltly a TAB char with SPACES!!!!!
Since TAB and SPACE are SO *easy* to distinguish in your computer screen or
printout that was a HELL!
2 years ago someone posted the same question to this list, and I answered in
similar terms:

MAKE SHOULDN'T MAKE A DIFFERENCE BETWEEN TABS AND SPACES
To no avail as it seems.

I have always wandered why this bug doesn't go away... The reasons are many.
People at cygnus are overworked, and this is a minor problem, and once you
know it, you do not do it again, so this bug will never bite them, it harms
only beginners...

Maybe there are some crazy makefiles that rely in this 'feature', and people
think that hypothetical makefiles would break down... bugs of this style
tend to go forever: look at the Ctrl-Z bug of Microsoft that is still
hunting us well over 10 years since DOS 2.0 that fixed it.

Maybe we should start a contest of the longuest living bug around. I think
this make *feature* would be a good candidate.

-- 
Jacob Navia	Logiciels/Informatique
41 rue Maurice Ravel			Tel 01 48.23.51.44
93430 Villetaneuse 			Fax 01 48.23.95.39
France
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make cacking!
  1997-08-22  2:58 make cacking! Sandeep Neema
  1997-08-24 23:36 ` root
@ 1997-08-25 16:21 ` Stefan Hornburg
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Hornburg @ 1997-08-25 16:21 UTC (permalink / raw)
  To: gnu-win32 mailing list

Sandeep Neema <sl9y3@cc.usu.edu> writes:

> 
> hi all,
> excuse my ignorance but the make that comes with b18 distribution 
> always cacks on all my makefiles with error:
> 
> Makefile:<lineno>: *** missing seperator. Stop.
> 
> I am lost. please help!!

GNU Make expects the following syntax:

<TARGET>: <DEPENDENCIES>
\t<RULE0>
\t<RULE1>
....

Other makes (like Watcom's wmake (really broken at all)) are
satisfied with whitespace ....

Ciao
		Racke

-- 
This site is powered by Linux 2.0.29 and his friends
GNU CC 2.7.2, C Library 5.4.23, C++ Library 2.7.2.1, Binutils 2.8.1.0.1.
Surf to Racke's Webnode (URL: http://www.han.de/~racke )!
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: make cacking!
@ 1997-08-24 20:48 Sergey Okhapkin
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey Okhapkin @ 1997-08-24 20:48 UTC (permalink / raw)
  To: gnu-win32 mailing list, 'Sandeep Neema'

Sandeep Neema wrote:
> hi all,
> excuse my ignorance but the make that comes with b18 distribution 
> always cacks on all my makefiles with error:
> 
> Makefile:<lineno>: *** missing seperator. Stop.
> 
> I am lost. please help!!

Gnu make requires rules lines to begin with a <tab> char. Your editor replaces tabs with the spaces.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-08-25 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-22  2:58 make cacking! Sandeep Neema
1997-08-24 23:36 ` root
1997-08-25 16:21 ` Stefan Hornburg
1997-08-24 20:48 Sergey Okhapkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).