home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10627 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  2.1 KB

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!ce12+
  2. From: ce12+@andrew.cmu.edu (Christopher Aaron Ekberg)
  3. Newsgroups: comp.os.linux
  4. Subject: compiling 0.97p5
  5. Message-ID: <kegzWfS00WBM44l0x3@andrew.cmu.edu>
  6. Date: 13 Sep 92 18:27:55 GMT
  7. Article-I.D.: andrew.kegzWfS00WBM44l0x3
  8. Organization: Sophomore, Chemistry, Carnegie Mellon, Pittsburgh, PA
  9. Lines: 42
  10.  
  11. Hello,
  12.  
  13. Until now, I have never had any problems upgrading kernels.  I am
  14. currently running 0.97pl4 (upgraded originally from 0.97.2 MCC), and
  15. when I applied patch 5, everything looked ok.  But when I make'ed it,
  16. make choked:  in init/main.c, mem_init had the wrong number of
  17. parameters!  It wanted two, and it had three:
  18. (low_memory_start,memory_start,memory_end) or something like that.  
  19.  
  20. I took out the first parameter, and tried to make again.
  21. I also tried downloading the sources again and starting from scratch
  22. (linux-0.97.5.tar.Z), but the mem_init and the following problem was
  23. still there.
  24.  
  25. This is what came out after I removed the part from mem_init in init/main.c:
  26.  
  27. gcc -DKERNEL -Wall -O6 -fomit-frame-pointer -DPROFILE_SHIFT=2
  28. -fno-omit-frame-pointer -c sched.c
  29. sched.c: In function `count_active_tasks':
  30. sched.c:380: `FIXED_1' undeclared (first use this function)
  31. sched.c:380: (Each undeclared identifier is reported only once
  32. sched.c:380: for each function it appears in.)
  33. sched.c: In function `calc_load':
  34. sched.c:387: `LOAD_FREQ' undeclared (first use this function)
  35. sched.c:393: warning: implicit declaration of function `CALC_LOAD'
  36. sched.c:393: `EXP_1' undeclared (first use this function)
  37. sched.c:394: `EXP_5' undeclared (first use this function)
  38. sched.c:395: `EXP_15' undeclared (first use this function)
  39. make[1]: *** [sched.o] Error 1
  40. make: *** [linuxsubdirs] Error 1
  41.  
  42.  
  43. This exact thing happened when I tried to make from the 0.97.5 sources.
  44.  
  45. Am I missing some files or anything?  Incorrect libs/headers?  I did ln
  46. -fs the include directories (and the asm dirs).  I haven't seen anyone
  47. else having these problems!  I know that a new version will be out
  48. shortly, but I would really like to figure this out.
  49.  
  50. Any suggestions?
  51. Thanks,
  52. Chris
  53.