*BSD News Article 98773


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!news-out.internetmci.com!newsfeed.internetmci.com!news.msfc.nasa.gov!bcm.tmc.edu!rice!mrsclaus.cs.rice.edu!jpc
From: jpc@mrsclaus.cs.rice.edu (John Paul Campbell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Error compiling kernel 2.2.2
Date: 1 Jul 1997 05:46:14 GMT
Organization: Rice University, Houston, Texas
Lines: 30
Message-ID: <5pa5j6$8ih$1@joe.rice.edu>
NNTP-Posting-Host: mrsclaus.cs.rice.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43750

I just recently installed 2.2.2 and was able to compile and install a custom
kernel.  I have since needed to reconfigure.  Doing so gave the following 
error when I ran "make all":


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 then tried it on the GENERIC kernel to see if I had added something bad, 
and got the same results. 

What could I have done to cause this?  Like I said, I just compiled it fine
last week.  

Any help would be appreciated.

jpc

--
-------------------------------------------------------
John P. Campbell
jpc@rice.edu
www.cs.rice.edu/~jpc