The way kernel get built changed lately. make depend is no more and because of this you need to remove the build directory before building a new kernel or the old dependencies will hount you.
On Tue, Apr 19, 2011 at 02:59:34PM -0500, Amit Kulkarni wrote: > Errr. are you sure your sources are updated? I don't see a > freebsd_machdep.h in my /usr/src > > see http://www.openbsd.org/faq/faq5.html#BldGetSrc > > Just su to root, the FAQ doesn't mention using sudo except for config kernels > > http://www.openbsd.org/faq/faq5.html#BldKernel > > notice the #prompt which is root prompt. > > I wouldn't do make install until make is finished and no errors. This > isn't something which can be automated for a beginner. The FAQ doesn't > show it that way. > > On Tue, Apr 19, 2011 at 1:51 PM, Insan Praja SW <[email protected]> > wrote: > > Hi Misc@, > > Tried to build kernel from the source but something like this; > > > > $ sudo config GENERIC.MP > > Don't forget to run "make depend" > > Kernel options have changed -- you must run "make clean" > > $ cd ../compile/GENERIC.MP/ > > $ sudo make clean && sudo make depend && sudo make && sudo make install > > rm -f eddep *bsd *bsd.gdb tags *.[io] [a-z]*.s [Ee]rrs linterrs assym.h > > make: don't know how to make machine/freebsd_machdep.h. Stop in > > /usr/src/sys/arch/i386/compile/GENERIC.MP. > > > > What should I do? > > > > Thanks, > > > > > > Insan Praja SW > > -- > > Using Opera's revolutionary email client: http://www.opera.com/mail/ > -- :wq Claudio

