From owner-freebsd-questions Mon Jul 29 15:31:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D02737B400 for ; Mon, 29 Jul 2002 15:31:19 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C7343E31 for ; Mon, 29 Jul 2002 15:31:19 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id PAA09542; Mon, 29 Jul 2002 15:31:16 -0700 Message-ID: <3D45C236.2010603@owt.com> Date: Mon, 29 Jul 2002 15:31:18 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Nathan Coraor Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.6 Kernel Will Not Compile References: <20020729221434.E9829396C8@corona.cse.psu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nathan Coraor wrote: > Hi, > > I've recently installed FreeBSD on an older machine of mine, and the > GENERIC kernel works fine, but when I try to compile a new kernel, it > stops with the following errors: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/kern/sys_generic.c > {standard input}: Assembler messages: > {standard input}:1598: Error: missing or invalid immediate expression `' taken as 0 > {standard input}:1598: Error: suffix or operands invalid for `and' > *** Error code 1 > > I'm not sure where to start looking... I've checked my config for > anything out of the ordinary, and any kind of docs online explaining > this problem but haven't found anything. Here's my system info in case > it's related to that: For starters, did you convert a current GENERIC into your new kernel config. Options have changed. Kent > > CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x561 Stepping = 1 > Features=0x8001bf > AMD Features=0x400<> > > 64MB RAM, a couple of IDE disks. It's a fairly standard PC. > > Thanks in advance, > --nate -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message