From owner-freebsd-questions Thu Apr 17 13:09:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA01291 for questions-outgoing; Thu, 17 Apr 1997 13:09:17 -0700 (PDT) Received: from rosie.scsn.net (scsn.net [206.25.246.12]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA01283 for ; Thu, 17 Apr 1997 13:09:11 -0700 (PDT) Received: from cola81.scsn.net ([206.25.247.81]) by rosie.scsn.net (Post.Office MTA v3.0 release 117 ID# 0-32322U5000L100S10000) with ESMTP id AAA135; Thu, 17 Apr 1997 16:03:02 -0400 Received: (from root@localhost) by cola81.scsn.net (8.8.5/8.6.12) id QAA00498; Fri, 18 Apr 1997 16:10:40 -0400 (EDT) From: "Donald J. Maddox" Message-Id: <199704182010.QAA00498@cola81.scsn.net> Subject: Re: Compiling 2.2.1 kernel on 2.1.5 system In-Reply-To: <9704171506.AA02265@turing> from "Brad G. Parks" at "Apr 17, 97 10:06:27 am" To: bparks@homer.acs.bethel.edu (Brad G. Parks) Date: Fri, 18 Apr 1997 16:10:39 -0400 (EDT) Cc: questions@FreeBSD.org Reply-To: dmaddox@scsn.net X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Brad G. Parks > > I installed the 2.1.5 system from CD months ago and would > now like to build a 2.2.1 kernel. When I run `make` from > /usr/src/sys/compile/GENERIC I get the following result: > > cc -c -x assembler-with-cpp -DLOCORE -nostdinc -I- -I. -I../.. > -I../../../include -DAPM_BROKEN_STATCLOCK -DFAILSAFE -DCOMPAT_43 -DCD9660 > -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL ../../i386/i386/locore.s > ../../i386/i386/locore.s: Assembler messages: > ../../i386/i386/locore.s:705: Error: bad register name ('%cr4') > ../../i386/i386/locore.s:707: Error: bad register name ('%cr4') > *** Error code 1 > > What am I missing? Where did I screw up? You will need to rebuild the assembler first: 1) cd /usr/src/gnu/usr.bin/as 2) make obj depend all install 3) Proceed with building your new kernel... -- Donald J. Maddox (dmaddox@scsn.net)