Re: linux-kernel-digest V1 #636

Rob Glover (potato@dsnet.com)
Sun, 1 Dec 1996 14:13:24 -0800 (PST)


On Sun, 1 Dec 1996, Trevor Johnson wrote:

>
> > I went to compile kernel 2.1.14 and as I compiled the modules and it hit
> > the bsd_comp module (for ppp) it said something about not having a rule
> > for netprotocol.h (Included as "linux/netprotocol.h") needed for bsd_comp.o,
>
> I get the same thing. The file is missing.
>
> make[2]: *** No rule to make target
> `/usr/src/linux/include/linux/netprotocol.h', needed by `bsd_comp.o'.
> Stop.
> make[2]: Leaving directory `/usr/src/linux/drivers/net'
> make[1]: *** [modules] Error 2
>
> # ls -l /usr/src/linux/include/linux/netprotocol.h
> /bin/ls: /usr/src/linux/include/linux/netprotocol.h: No such file or
> directory
> ___
> Trevor Johnson <trevor@jpj.net>
>
>
This is how i fixed it. I edited the file
"/usr/src/linux/drivers/net/.depend" and took out the line under
bsd_comp.o that was the following:

/usr/src/linux/include/linux/netprotocol.h \

Just delete the whole line, and it'll work perfectly.

-Rob