From wayne@barnes1.wustl.edu  Mon Mar 24 16:25:33 1997
Received: from who.cdrom.com (who.cdrom.com [204.216.27.3])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA23294
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Mar 1997 16:25:32 -0800 (PST)
Received: from barnes1.wustl.edu (barnes1.wustl.edu [128.252.162.58])
          by who.cdrom.com (8.8.5/8.6.11) with ESMTP id QAA16018
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Mar 1997 16:25:25 -0800 (PST)
Received: (from wayne@localhost) by barnes1.wustl.edu (8.8.3/8.7.3) id SAA01465; Mon, 24 Mar 1997 18:22:27 -0600 (CST)
Message-Id: <199703250022.SAA01465@barnes1.wustl.edu>
Date: Mon, 24 Mar 1997 18:22:27 -0600 (CST)
From: wayne@barnes1.wustl.edu
Reply-To: wayne@biodec.wustl.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: Makefile for 2.2.1 is messed up.
X-Send-Pr-Version: 3.2

>Number:         3088
>Category:       conf
>Synopsis:       Makefile for 2.2.1 is messed up.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 24 16:30:03 PST 1997
>Closed-Date:    Mon Mar 24 20:27:08 PST 1997
>Last-Modified:  Tue Mar 25 15:10:02 PST 1997
>Originator:     Wayne M. Barnes
>Release:        FreeBSD 2.1-STABLE i386
>Organization:

Wayne M. Barnes, Ph.D.                        wayne@barnes1.wustl.edu
Biochemistry Dept. 8231                   or  barnes@biodec.wustl.edu
Washington Univ. Medical School               314.362.3351  fax 7183
660 South Euclid Ave., St. Louis, MO 63110
           http://mbb.wustl.edu/~barnes/
>Environment:
Dell Pentium 100, 40 MB RAM, 1.5 Gig disk
FreeBSD 2.1.6
mounted onto wuarchive.wustl.edu with the command
mount wuarchive:/archive /wuarchive
	

>Description:

Trying to upgrade to 2.2.1.
sh install.sh all        brings down a load of stuff into /src
cd sys/i386/conf
(edit MYKERNEL)
config MYKERNEL          has an error message:

config: Unknown % construct in makefile: %SFILES

        I don't blame it: the line for %SFILES: is missing, yet %SFILES
is invoked farther down in the Makefile.

        If I go ahead and try to compile anyway, the kernel build crashes
soon, saying locore.s has problems.

         i386/i386/locore.s  has 3 #include lines, such as
	#include "opt_cpu.h"

	Neither the system nor I can find opt_*.h anywhere.  




	

>How-To-Repeat:

       I renamed my /usr/src directory, made a new empty one, and did the
whole thing over with the same result.

       I don't think this distribution 2.2.1 is ready for prime time.  Since
this attempted upgrade trashed my 2.1.6 files in src/sys/i386/conf, I will
have to go back to 2.1.5 if I ever want to rebuild a kernel, I suppose.

	

>Fix:
	
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gibbs 
State-Changed-When: Mon Mar 24 20:27:08 PST 1997 
State-Changed-Why:  
Rebuild your config before trying to build your kernel. 

From: j@uriah.heep.sax.de (J Wunsch)
To: wayne@biodec.wustl.edu
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/3088: Makefile for 2.2.1 is messed up.
Date: Tue, 25 Mar 1997 23:01:36 +0100

 As wayne@barnes1.wustl.edu wrote:
 
 > config MYKERNEL          has an error message:
 > 
 > config: Unknown % construct in makefile: %SFILES
 
 >        I don't think this distribution 2.2.1 is ready for prime time.
 
 Well, given that the system must recompile its own kernel in order to
 successfully run a `make release' before shipping it, don't you think
 that it's rather your copy of Makefile.i386 that is not ready for
 prime time?
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
>Unformatted:
