From owner-freebsd-hackers Thu Jul 3 19:46:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA05166 for hackers-outgoing; Thu, 3 Jul 1997 19:46:47 -0700 (PDT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA05152 for ; Thu, 3 Jul 1997 19:46:42 -0700 (PDT) Received: from mrsclaus.cs.rice.edu (mrsclaus.cs.rice.edu [128.42.1.108]) by cs.rice.edu (8.8.5/8.7.1) with ESMTP id VAA04908; Thu, 3 Jul 1997 21:46:34 -0500 (CDT) From: John Paul Campbell Received: (from jpc@localhost) by mrsclaus.cs.rice.edu (8.8.5/8.7.3) id VAA03573; Thu, 3 Jul 1997 21:46:38 -0500 (CDT) Message-Id: <199707040246.VAA03573@mrsclaus.cs.rice.edu> Subject: compile errors in GENERIC 2.2.2 To: hackers@freebsd.org, jpc@cs.rice.edu (John Paul Campbell) Date: Thu, 3 Jul 1997 21:46:37 -0500 (CDT) In-Reply-To: from "Doug White" at Jul 3, 97 05:38:56 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was advised to send this problem to the group. Hopefully, someone can help. I just installed 2.2.2 from scratch and was able to configure and compile a custom kernel. However, I tried a week later and got this error: gcc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../kern/kern_clock.c machine/cpufunc.h: In function `hardclock': machine/cpufunc.h:331: inconsistent operand constraints in an `asm' *** Error code 1 Stop. I have removed and reinstalled the sources and still the error occurs. This happens for every config, even GENERIC. I'm compiling with gcc2.7.2.1 on a Compaq Presario P60. Any ideas? John