home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!goanna!escargot!minyos.xx.rmit.OZ.AU!rcopg
- From: rcopg@minyos.xx.rmit.OZ.AU (Paul Gortmaker)
- Newsgroups: comp.os.linux
- Subject: Re: /usr/include/linux/<missing.h>
- Message-ID: <1itdavINNo4h@escargot.xx.rmit.OZ.AU>
- Date: 12 Jan 93 03:18:55 GMT
- References: <1993Jan9.110222.4284@exucom.com> <1993Jan09.160018.11338@rs6000.cmp.ilstu.edu>
- Organization: RMIT Computer Centre
- Lines: 36
- NNTP-Posting-Host: minyos.xx.rmit.oz.au
-
- jliddle@rs6000.cmp.ilstu.edu (Jean Liddle) writes:
-
- >In article <1993Jan9.110222.4284@exucom.com> kjv@exucom.com (Karl J. Vesterling) writes:
- >>
- >> Where do I get the files that are in, "/usr/include/linux/*"
- >>They weren't in any of the SLS disks, or the GCC distribution on
- >>TSX-11...
- >>
- >> Things don't like to compile without them.
- >>
-
- >Get the sources to the latest kernel 0.99.2. Place them in
- >/usr/src/linux, and make the following 2 links:
-
- >ln -s /usr/src/linux/include/linux /usr/include/linux
- >ln -s /usr/src/linux/include/asm /usr/include/asm
-
- I had trouble with the symlinks ending up in the wrong place when
- using the above (even with the -f switch) when I tried to upgrade from
- 98p5 to 99p2. ln did not like the fact that the target already existed.
- Here's what I did to get around it
-
- mv /usr/include/linux /usr/include/Linux
- mv /usr/include/asm /usr/include/Asm
- ( save these for future reference ??? - suppose could rm -rf /usr/include/linux
- and rm -rf /usr/include/asm)
- ...and then make the symlinks.
-
- Make sure you do BOTH, the ./linux and the ./asm -- if you don't do the ./asm
- the kernel will still compile with the unpatched asm code, and will lock up
- during boot up.
-
- Then all you have to do is get ps and top to work. ;-)
-
-
- Paul.
-