Date: Tue, 6 Jul 1999 17:09:20 +1000 From: "Andrew Johns" <A_Johns@TurnAround.com.au> To: "Ping Onn Cheng" <ping@malaysia-mall.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Kernel recompile problem - File not found Message-ID: <000801bec77e$77d05020$4001a8c0@tasajohns.turnaround.com.au> In-Reply-To: <3.0.5.32.19990706145014.007d05a0@malaysia-mall.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801bec77e$77d05020$4001a8c0>