From owner-freebsd-questions Tue Jul 6 0:10:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (Postfix) with ESMTP id E3281152DD for ; Tue, 6 Jul 1999 00:10:28 -0700 (PDT) (envelope-from A_Johns@TurnAround.com.au) Received: from tasajohns (dhcp64.turnaround.com.au [192.168.1.64]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with SMTP id RAA12169; Tue, 6 Jul 1999 17:28:33 +1000 (EST) (envelope-from A_Johns@TurnAround.com.au) From: "Andrew Johns" To: "Ping Onn Cheng" , Subject: RE: Kernel recompile problem - File not found Date: Tue, 6 Jul 1999 17:09:20 +1000 Message-ID: <000801bec77e$77d05020$4001a8c0@tasajohns.turnaround.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal In-Reply-To: <3.0.5.32.19990706145014.007d05a0@malaysia-mall.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Looks as though you didn't add the kernel source when you installed the system. Run sysinstall and add the kernel sources (you may want to add the X Programmers Header files as well if you plan on compiling a bit of stuff on the box in future). Cheers > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ping > Onn Cheng > Sent: Tuesday, 6 July 1999 17:50 > To: freebsd-questions@FreeBSD.ORG > Subject: Kernel recompile problem - File not found > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message