Re: Linux-2.0.27 and 2.1.14
Linus Torvalds (torvalds@cs.helsinki.fi)
Sun, 1 Dec 1996 20:56:01 +0200 (EET)
On Sun, 1 Dec 1996, Tuomas Heino wrote:
>
> When compiling 2.1.14 I got this:
> make[2]: Entering directory `/usr/src/linux-2.1.14/net/core'
> make all_targets
> make[3]: Entering directory `/usr/src/linux-2.1.14/net/core'
> make[3]: *** No rule to make target `net_alias.h', needed by
> `net_alias.o'. Stop.
> make[3]: Leaving directory `/usr/src/linux-2.1.14/net/core'
> make[2]: *** [first_rule] Error 2
Oops. The new and improved "mkdep.c" is no longer very forgiving about
header files that do not exist, and the net_alias.c file has a few
#include's that are used for user-level debugging but do not exist in the
kernel.
Fix: remove the stuff that is within the ALIAS_USER_LAND_DEBUG in
net_alias.c, redo the dependencies and go..
(alternatively you can put the comment /*nodep*/ btween the #-mark and the
"include", which forces mkdep to ignore the dependency)
Linus