home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: Need Help! Missing <linux/file.h> header files for GCC 2.2.2d
- Date: 2 Jan 1993 07:22:43 -0600
- Organization: Kansas State University
- Lines: 35
- Message-ID: <1i44v3INNp7g@matt.ksu.ksu.edu>
- References: <2JAN199302111587@utarlg.uta.edu>
- NNTP-Posting-Host: matt.ksu.ksu.edu
- Keywords: more questions about gcc
-
- b645zav@utarlg.uta.edu (Christopher Morris) writes:
-
- >Hi *,
-
- >I need help from GCC experts! I've installed Linux 0.98p5 and GCC
- >2.2.2d. There seems to be a problem with some missing header files.
- >In files such as errno.h, signal.h, termios.h, etc; each contain
- >references to header files of the same name located in the subdirectory
- >linux. (ie. errno.h contains the reference #include <linux/errno.h>)
- >This subdirectory does exist, but it contains only one file, const.h.
-
- >I've looked at the FAQ(s), and one of them made a reference to
- >info file gcc2 and a FAQ located in /usr/install. Neither of these
- >files exists either.
-
- >Is there something I'm missing here? Any help would be greatly
- >appreciated! (I can't compile anything due to these missing files!)
-
- >BTW, I installed from the SLS distribution found on wuarchive.wustl.edu.
-
- >Thanks,
-
- If this isn't in the FAQ, it needs to go in immediatly.
-
- You have to download the kernel source for whatever version of the kernel
- you are booting from and install it. Most people put it in /usr/src/linux.
-
- Then do the next 2 commands as root:
-
- ln -s -f /usr/src/linux/include/asm /usr/include/asm
- ln -s -f /usr/src/linux/include/linux /usr/include/linux
-
- This will link in the kernel include files so you can compile things correctly.
-
- James
-