From: torvalds@klaava.Helsinki.FI (Linus Torvalds) Subject: Re: 0.99.2 compile problem Date: 2 Jan 1993 12:44:57 GMT
I've now seen two compilation problem reports, and they both looked like
being due to bad include-file setups, probably due to a problem with the
SLS files.
IMPORTANT! To get any linux kernel to compile, your /usr/include/linux
and /usr/include/asm directories should be symlinks to the linux
include-dirs. If they aren't, correct the problem with:
# rm -rf /usr/include/linux
# rm -rf /usr/include/asm
# ln -s /usr/src/linux/include/linux /usr/include/linux
# ln -s /usr/src/linux/include/asm /usr/include/asm
After the above, cd to /usr/src/linux and do a "make dep ; make clean"
to make sure any changes in the header files will result in the correct
dependencies. After this linux-0.99.2 should compile without any errors
(possibly a few warnings that you can ignore).
Linus