Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 11:09:00 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Otter <otterr@telocity.com>, imp@FreeBSD.org
Cc:        -questions <freebsd-questions@FreeBSD.ORG>, -current <freebsd-current@FreeBSD.ORG>
Subject:   Re: Kernel making problems
Message-ID:  <20000527150900.WQLV22611.mail.rdc1.va.home.com@john.baldwin.cx>
In-Reply-To: <392FBF0E.61D922B7@telocity.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000527150900.WQLV22611.mail.rdc1.va.home.com>