home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.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: Missing Header Files in SLS 0.99
- Date: 21 Dec 1992 17:54:11 -0600
- Organization: Kansas State University
- Lines: 35
- Message-ID: <1h5lf3INNkbb@matt.ksu.ksu.edu>
- References: <168C41D55.JHUANG@kentvm.kent.edu>
- NNTP-Posting-Host: matt.ksu.ksu.edu
-
- JHUANG@kentvm.kent.edu writes:
-
- > Hello All. I am not sure that this has been encountered before.
- >
- > I downloaded SLS 0.99 from sunsite and had it installed on my 486
- >very smoothly.
- >
- > Everything ran well, until I tried to compile a small C program.
- >It then complained about <linux/types.h>, <linux/stat.h>, etc. being
- >not found. I then went to "/usr/include/linux" and found out that only
- >"const.h" was there.
- >
- > Simple question: what should I do about this situation?
- >
- > Thanks in advance.
- >
- >--
- >Jing Huang
- >Dept. of Phys.
- >Kent State Univ. e-mail: jhuang@mcs.kent.edu
-
- You need to download the kernel sources and install them also.
- You can get the current version plus about 3 version back from tsx-11.mit.edu
- in the
-
- /pub/linux/sources/system directory.
-
- Install these in /usr/src/linux and then issue the following two 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
-
- James
-
-