home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10628 < prev    next >
Encoding:
Text File  |  1992-09-13  |  2.1 KB  |  56 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!usc!rpi!batcomputer!theory.TC.Cornell.EDU!mdw
  3. From: mdw@theory.TC.Cornell.EDU (Matt Welsh)
  4. Subject: Re: compiling 0.97p5
  5. Message-ID: <1992Sep14.024914.8424@tc.cornell.edu>
  6. Sender: news@tc.cornell.edu
  7. Nntp-Posting-Host: theory.tc.cornell.edu
  8. Organization: Cornell Theory Center
  9. References: <kegzWfS00WBM44l0x3@andrew.cmu.edu>
  10. Date: Mon, 14 Sep 1992 02:49:14 GMT
  11. Lines: 43
  12.  
  13. In article <kegzWfS00WBM44l0x3@andrew.cmu.edu> ce12+@andrew.cmu.edu (Christopher Aaron Ekberg) writes:
  14. >Hello,
  15. >
  16. >Until now, I have never had any problems upgrading kernels.  I am
  17. >currently running 0.97pl4 (upgraded originally from 0.97.2 MCC), and
  18. >when I applied patch 5, everything looked ok.  But when I make'ed it,
  19. >make choked:  in init/main.c, mem_init had the wrong number of
  20. >parameters!  It wanted two, and it had three:
  21. >(low_memory_start,memory_start,memory_end) or something like that.  
  22.  
  23. [Description of errors deleted]
  24.  
  25. >
  26. >This exact thing happened when I tried to make from the 0.97.5 sources.
  27. >
  28. >Am I missing some files or anything?  Incorrect libs/headers?  I did ln
  29. >-fs the include directories (and the asm dirs).  I haven't seen anyone
  30. >else having these problems!  I know that a new version will be out
  31. >shortly, but I would really like to figure this out.
  32.  
  33. Oops. Okay, guys: the ln -fs will NOT work correctly if you ALREADY have
  34. the target directory at the time you make the link. I.e. if you do
  35.  
  36. % mkdir foo
  37. % ln -fs bar foo
  38.  
  39. You end up with the link "bar" being *inside* the directory foo, as in
  40.  
  41. foo/bar -> foo
  42.  
  43. I don't know if this is "correct" behavior or not, but this is what happened
  44. to me when I made those links because (of course) the /usr/include/linux and
  45. /usr/include/asm directories were already in existence when I made the
  46. link, so it put the link inside those directories. The solution: either
  47. rename or nuke the two existing directories, then make the link.
  48.  
  49. mdw
  50.  
  51.  
  52. -- 
  53. Matt Welsh    mdw@tc.cornell.edu        +1 607 253 2737
  54. Random Hacker, Cornell Engineering and Theory Center 
  55.   "I'll eat anything that's BRIGHT BLUE!!"
  56.