From owner-freebsd-questions Mon Jul 29 15:14:40 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 9B2C737B400 for ; Mon, 29 Jul 2002 15:14:36 -0700 (PDT) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20EA643E4A for ; Mon, 29 Jul 2002 15:14:36 -0700 (PDT) (envelope-from nate@cse.psu.edu) Received: from corona.cse.psu.edu (corona.cse.psu.edu [130.203.4.52]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5B23F19A31 for ; Mon, 29 Jul 2002 18:14:35 -0400 (EDT) Received: by corona.cse.psu.edu (Postfix Null Client, from userid 2711) id E9829396C8; Mon, 29 Jul 2002 18:14:34 -0400 (EDT) Subject: 4.6 Kernel Will Not Compile To: freebsd-questions@freebsd.org Date: Mon, 29 Jul 2002 18:14:34 -0400 (EDT) From: "Nathan Coraor" X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020729221434.E9829396C8@corona.cse.psu.edu> 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 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: 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 -------- nathan coraor nate@cse.psu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message