Hi!
following section 22 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 buildkernel" 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.

#mount SOURCE_CODE_SERVER:/FreeBSD4/src ~oscar/FreeBSD4/src
#mount SOURCE_CODE_SERVER:/FreeBSD4/obj /usr/obj
#cd ~oscar/FreeBSD4/src
#vi sys/i386/conf/options
(added appropriate entries)
#make buildkernel KERNEL=NAVI

-----------------------------------
>>> Rebuilding kernel(s)
-----------------------------------
===> NAVI
...
...
...
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
-I@/../include -I/usr/obj/usr/home/oscar/FreeBSD4/src/i386/usr/include
/usr/home/oscar/FreeBSD4/src/sys/modules/xl/../../pci/if_xl.c

/usr/home/oscar/FreeBSD4/src/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/src/sys/modules/xl.
*** Error code 1

Stop in /usr/home/oscar/FreeBSD4/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/home/oscar/FreeBSD4/src/sys/NAVI.
*** Error code 1

Stop in /usr/home/oscar/FreeBSD4/src.
*** Error code 1


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to