[Top][All Lists]

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

Re: GNU make complains for NUL character.... missing seperator

From: psmith
Subject: Re: GNU make complains for NUL character.... missing seperator
Date: 16 Oct 2006 07:44:45 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

"Sanju" <> writes:

> > You didn't show the command that make ran before you got this, but it must
> > have been something like:
> >
> >     make -f config/
> >
> > This, of course, is not a valid command line.
> like
> $make
> OR
> $make -f Makefile
> In both cases I get the same error...........I dont understand why its
> complaining for "config/"

I already explained why it's complaining: it's trying to read config/ as a
makefile.  There's absolutely no question about that: the error messages
are irrefutable on this point.

The question is "why" (or "where")?

Note when I say "the command line" I don't necessarily mean the command
that you type into the shell.  Most makefile environments are recursive,
which means one makefile is invoking another instance of make.  It's quite
possible that you're using a variable that isn't properly assigned.  For
example, something like this:


          $(MAKE) -f config/$(SUMAKE)

would do it.

If you're not using "make -f config/" then maybe you're trying to "include"
it?  Again, this would be because of a variable that was mistyped or


  include config/$(SUMAKE)

or something like that.

Sorry, but you'll just have to turn on debugging, etc. and try to figure
this out.  With only the context you've provided there's nothing more we
can do to help.

 Paul D. Smith <>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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