From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11963 invoked from network); 23 Jun 1999 10:29:57 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Jun 1999 10:29:57 -0000 Received: from dsmail.hmi.de (dsmail.hmi.de [134.30.15.24]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA12772 for ; Wed, 23 Jun 1999 05:35:04 -0400 Received: from dixtat.hmi.de (root@dixtat.hmi.de [134.30.5.10]) by dsmail.hmi.de (8.9.1a/8.9.1) with ESMTP id LAA21451 for ; Wed, 23 Jun 1999 11:35:01 +0200 (MET DST) Received: (from dat@localhost) by dixtat.hmi.de (8.9.3/8.9.3) id LAA16445 for axp-list@redhat.com; Wed, 23 Jun 1999 11:35:00 +0200 Date: Wed, 23 Jun 1999 11:35:00 +0200 From: "Dr. Andreas S. Tomiak" Message-Id: <990623113500.ZM16444@dixtat.hmi.de> Reply-To: tomiak@hmi.de X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: axp-list@redhat.com Subject: Kernel compilation errors on SMP Sable MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hello AXP-Linuxers, I've problems again in compilng a new kernel for our Sable 4/275 with 2 EV4-CPUs. Actually I'm running 2.2.3 SMP, but if I try to compile 2.2.10 (or the patched version ac4) I'll get the following error: [lot of stuff deleted] gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -c -o process.o process.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -c -o osf_sys.o osf_sys.c process.c:80: conflicting types for `cpu_idle' proto.h:196: previous declaration of `cpu_idle' traps.c: In function `trap_init': traps.c:893: warning: `gptr' might be used uninitialized in this function gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -c -o irq.o irq.c make[1]: *** [process.o] Error 1 osf_sys.c: In function `osf_getsysinfo': osf_sys.c:881: warning: `w' might be used uninitialized in this function make[1]: Leaving directory `/usr/src/linux-2.2.10ac4/arch/alpha/kernel' make: *** [_dir_arch/alpha/kernel] Error 2 If I disable SMP, it works. But this is worser than my 2.2.6 SMP kernel... I'm running Redhat 5.2 with egcs-2.90.29 980515 (egcs-1.0.3 release). Maybe egcs is the reason as sometimes ago, but Redhat does not deliver a plain gcc any longer. Any hints for me available? Andreas