Re: error when compile the kernel

2010-11-02 Thread Vadim Zhukov
On 1 November 2010 c. 15:36:35 OpenBSD Geek wrote:
 I have this error : rm -f eddep *bsd *bsd.gdb tags *.[io] [a-z]*.s
 [Ee]rrs linterrs assym.h

 I don't understand why it doesn't work. If
 someone can help me. thanks

And where's the error? A normal output for make clean looks like
exactly this.

--
  Best wishes,
Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: error when compile the kernel

2010-11-01 Thread Josh Grosse
On Mon, 01 Nov 2010 16:36:35 +0400, OpenBSD Geek wrote
 Hi, I just installed an OpenBSD 4.7.
 
 Now i want to update it to 4.7
 -current...

 ...I don't understand why it doesn't work. If
 someone can help me. thanks

From FAQ 5.1: If you desire to run -current, a recent snapshot is often all
you need, and upgrading to a snapshot is a required starting point before
attempting to build -current from source.



Re: error when compile the kernel

2010-11-01 Thread roberth
On Mon, 01 Nov 2010 16:36:35 +0400
OpenBSD Geek open...@e-solutions.re wrote:

 when this last is done, i start to compile kernel : cd
 /usr/src/sys/arch/i386/conf 
 
 config GENERIC 

 cd ../compile/GENERIC 
 
 make
 clean 

Your config is broken? Mine prints:
# config GENERIC
Don't forget to run make depend

http://www.openbsd.org/faq/faq5.html#BldKernel


'extract the tarballs' OR 'cvs checkout',
after that 'cvs up'.

http://www.openbsd.org/anoncvs.html


In gerneral, if you want to run -current, you start by
upgrading to/installing the latest snapshot.



Re: error when compile the kernel

2010-11-01 Thread roberth
On Mon, 1 Nov 2010 08:40:04 -0500
Josh Grosse j...@jggimi.homeip.net wrote:

 On Mon, 1 Nov 2010 14:28:00 +0100, roberth wrote
 
  Your config is broken? Mine prints:
  # config GENERIC
  Don't forget to run make depend
 
 The OP's config is broken because of the 25 May 2010 change to
 config(8) for kernel builds.  It was in the Following -current FAQ
 until today, when all of the changes since 4.7-release were removed.
 Older version here:
 
 http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/www/faq/current.html?rev=1.238;content-type=text%2Fhtml#20100525

My subconciousness is playing tricks on me, i guess.
Should have remembered that one, but 4.7 is so far back that i get
confused by the timeline. New location for the old stuff:
http://www.openbsd.org/faq/upgrade-old.html#20100525

  In gerneral, if you want to run -current, you start by
  upgrading to/installing the latest snapshot.
 
 =That= is the reason the OP's build failed.

Othere general advice for OP, if he wants to follow current:
sub the source-changes ml or atleast follow /faq/current.html
and if you still want to try to go from 4.7 instead of a snapshot the
relevant parts are now in /faq/upgrade-old.html .

But as said before, snapshot first is less painfull.



Re: error when compile the kernel

2010-11-01 Thread Josh Grosse
On Mon, 1 Nov 2010 14:28:00 +0100, roberth wrote

 Your config is broken? Mine prints:
 # config GENERIC
 Don't forget to run make depend

The OP's config is broken because of the 25 May 2010 change to config(8) for
kernel builds.  It was in the Following -current FAQ until today, when all
of the changes since 4.7-release were removed.  Older version here:

http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/www/faq/current.html?rev=1.238;content-type=text%2Fhtml#20100525

 In gerneral, if you want to run -current, you start by
 upgrading to/installing the latest snapshot.

=That= is the reason the OP's build failed.



Re: error when compile the kernel

2010-11-01 Thread Nick Holland

On 11/01/10 10:01, roberth wrote:

On Mon, 1 Nov 2010 08:40:04 -0500
Josh Grossej...@jggimi.homeip.net  wrote:



In gerneral, if you want to run -current, you start by
upgrading to/installing the latest snapshot.


=That= is the reason the OP's build failed.


Othere general advice for OP, if he wants to follow current:
sub the source-changes ml or atleast follow /faq/current.html
and if you still want to try to go from 4.7 instead of a snapshot the
relevant parts are now in /faq/upgrade-old.html .

But as said before, snapshot first is less painfull.


NO.  Binary upgrade first is the ONLY WAY to avoid us making fun of you 
and laughing at you.  Upgrading by source is NOT SUPPORTED.  Sometimes 
it can be done in one step by carefully following current.html, but 
often interim versions must be built, and even then, sometimes it is 
very difficult.  If you have time to do things the hard way, you need a 
hobby or to get out of the Linux mindset.  The tools to do things the 
easy way are sitting on your nearest mirror.


If you are trying to upgrade releases using current.html, you are doing 
it wrong.
If you are looking at upgrade-old.html, you are doing it VERY WRONG. 
And I just made it a bit more difficult to do very wrong by removing 
upgrade-old.html


Nick.



Re: error when compile the kernel

2010-11-01 Thread Peter N. M. Hansteen
OpenBSD Geek open...@e-solutions.re writes:

 Hi, I just installed an OpenBSD 4.7. 

 Now i want to update it to 4.7
 -current what i ve done : cd /usr/src ; tar zxvf src.tar.gz ; tar zxvf
 sys.tar.gz 

You're at least six months too late to get 4.7-current.  After those
steps you have 4.7-release and matching sources unpacked.

 cd /usr 

 export cvsroot=anon...@anoncvs.fr.openbsd.org:/cvs


 cvs -d$CVSROOT checkout -P src 

 cd /usr/src cvs -d $CVSROOT up -Pd

and this gives you the source of today's -current source, which is
somewhere significantly past 4.8.  You've skipped too many
intermediate steps, and the result is what the FAQ and other sources
warn you about.  

Assuming it's -current you want (now *4.8*-current), the only useful
way to go is to install the most recent snapshot you can get your
hands on and go from there.

Then again, it's usually painless to go about it like this:

1) fetch the most recent snapshot install files available to a local directory

2) cd to that directory and run sysmerge -x etcNN.tgz -s etcNN.tgz

   (that will work in most cases, but there's always a risk you will need to do
   some hand editing if your setup is old enough, then again this isn't really
   the supported way)

3) copy the snapshot's bsd.rd to /

4) reboot; boot bsd.rd

5) follow the friendly prompts, choose disk and your local directory
   as the install source.

couldn't be easier really.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.