Unix Technical Forum

Re: kernel-2.6.16 make problem: "target pattern contains no `%'"

This is a discussion on Re: kernel-2.6.16 make problem: "target pattern contains no `%'" within the Linux Operating System forums, part of the Unix Operating Systems category; --> On Mon, 17 Apr 2006 19:27:01 +0200, clemens fischer wrote: > 0 3 $ make --version > GNU Make ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:46 PM
clemens fischer
 
Posts: n/a
Default Re: kernel-2.6.16 make problem: "target pattern contains no `%'"

On Mon, 17 Apr 2006 19:27:01 +0200, clemens fischer wrote:

> 0 3 $ make --version
> GNU Make 3.80
>
> the permissions are checked and ok for all files. now take this
> innocent command:
>
> /usr/src/linux-2.6.16.5
> 0 3 $ env - PATH="$PATH" make --warn-undefined-variables -d
>
> the "env ..." is there to make sure no environment variables interfer,
> and the make sure fails at the same point without it.
>
> ...
>
> Makefile:906: *** target pattern contains no `%'. Stop.
>
> ...
>
> /usr/src/linux-2.6.16.5
> 2 3 $ sed -n '893,906p' Makefile
> # needs to be updated, so this check is forced on all builds
>
> uts_len := 64
>
> define filechk_version.h
> if [ `echo -n "$(KERNELRELEASE)" | wc -c ` -gt $(uts_len) ]; then \
> echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \
> exit 1; \
> fi; \
> (echo \#define UTS_RELEASE \"$(KERNELRELEASE)\"; \
> echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)`; \
> echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; \
> )
> endef


meanwhile i've even tried to "strace -e trace=file make help" the thing,
but i cannot see some file or mechanism that could cause this.

would you know about any issues about maybe symlinks, "define"
statements or files prerequisite to a kernel make? i can develop
software without problems everywhere else, only the kernel makes fail!

clemens
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com