Re: Building from the source -Current

2011-04-20 Thread Henning Brauer
* Insan Praja SW insan.pr...@gmail.com [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 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?

  rm -rf ./compile/GENERIC.MP/
and reconfig. occasionally make clean is not enough.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting



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 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/



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 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 insan.pr...@gmail.com
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/



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 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 insan.pr...@gmail.com
 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



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 amitk...@gmail.com  
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.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.



It shouldn't be a problem I think, hundreds of time compiling using sudo  
without a problem.



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 insan.pr...@gmail.com  
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/




Thanks,

Insan Praja SW
--
Using Opera's revolutionary email client: http://www.opera.com/mail/



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 02:59:34 +0700, Amit Kulkarni amitk...@gmail.com 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.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.
  
 
 It shouldn't be a problem I think, hundreds of time compiling using sudo
 without a problem.
 
  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 insan.pr...@gmail.com
  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/
   
   
 
 Thanks,
 
 Insan Praja SW
 -- 
 Using Opera's revolutionary email client: http://www.opera.com/mail/



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  
cje...@diehard.n-r-g.com 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 it went OK.



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 insan.pr...@gmail.com
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/





Thanks All,


Insan Praja SW
--
Using Opera's revolutionary email client: http://www.opera.com/mail/