From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <891645f0256e9fdfb1379b5ebf0928a3.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199709281410.QAA21401@klopfer.zdv.Uni-Mainz.DE> Date: Sun, 28 Sep 1997 13:36:01 -0500 (EST) From: Todd M Shrider Subject: Kernel compile error with 2.1.56 and RH4.2 Hello all... I was going to switch from 2.0.30 to 2.1.x so that I could use our schools site license of DU 4.0 (or the libraries) to run Netscape for OSF. However, when I go to compile the kernel, I get this the folloring error. I encountered it first with 2.1.56 but I'm getting it with 2.1.4x kernels as well. Anyone have any ideas? Thanks! [root@asllinux linux]# make boot gcc -D__KERNEL__ -I/usr/src/linux/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/include/linux/sched.h:106: parse error before `tasklist_lock' /usr/src/linux/include/linux/sched.h:106: warning: data definition has no type or storage class In file included from init/main.c:17: /usr/src/linux/include/linux/sched.h:520: parse error before `waitqueue_lock' /usr/src/linux/include/linux/sched.h:520: warning: data definition has no type or storage class /usr/src/linux/include/linux/sched.h: In function `add_wait_queue': /usr/src/linux/include/linux/sched.h:526: warning: implicit declaration of function `write_lock_irqsave' /usr/src/linux/include/linux/sched.h:528: warning: implicit declaration of function `write_unlock_irqrestore' make: *** [init/main.o] Error 1 --- Todd M. Shrider Adaptive Systems Laboratory (812)855-4317 Lindley Hall 120, tshrider@cs.indiana.edu Indiana University http://www.cs.indiana.edu/~tshrider Bloomington, IN 47405 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com