From owner-freebsd-questions Thu Dec 14 0:49:27 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 14 00:49:25 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from roura.ac.upc.es (roura.ac.upc.es [147.83.33.10]) by hub.freebsd.org (Postfix) with ESMTP id B602837B400 for ; Thu, 14 Dec 2000 00:49:24 -0800 (PST) Received: from ac.upc.es (fonoll.ac.upc.es [147.83.32.14]) by roura.ac.upc.es (8.11.0/8.11.0) with ESMTP id eBE8ppO00246; Thu, 14 Dec 2000 09:51:52 +0100 (MET) Sender: oscar@ac.upc.es Message-ID: <3A388A27.8CBFFDBC@ac.upc.es> Date: Thu, 14 Dec 2000 09:51:51 +0100 From: Oscar I Lepe Organization: DAC/UPC X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: es, en MIME-Version: 1.0 To: questions@freebsd.org Subject: Make depend failed when a new option was added Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! following section 21.2 of the handbook I added some config options I just invented to guard some ad-hoc code I inserted in some kernel files for RELEASE-4.1.1. All the options go to opt_navi.h. The config program accepts this options and produces the apropriate opt_navi.h file in the compile directory. But when I run "make depend" it fails at the first kernel file that references opt_navi.h (#include "opt_navi.h") saying "no such file or directory". rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I/usr/include /usr/home/oscar/FreeBSD4/sys/modules/xl/../../pci/if_xl.c /usr/home/oscar/FreeBSD4/sys/modules/xl/../../pci/if_xl.c:4: opt_navi.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/home/oscar/FreeBSD4/sys/modules/xl. *** Error code 1 Stop in /usr/home/oscar/FreeBSD4/sys/modules. *** Error code 1 Stop in /usr/home/oscar/FreeBSD4/sys/compile/NAVI. From this info would anyone tell me what am I doing wrong? TIA. -- ======================================================================== 0 0 0 Oscar-Ivan Lepe-Aldama | UPC-Campus Nord, DAC 0 0 0 e-mail: oscar@ac.upc.es | Modul D6, despatx 116 0 0 0 phone: +34 93 401 7187 | Jordi Girona, 1-3 U P C fax: +34 93 401 7055 | 08034 Barcelona - SPAIN WWW: http://www.ac.upc.es/homes/oscar/ ======================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message