home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21323 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.4 KB

  1. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Missing Header Files in SLS 0.99
  5. Date: 21 Dec 1992 17:54:11 -0600
  6. Organization: Kansas State University
  7. Lines: 35
  8. Message-ID: <1h5lf3INNkbb@matt.ksu.ksu.edu>
  9. References: <168C41D55.JHUANG@kentvm.kent.edu>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. JHUANG@kentvm.kent.edu writes:
  13.  
  14. >    Hello All. I am not sure that this has been encountered before.
  15. >    I downloaded SLS 0.99 from sunsite and had it installed on my 486
  16. >very smoothly.
  17. >    Everything ran well, until I tried to compile a small C program.
  18. >It then complained about <linux/types.h>, <linux/stat.h>, etc. being
  19. >not found. I then went to "/usr/include/linux" and found out that only
  20. >"const.h" was there.
  21. >    Simple question: what should I do about this situation?
  22. >    Thanks in advance.
  23. >--
  24. >Jing Huang
  25. >Dept. of Phys.
  26. >Kent State Univ.                         e-mail: jhuang@mcs.kent.edu
  27.  
  28. You need to download the kernel sources and install them also.
  29. You can get the current version plus about 3 version back from tsx-11.mit.edu
  30. in the 
  31.  
  32. /pub/linux/sources/system directory.
  33.  
  34. Install these in /usr/src/linux and then issue the following two commands as
  35. root:
  36.  
  37. ln -s -f /usr/src/linux/include/asm /usr/include/asm
  38. ln -s -f /usr/src/linux/include/linux /usr/include/linux
  39.  
  40. James
  41.  
  42.