From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 11:36:46 2004 Return-Path: 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 886AC16A4CE for ; Wed, 1 Sep 2004 11:36:46 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19D0A43D45 for ; Wed, 1 Sep 2004 11:36:46 +0000 (GMT) (envelope-from tacoboy24@dragoweb.com) Received: from [192.168.1.103] (h00105a1fac2a.ne.client2.attbi.com[24.128.236.189]) by comcast.net (sccrmhc13) with SMTP id <2004090111364201600i01c3e>; Wed, 1 Sep 2004 11:36:45 +0000 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <0B2F477E-FC0C-11D8-A8E5-000A958B36E0@dragoweb.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Andrew Date: Wed, 1 Sep 2004 07:42:46 -0400 X-Mailer: Apple Mail (2.618) Subject: building the 5.1 kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 11:36:46 -0000 I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a guide. I am running freebsd 5.1 and as fyi have been building suse and redhat kernels for a while without problems. But this is my first time building the freebsd kernel) This is what I did. cd /sys/i386/conf config GENERIC <-- no changes to the file then per the results of config cd ../compile/GENERIC then make depend then make the following errors were reported. Why? What did I do incorrectly. A Log follows MiniBSD /sys/i386/compile/GENERIC #: make cc -c -x assembler-with-cpp -DLOCORE -O -pipe -march=i486 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../i386/i386/locore.s {standard input}: Assembler messages: {standard input}:546: Error: suffix or operands invalid for `shr' {standard input}:547: Error: suffix or operands invalid for `shr' {standard input}:547: Error: suffix or operands invalid for `shl' {standard input}:556: Error: suffix or operands invalid for `shr' {standard input}:557: Error: suffix or operands invalid for `shr' {standard input}:557: Error: suffix or operands invalid for `shl' {standard input}:561: Error: suffix or operands invalid for `shr' {standard input}:561: Error: suffix or operands invalid for `shl' {standard input}:566: Error: suffix or operands invalid for `shr' {standard input}:566: Error: suffix or operands invalid for `shl' {standard input}:571: Error: suffix or operands invalid for `shr' {standard input}:571: Error: suffix or operands invalid for `shl' {standard input}:576: Error: suffix or operands invalid for `shr' {standard input}:576: Error: suffix or operands invalid for `shl' {standard input}:581: Error: suffix or operands invalid for `shr' {standard input}:581: Error: suffix or operands invalid for `shl' {standard input}:587: Error: suffix or operands invalid for `shl' {standard input}:593: Error: suffix or operands invalid for `shl' {standard input}:598: Error: suffix or operands invalid for `shl' {standard input}:604: Error: suffix or operands invalid for `shl' {standard input}:610: Error: suffix or operands invalid for `shl' *** Error code 1 Stop in /usr/src/sys/i386/compile/GENERIC. MiniBSD /sys/i386/compile/GENERIC #: