home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!think.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
- Newsgroups: comp.os.linux
- Subject: Re: 0.99.2 compile problem
- Keywords: 0.99.2 compile problem
- Message-ID: <1993Jan2.124457.14659@klaava.Helsinki.FI>
- Date: 2 Jan 93 12:44:57 GMT
- References: <philipr.725961618@extro.ucc.su.OZ.AU>
- Organization: University of Helsinki
- Lines: 19
-
- 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
-