From owner-freebsd-questions Tue Jul 6 0: 2:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from whsun612.webhosting.com (unknown [208.156.46.253]) by hub.freebsd.org (Postfix) with ESMTP id A12B714C0C for ; Tue, 6 Jul 1999 00:02:17 -0700 (PDT) (envelope-from ping@malaysia-mall.com) Received: from ping.tm.net.my ([202.188.212.187]) by whsun612.webhosting.com (8.9.1b+Sun/8.9.1) with SMTP id CAA24131 for ; Tue, 6 Jul 1999 02:56:18 -0400 (EDT) Message-Id: <3.0.5.32.19990706145014.007d05a0@malaysia-mall.com> X-Sender: ping@malaysia-mall.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 06 Jul 1999 14:50:14 +0700 To: freebsd-questions@freebsd.org From: Ping Onn Cheng Subject: Kernel recompile problem - File not found Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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