From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <35e6d38daa86058deb1a4336be59dce7.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199706161735.NAA06699@crim12b.nsls.bnl.gov> Date: Mon, 16 Jun 1997 13:35:14 -0400 From: m. capel Subject: Problems building 2.1.42 kernel we're trying to build linux-2.1.42 on a PC164 (currently running 2.0.30, RH 4.1) i'm sure i've got the symlinks in /usr/include set correctly and the symlink 'linux' in /usr/src points to the 2.1.42 build tree. after make dep, and make boot things barf out on the first obj with: gcc -D__KERNEL__ -I/usr/src/linux-2.1.42/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.42/include/linux/sched.h:106: parse error before `tasklist_lock' /usr/src/linux-2.1.42/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-2.1.42/include/linux/sched.h:512: parse error before `waitqueue_lock' /usr/src/linux-2.1.42/include/linux/sched.h:512: warning: data definition has no type or storage class /usr/src/linux-2.1.42/include/linux/sched.h: In function `add_wait_queue': /usr/src/linux-2.1.42/include/linux/sched.h:518: warning: implicit declaration of function `write_lock_irqsave' /usr/src/linux-2.1.42/include/linux/sched.h:520: warning: implicit declaration of function `write_unlock_irqrestore' make: *** [init/main.o] Error 1 what am i doing wrong??? i've had no problems in building the 2.0 kernels. m. capel capel@crim12b.nsls.bnl.gov -- 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