2008-03-25 08:16:04

by Bart Van Assche

[permalink] [raw]
Subject: Kernel compilation: make halts with error message "*** target pattern contains no `%'"

Hello,

When I try to compile the latest git tree
(git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git,
last change Tue, 25 Mar 2008 06:24:16 +0000), make halts and prints an
error message. This happens both with GNU make version 3.79.1 and
version 3.81. The 2.6.24.3 kernel builds fine on my system with the
same tools, and that the Documentation/Changes document has not been
changed since 2.6.24.3. Does anyone know how I can get around this ?

# gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
...
# gmake
Makefile:112: *** target pattern contains no `%'. Stop.
# make --version
GNU Make 3.81
...
# make
Makefile:112: *** target pattern contains no `%'. Stop.

Bart.


2008-03-25 15:16:00

by Bart Van Assche

[permalink] [raw]
Subject: Re: Kernel compilation: make halts with error message "*** target pattern contains no `%'"

On Tue, Mar 25, 2008 at 9:15 AM, Bart Van Assche
<[email protected]> wrote:
> When I try to compile the latest git tree

Found the cause: apparently this is what happens when the path
containing the kernel source tree contains a colon. Renaming the
kernel source tree directory solved this issue.

Bart.

2008-03-25 18:21:51

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Kernel compilation: make halts with error message "*** target pattern contains no `%'"

On Tue, Mar 25, 2008 at 04:15:49PM +0100, Bart Van Assche wrote:
> On Tue, Mar 25, 2008 at 9:15 AM, Bart Van Assche
> <[email protected]> wrote:
> > When I try to compile the latest git tree
>
> Found the cause: apparently this is what happens when the path
> containing the kernel source tree contains a colon. Renaming the
> kernel source tree directory solved this issue.

Thanks for letting us know.
And using 'colon' in the path is a "don't do that" thing that
we will not try to check for.

Sam