From owner-freebsd-questions Tue Jul 6 18:39:49 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 BC65B150EB for ; Tue, 6 Jul 1999 18:39:32 -0700 (PDT) (envelope-from ping@malaysia-mall.com) Received: from ping.tm.net.my ([202.188.212.85]) by whsun612.webhosting.com (8.9.1b+Sun/8.9.1) with SMTP id VAA06597; Tue, 6 Jul 1999 21:32:45 -0400 (EDT) Message-Id: <3.0.5.32.19990707092637.00842bc0@relay28.jaring.my> X-Sender: pcheng1@relay28.jaring.my X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 07 Jul 1999 09:26:37 +0700 To: "Andrew Johns" , freebsd-questions@freebsd.org From: Ping Onn Cheng Subject: RE: Kernel recompile problem - File not found In-Reply-To: <000801bec77e$77d05020$4001a8c0@tasajohns.turnaround.com.au > References: <3.0.5.32.19990706145014.007d05a0@malaysia-mall.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Even after I installed *all* source and binaries at sysinstall. And do "/usr/sbin/config" "make depend" and "make" again. The problem still persists. At 05:09 PM 7/6/99 +1000, you wrote: >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 > > 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