home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23693 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.7 KB

  1. Path: sparky!uunet!munnari.oz.au!goanna!escargot!minyos.xx.rmit.OZ.AU!rcopg
  2. From: rcopg@minyos.xx.rmit.OZ.AU (Paul Gortmaker)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: /usr/include/linux/<missing.h>
  5. Message-ID: <1itdavINNo4h@escargot.xx.rmit.OZ.AU>
  6. Date: 12 Jan 93 03:18:55 GMT
  7. References: <1993Jan9.110222.4284@exucom.com> <1993Jan09.160018.11338@rs6000.cmp.ilstu.edu>
  8. Organization: RMIT Computer Centre
  9. Lines: 36
  10. NNTP-Posting-Host: minyos.xx.rmit.oz.au
  11.  
  12. jliddle@rs6000.cmp.ilstu.edu (Jean Liddle) writes:
  13.  
  14. >In article <1993Jan9.110222.4284@exucom.com> kjv@exucom.com (Karl J. Vesterling) writes:
  15. >>
  16. >>    Where do I get the files that are in, "/usr/include/linux/*"
  17. >>They weren't in any of the SLS disks, or the GCC distribution on
  18. >>TSX-11...
  19. >>
  20. >>    Things don't like to compile without them.
  21. >>
  22.  
  23. >Get the sources to the latest kernel 0.99.2.  Place them in 
  24. >/usr/src/linux, and make the following 2 links:
  25.  
  26. >ln -s /usr/src/linux/include/linux /usr/include/linux
  27. >ln -s /usr/src/linux/include/asm /usr/include/asm
  28.  
  29.     I had trouble with the symlinks ending up in the wrong place when
  30. using the above (even with the -f switch) when I tried to upgrade from
  31. 98p5 to 99p2. ln did not like the fact that the target already existed.
  32. Here's what I did to get around it
  33.  
  34. mv /usr/include/linux /usr/include/Linux
  35. mv /usr/include/asm /usr/include/Asm
  36. ( save these for future reference ??? - suppose could rm -rf /usr/include/linux
  37. and rm -rf /usr/include/asm)
  38. ...and then make the symlinks.
  39.  
  40. Make sure you do BOTH, the ./linux and the ./asm -- if you don't do the ./asm
  41. the kernel will still compile with the unpatched asm code, and will lock up 
  42. during boot up.
  43.  
  44. Then all you have to do is get ps and top to work.  ;-)
  45.  
  46.  
  47.                             Paul.
  48.