From owner-freebsd-questions Thu Jul 3 05:34:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA07159 for questions-outgoing; Thu, 3 Jul 1997 05:34:04 -0700 (PDT) Received: from horton.iaces.com (root@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA07140 for ; Thu, 3 Jul 1997 05:34:01 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.4) id HAA06690; Thu, 3 Jul 1997 07:33:58 -0500 (CDT) From: "Paul T. Root" Message-Id: <199707031233.HAA06690@horton.iaces.com> Subject: Re: Kernel Build Failure on 2.2.2 To: john@uunet.ca (John Grimmett) Date: Thu, 3 Jul 1997 07:33:58 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <2.2.32.19970702203609.006c710c@pop.uunet.ca> from John Grimmett at "Jul 2, 97 04:36:09 pm" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4ME+ PL22 (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 In a previous message, John Grimmett said: > Hi, > I am experiencing a failure when attempting to build a kernel on my > newly installed 2.2.2 distribution. The message that is returned following > a make depend command (after a minute or so) is opt_config.h file or > directory doesn't exist. The error indicates the config.c file line 1 is > the source of the error where the opt_config.h file is indicated. I did a > global find looking for the file and it, in fact, doesn't exist on the > system anywhere. Anybody seen this? What is supposed top be in this file? > There is a opt_userconfig.h, any connection? Help ;) > > Thanx, > John > > 1234567891123456789212345678931234567894123456789512345678961234567897 > 0 0 0 0 0 0 0 > John Grimmett E-Mail: john@uunet.ca > Manager, Customer Support Services Ph. 416 216-5141 > UUNET Canada Inc. Fx. 416 368-1350 Here's what I get: proot samiam:/sys $ find . -name opt_userconfig.h -print ./compile/SAMIAM/opt_userconfig.h proot samiam:/sys $ more ./compile/SAMIAM/opt_userconfig.h #define USERCONFIG 1 #define VISUAL_USERCONFIG 1 Try redoing the config (ie don't blow away the directory and run the config). If that doesn't work, try reinstalling the kernel source files. Paul. -- Cyanide is so poisonous that one drop of it on a dog's tongue will kill the strongest man.