Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 1997 16:10:39 -0400 (EDT)
From:      "Donald J. Maddox" <root@cola81.scsn.net>
To:        bparks@homer.acs.bethel.edu (Brad G. Parks)
Cc:        questions@FreeBSD.org
Subject:   Re: Compiling 2.2.1 kernel on 2.1.5 system
Message-ID:  <199704182010.QAA00498@cola81.scsn.net>
In-Reply-To: <9704171506.AA02265@turing> from "Brad G. Parks" at "Apr 17, 97 10:06:27 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704182010.QAA00498>