Date: Thu, 17 Apr 1997 15:17:43 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: "Brad G. Parks" <bparks@homer.acs.bethel.edu> Cc: questions@freebsd.org Subject: Re: Compiling 2.2.1 kernel on 2.1.5 system Message-ID: <Pine.BSF.3.96.970417151636.12573H-100000@localhost> In-Reply-To: <9704171506.AA02265@turing>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Apr 1997, Brad G. Parks wrote: > > 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? What processor(s) did you mark in config? You will probably need to update the assembler, gas, before you can compile. Note that 2.2.1 comes with 2.7.2.1 of gcc, and I'm guessing the code is expecting you to have that. I would highly suggest upgrading your box to 2.2.1 before trying to build 2.2.1 kernels on it. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970417151636.12573H-100000>