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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |