home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22438 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  1.2 KB

  1. Path: sparky!uunet!spool.mu.edu!think.com!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: 0.99.2 compile problem
  5. Keywords: 0.99.2 compile problem
  6. Message-ID: <1993Jan2.124457.14659@klaava.Helsinki.FI>
  7. Date: 2 Jan 93 12:44:57 GMT
  8. References: <philipr.725961618@extro.ucc.su.OZ.AU>
  9. Organization: University of Helsinki
  10. Lines: 19
  11.  
  12. I've now seen two compilation problem reports, and they both looked like
  13. being due to bad include-file setups, probably due to a problem with the
  14. SLS files. 
  15.  
  16. IMPORTANT! To get any linux kernel to compile, your /usr/include/linux
  17. and /usr/include/asm directories should be symlinks to the linux
  18. include-dirs.  If they aren't, correct the problem with:
  19.  
  20.     # rm -rf /usr/include/linux
  21.     # rm -rf /usr/include/asm
  22.     # ln -s /usr/src/linux/include/linux /usr/include/linux
  23.     # ln -s /usr/src/linux/include/asm /usr/include/asm
  24.  
  25. After the above, cd to /usr/src/linux and do a "make dep ; make clean"
  26. to make sure any changes in the header files will result in the correct
  27. dependencies.  After this linux-0.99.2 should compile without any errors
  28. (possibly a few warnings that you can ignore). 
  29.  
  30.         Linus
  31.