Re: Building from the source -Current

2011-04-20 Thread Henning Brauer
* Insan Praja SW [2011-04-19 21:50]: > 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 m

Re: Building from the source -Current

2011-04-19 Thread Insan Praja SW
Hi, On Wed, 20 Apr 2011 04:08:48 +0700, Claudio Jeker wrote: 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. Dang, I simply remove .depend and

Re: Building from the source -Current

2011-04-19 Thread Amit Kulkarni
guenther@ removed freebsd-compat on April 5. Just update your sources again from a different cvs mirror. That file is history. http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/i386/Attic/freebsd_machdep.c?hideattic=0 On Wed, 20 Apr 2011, Insan Praja SW wrote: > Hi, > On Wed, 20 Apr 2011

Re: Building from the source -Current

2011-04-19 Thread Insan Praja SW
Hi, On Wed, 20 Apr 2011 02:59:34 +0700, Amit Kulkarni wrote: Errr. are you sure your sources are updated? I don't see a freebsd_machdep.h in my /usr/src Sources are cvs-ed. I tried remove freebsd_machdep.h from the source manually, nothing changes. see http://www.openbsd.org/faq/faq5

Re: Building from the source -Current

2011-04-19 Thread Claudio Jeker
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 upda

Re: Building from the source -Current

2011-04-19 Thread Amit Kulkarni
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

Building from the source -Current

2011-04-19 Thread Insan Praja SW
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 ed