From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22848 invoked from network); 6 Mar 1999 20:15:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 6 Mar 1999 20:15:05 -0000 Received: from lepton.nuc.net (root@lepton.nuc.net [204.49.61.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA12605 for ; Sat, 6 Mar 1999 15:09:58 -0500 Received: from fwb.asi.srs.com (fwb.asi.srs.com [204.49.61.129]) by lepton.nuc.net (8.8.8/8.8.8) with SMTP id OAA15927 for ; Sat, 6 Mar 1999 14:09:55 -0600 (CST) (envelope-from tom2@fwb.asi.srs.com) Received: from tomtom2.asi-fwb.com [10.0.1.203] by fwb.asi.srs.com [204.49.61.129] with SMTP (MDaemon.v2.7.SP4.R) for ; Sat, 06 Mar 1999 14:01:53 -0600 From: "Tom Browder" To: "AXP LIST" Subject: Errors in Compiling Kernel 2.2.2 on PC164 Date: Sat, 6 Mar 1999 14:11:12 -0600 Message-ID: <01be680d$7b6a9a40$cb01000a@tomtom2.asi-fwb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-MDaemon-Deliver-To: axp-list@redhat.com X-Return-Path: tom2@fwb.asi.srs.com Can anyone help? I started with a clean RH 5.2 distribution and stock kernel. I installed all the rpm's for upgrading to the 2.2.2 kernel. Configuration was fine. Then, after make dep and starting make boot, I got the following errors: ... gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o init/main.o init/main.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -DUTS_MACH INE='"alpha"' -c -o init/version.o init/version.c make -C kernel make[1]: Entering directory `/usr/src/linux-2.2.2/kernel' make all_targets make[2]: Entering directory `/usr/src/linux-2.2.2/kernel' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o signal.o signal.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -fno-omi t-frame-pointer -c -o sched.o sched.c sched.c:39: asm/semaphore-helper.h: No such file or directory sched.c: In function `__down': sched.c:909: too few arguments to function `waking_non_zero' sched.c: In function `__down_interruptible': sched.c:921: warning: implicit declaration of function `waking_non_zero_interruptible' sched.c: In function `__down_trylock': sched.c:936: warning: implicit declaration of function `waking_non_zero_trylock' make[2]: *** [sched.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.2/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.2/kernel' make: *** [_dir_kernel] Error 2 I am using egcs 1.1.1. The missing variables and file semaphore-helper. h are in asm-386! I used menuconfig, but I saw all references to ARCH as alpha in the Makefile. Thanks. Tom Browder