* Compiling 2.1.85 kernel problems
@ 1998-02-11 5:00 August Buerkle
1998-02-11 5:00 ` vogt
0 siblings, 1 reply; 3+ messages in thread
From: August Buerkle @ 1998-02-11 5:00 UTC (permalink / raw)
I have been unable to compile the 2.1.85 kernel for my 164lx Alpha.
Below are the gcc error messages, which terminates soon after starting.
Currently running 2.0.33 which compiled without incident, but was made
to boot only after much black magic.
gcc -D__KERNEL__ -I/usr/src/linux-2.1.85/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe
-mno-fp-regs
-ffixed-8 -c -o init/main.o init/main.c
In file included from init/main.c:17:
/usr/src/linux-2.1.85/include/linux/sched.h:107: parse error before
`tasklist_lock'
/usr/src/linux-2.1.85/include/linux/sched.h:107: warning: data
definition has no type or storage class
In file included from init/main.c:17:
/usr/src/linux-2.1.85/include/linux/sched.h:596: parse error before
`waitqueue_lock'
/usr/src/linux-2.1.85/include/linux/sched.h:596: warning: data
definition has no type or storage class
/usr/src/linux-2.1.85/include/linux/sched.h: In function
`add_wait_queue':
/usr/src/linux-2.1.85/include/linux/sched.h:602: warning: implicit
declaration of function `write_lock_irqsave'
/usr/src/linux-2.1.85/include/linux/sched.h:604: warning: implicit
declaration of function `write_unlock_irqrestore'
make: *** [init/main.o] Error 1
I've been unable to track down anything by hand so far. Where can
I find hints or fixes to overcome these problems?
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Compiling 2.1.85 kernel problems
1998-02-11 5:00 Compiling 2.1.85 kernel problems August Buerkle
@ 1998-02-11 5:00 ` vogt
1998-02-12 5:00 ` Aki Nyrhinen
0 siblings, 1 reply; 3+ messages in thread
From: vogt @ 1998-02-11 5:00 UTC (permalink / raw)
>gcc -D__KERNEL__ -I/usr/src/linux-2.1.85/include -Wall
>-Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe
>-mno-fp-regs
>-ffixed-8 -c -o init/main.o init/main.c
>In file included from init/main.c:17:
>/usr/src/linux-2.1.85/include/linux/sched.h:107: parse error before
>`tasklist_lock'
>/usr/src/linux-2.1.85/include/linux/sched.h:107: warning: data
>definition has no type or storage class
>In file included from init/main.c:17:
>/usr/src/linux-2.1.85/include/linux/sched.h:596: parse error before
>`waitqueue_lock'
Hi
This looks like the typical mistake not to uncomment SMP=1 in the Makefile.
so SMP=1 should be #SMP=1
I make this mistake myself sometimes when I start with a fresh kernel source.
2.1.85 is running w/o big problems om my 400/233 (266XL avanti). However
that may depend on your hardware and choice of modules to include. For some
reason I have problems running a kernel with modules so I just don't use
modules at the moment because I have no clue what the problem is.
Greetings, Paul
email vogt at kvi.nl
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Compiling 2.1.85 kernel problems
1998-02-11 5:00 ` vogt
@ 1998-02-12 5:00 ` Aki Nyrhinen
0 siblings, 0 replies; 3+ messages in thread
From: Aki Nyrhinen @ 1998-02-12 5:00 UTC (permalink / raw)
> 2.1.85 is running w/o big problems om my 400/233 (266XL avanti). However
> that may depend on your hardware and choice of modules to include. For some
> reason I have problems running a kernel with modules so I just don't use
> modules at the moment because I have no clue what the problem is.
I have 2.1.85 running on my Noname 166MHz, and modules do work without any
problems. So, I wonder if you have noticed that 2.1.85 (like many kernels
before) need at least modutils 2.1.55 for module support. Personally I use
modutils 2.1.71.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-02-12 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-11 5:00 Compiling 2.1.85 kernel problems August Buerkle
1998-02-11 5:00 ` vogt
1998-02-12 5:00 ` Aki Nyrhinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox