From owner-freebsd-questions  Sat May 27  8: 9: 8 2000
Delivered-To: freebsd-questions@freebsd.org
Received: from mail.rdc1.va.home.com (ha1.rdc1.va.home.com [24.2.32.66])
	by hub.freebsd.org (Postfix) with ESMTP
	id 012B337B6D4; Sat, 27 May 2000 08:09:01 -0700 (PDT)
	(envelope-from jhb@FreeBSD.org)
Received: from john.baldwin.cx ([24.6.244.187]) by mail.rdc1.va.home.com
          (InterMail vM.4.01.02.00 201-229-116) with ESMTP
          id <20000527150900.WQLV22611.mail.rdc1.va.home.com@john.baldwin.cx>;
          Sat, 27 May 2000 08:09:00 -0700
Content-Length: 1779
X-Mailer: XFMail 1.4.0 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <392FBF0E.61D922B7@telocity.com>
Date: Sat, 27 May 2000 11:09:00 -0400 (EDT)
Organization: BSD, Inc.
From: John Baldwin <jhb@FreeBSD.org>
To: Otter <otterr@telocity.com>, imp@FreeBSD.org
Subject: Re: Kernel making problems
Cc: -questions <freebsd-questions@FreeBSD.ORG>, 
Cc: -questions <freebsd-questions@FreeBSD.ORG>,
	-current <freebsd-current@FreeBSD.ORG>
Message-Id: <20000527150900.WQLV22611.mail.rdc1.va.home.com@john.baldwin.cx>
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG


On 27-May-00 Otter wrote:
> Matthew Hunt wrote:
>> 
>> On Thu, May 25, 2000 at 10:58:41PM -0400, Otter wrote:
>> 
>> > cc -ffast-math -pipe -march=pentiumpro -O3 -I/usr/include -I.   -c
>> > aicasm_gram.c
>> > In file included from ../../dev/aic7xxx/aicasm_gram.y:40:
>> > ../../dev/aic7xxx/aicasm.h:44: syntax error before `struct'
>> > ../../dev/aic7xxx/aicasm.h:53: syntax error before `struct'
>> 
>> I had the same problem.  It looks like the following procedure
>> fixes it:
>> 
>> Make sure your source tree is up to date.
>> cd /usr/src
>> make includes
>> 
>> Do the config/make depend/make bit again.
>> 
>> Matt
> 
> ok. that seems to have cured the problem in "make depend", but now i'm
> finding a different problem in "make":
> 
> cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
> -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include
> opt_global.h -elf  -mpreferred-stack-boundary=2
> ../../i386/i386/bioscall.s
> /tmp/ccd70154.s: Assembler messages:
> /tmp/ccd70154.s:796: Error: operands given don't match any known 386
> instruction
> /tmp/ccd70154.s:861: Error: operands given don't match any known 386
> instruction
> *** Error code 1
> 
> Stop in /usr/src/sys/compile/kashmir.
> 
> Any ideas? I don't have a clue. Does anyone have a spare clue I could
> use to get this kernel made? TIA.
> -Otter

You need to build and install a new world before a new kernel.  It looks
like this needs to go into src/UPDATING.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message