From owner-freebsd-questions Thu Jan 29 21:33:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA19911 for questions-outgoing; Thu, 29 Jan 1998 21:33:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA19905 for ; Thu, 29 Jan 1998 21:33:05 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id VAA01534; Thu, 29 Jan 1998 21:33:01 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 29 Jan 1998 21:33:01 -0800 (PST) From: Doug White Reply-To: Doug White To: Mike Jeays cc: freebsd-questions@FreeBSD.ORG Subject: Re: Stable - compile error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Thu, 29 Jan 1998, Mike Jeays wrote: > I grabbed the kernel source for -stable, and attempted to compile it on my > 2.2.1 system. I got the following compile error: > > echo "___gnu_compiled_c" >>symbols.exclude > grep -v '^#' ../../i386/i386/symbols.raw | sed 's/^ //' | sort -u > > symbols.sort > cc -c -x assembler-with-cpp -DLOCORE -nostdinc -I- -I. -I../.. > -I/usr/include -DAPM_BROKEN_STATCLOCK -DAHC_FORCE_PIO -DFAILSAFE > -DCOMPAT_43 -DMSDOSFS -DFFS -DINET -DKERNEL ../../i386/i386/locore.s > ../../i386/i386/locore.s: Assembler messages: > ../../i386/i386/locore.s:101: Error: Unknown pseudo-op: `.p2align' > *** Error code 1 > > Stop. > > Is it feasible to run a kernel that is more up to date than the rest of > the system, or must I do a complete upgrade? (I sort of have the feeling > that this is a very naive question....) See http://www.freebsd.org/handbook/stable.html. You probably need to rm -rf /usr/src/sys/ and refetch/checkout your kernel source. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major