home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21429 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.9 KB  |  65 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!mcs.kent.edu!kentvm.kent.edu!JHUANG
  3. From: JHUANG@kentvm.kent.edu
  4. Subject: Re: Missing Header Files in SLS 0.99
  5. Message-ID: <168C5B133.JHUANG@kentvm.kent.edu>
  6. Sender: news@mcs.kent.edu
  7. Nntp-Posting-Host: kentvm.kent.edu
  8. Organization: Kent State Univ.
  9. References: <168C41D55.JHUANG@kentvm.kent.edu> <1h5lf3INNkbb@matt.ksu.ksu.edu>
  10. Date: Tue, 22 Dec 1992 16:35:57 GMT
  11. Lines: 52
  12.  
  13. In article <1h5lf3INNkbb@matt.ksu.ksu.edu>
  14. probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
  15.  
  16. >
  17. >JHUANG@kentvm.kent.edu writes:
  18. >
  19. >>    Hello All. I am not sure that this has been encountered before.
  20. >>
  21. >>    I downloaded SLS 0.99 from sunsite and had it installed on my 486
  22. >>very smoothly.
  23. >>
  24. >>    Everything ran well, until I tried to compile a small C program.
  25. >>It then complained about <linux/types.h>, <linux/stat.h>, etc. being
  26. >>not found. I then went to "/usr/include/linux" and found out that only
  27. >>"const.h" was there.
  28. >>
  29. >>    Simple question: what should I do about this situation?
  30. >>
  31. >>    Thanks in advance.
  32. >>
  33. >>--
  34. >>Jing Huang
  35. >>Dept. of Phys.
  36. >>Kent State Univ.                         e-mail: jhuang@mcs.kent.edu
  37. >
  38. >You need to download the kernel sources and install them also.
  39. >You can get the current version plus about 3 version back from tsx-11.mit.edu
  40. >in the
  41. >
  42. >/pub/linux/sources/system directory.
  43. >
  44. >Install these in /usr/src/linux and then issue the following two commands as
  45. >root:
  46. >
  47. >ln -s -f /usr/src/linux/include/asm /usr/include/asm
  48. >ln -s -f /usr/src/linux/include/linux /usr/include/linux
  49. >
  50. >James
  51. >
  52.  
  53.      Thanks to all of you who responded to my plea for help.
  54.  
  55.      The problem is obvious now. SLS does not include the kernel source
  56. nor the header files needed. So hopefully those new comers can realize
  57. this fact.
  58.  
  59.      The solution is also obvious, James gave the most clear answer above.
  60.  
  61.      Thank you again, folks.
  62.  
  63. --
  64. Jing Huang
  65.