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

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!wupost!crcnis1.unl.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: Need Help! Missing <linux/file.h> header files for GCC 2.2.2d
  5. Date: 2 Jan 1993 07:22:43 -0600
  6. Organization: Kansas State University
  7. Lines: 35
  8. Message-ID: <1i44v3INNp7g@matt.ksu.ksu.edu>
  9. References: <2JAN199302111587@utarlg.uta.edu>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11. Keywords: more questions about gcc
  12.  
  13. b645zav@utarlg.uta.edu (Christopher Morris) writes:
  14.  
  15. >Hi *,
  16.  
  17. >I need help from GCC experts!  I've installed Linux 0.98p5 and GCC
  18. >2.2.2d.  There seems to be a problem with some missing header files.
  19. >In files such as errno.h, signal.h, termios.h, etc; each contain
  20. >references to header files of the same name located in the subdirectory 
  21. >linux.  (ie.  errno.h contains the reference #include <linux/errno.h>)
  22. >This subdirectory does exist, but it contains only one file, const.h.
  23.  
  24. >I've looked at the FAQ(s), and one of them made a reference to
  25. >info file gcc2 and a FAQ located in /usr/install.  Neither of these
  26. >files exists either.
  27.  
  28. >Is there something I'm missing here?  Any help would be greatly
  29. >appreciated!  (I can't compile anything due to these missing files!)
  30.  
  31. >BTW, I installed from the SLS distribution found on wuarchive.wustl.edu.
  32.  
  33. >Thanks,
  34.  
  35. If this isn't in the FAQ, it needs to go in immediatly.
  36.  
  37. You have to download the kernel source for whatever version of the kernel
  38. you are booting from and install it. Most people put it in /usr/src/linux.
  39.  
  40. Then do the next 2 commands as root:
  41.  
  42. ln -s -f /usr/src/linux/include/asm /usr/include/asm
  43. ln -s -f /usr/src/linux/include/linux /usr/include/linux
  44.  
  45. This will link in the kernel include files so you can compile things correctly.
  46.  
  47. James
  48.