home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!mcs.kent.edu!kentvm.kent.edu!JHUANG
- From: JHUANG@kentvm.kent.edu
- Subject: Re: Missing Header Files in SLS 0.99
- Message-ID: <168C5B133.JHUANG@kentvm.kent.edu>
- Sender: news@mcs.kent.edu
- Nntp-Posting-Host: kentvm.kent.edu
- Organization: Kent State Univ.
- References: <168C41D55.JHUANG@kentvm.kent.edu> <1h5lf3INNkbb@matt.ksu.ksu.edu>
- Date: Tue, 22 Dec 1992 16:35:57 GMT
- Lines: 52
-
- In article <1h5lf3INNkbb@matt.ksu.ksu.edu>
- probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
-
- >
- >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
- >
-
- Thanks to all of you who responded to my plea for help.
-
- The problem is obvious now. SLS does not include the kernel source
- nor the header files needed. So hopefully those new comers can realize
- this fact.
-
- The solution is also obvious, James gave the most clear answer above.
-
- Thank you again, folks.
-
- --
- Jing Huang
-