Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 1999 14:50:14 +0700
From:      Ping Onn Cheng <ping@malaysia-mall.com>
To:        freebsd-questions@freebsd.org
Subject:   Kernel recompile problem - File not found
Message-ID:  <3.0.5.32.19990706145014.007d05a0@malaysia-mall.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I am running FreeBSD 3.2-Release(CDROM install) and try to recompile 
kernel.  I ran into problem with "make" and thought maybe I took out
too many stuffs at kernel configuration file.  

So, I "cp GENERIC MYKERNEL" and recompile bascally a GENERIC kernel.

But I still have problem at "make" which can't locate certain files.
I can see these 'missing' files are at their appropriate 
directory.

Anybody can help?  TIA.

----------------------------------------------------------------------
# /usr/sbin/config MYKERNEL
Don't forget to do a "make depend"
Kernel build directory is ../../compile/MYKERNEL

# cd ../../compile/MYKERNEL

# make depend
[stuffs deleted]
rm -f .depend
mv -f .newdep .depend

# make
[stuffs deleted]
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wuninitialized
-Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../
../../include -DKERNEL -DVM_STACK -include opt_global.h -elf
../../kern/kern_shutdown.c
In file include from ../../kern/kern_shutdown.c:52:
../../sys/vnode.h:42: sys/uio.h: No such file or directory
In file include from ../../kern/kern_shutdown.c:55:
../../sys/mount.h:42: sys/lock.h: No such file or directory
***Error code 1
stop.

# uname -a
FreeBSD bilbo 3.2-RELEASE FreeBSD 3.2-RELEASE #0 Tue May 18 0
4:05:08 GMT 1999 jkh@cathair:/usr/src/sys/compile/GENERIC  i386

# cc --version
2.7.2.1


Ping Onn Cheng
Product Manager
http://www.malaysia-mall.com



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?3.0.5.32.19990706145014.007d05a0>