From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29326 invoked from network); 6 Mar 1999 20:21:48 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 6 Mar 1999 20:21:48 -0000 Received: from talisman.alphalinux.org (root@talisman.mv.com [207.22.43.150]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA12821 for ; Sat, 6 Mar 1999 15:16:40 -0500 Received: from localhost (rdp@localhost [127.0.0.1]) by talisman.alphalinux.org (8.8.7/8.8.7) with ESMTP id PAA25961; Sat, 6 Mar 1999 15:09:51 -0500 Date: Sat, 6 Mar 1999 15:09:51 -0500 (EST) From: Rich Payne X-Sender: rdp@talisman.mv.com To: Tom Browder cc: AXP LIST Subject: Re: Errors in Compiling Kernel 2.2.2 on PC164 In-Reply-To: <01be680d$7b6a9a40$cb01000a@tomtom2.asi-fwb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 2.2.2 does not compile out of the box on Alpha. Go and get an Alan Cox patch to 2.2.2 (ac4 or later), apply it and all will be well. ftp://ftp.alphalinux.org/pub/AXP/patches/patch-2.2.2-ac4.bz2 Rich Payne rpayne@alphalinux.org www.alphalinux.org On Sat, 6 Mar 1999, Tom Browder wrote: > 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 > > > -- > 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 >