Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2000 09:49:21 +0100
From:      Oscar I Lepe <oscar@ac.upc.es>
To:        questions@freebsd.org
Subject:   Help: make depend fails when a new option is added
Message-ID:  <3A39DB11.6A019878@ac.upc.es>

next in thread | raw e-mail | index | archive | help
Hi!
following section 22.1 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". Please help me solve this. Thanks.

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.

-- 
========================================================================
 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A39DB11.6A019878>