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