Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

View: New views
8 Messages — Rating Filter:   Alert me  

Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Lars Nooden-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm under the belief that I have a fresh GENERIC installation of 4.6 for
i386.  I unpacked src.tar.gz and sys.tar.gz and then updated using
anoncvs.  However, when trying to make 'depend', I get the following error:

  make:  don't know how to make vers.o.
        Stop in /usr/src/sys/arch/i386/compile/GENERIC

That's even after a fresh re-install.  What did I miss?

/Lars


Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Paul de Weerd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 09, 2009 at 02:50:47PM +0200, Lars Nooden wrote:
| I'm under the belief that I have a fresh GENERIC installation of 4.6 for
| i386.  I unpacked src.tar.gz and sys.tar.gz and then updated using
| anoncvs.  However, when trying to make 'depend', I get the following error:

Updated to what, exactly ? Below, I'm making an assumption based on my
paranormal0 device - it has been malfunctioning lately, so it may not
be correct.

|   make:  don't know how to make vers.o.
| Stop in /usr/src/sys/arch/i386/compile/GENERIC
|
| That's even after a fresh re-install.  What did I miss?

The changes to config(8). You're trying to build -current on a 4.6
RELEASE system. You need a newer config before you can continue. This
is documented on the website. http://www.openbsd.org/faq/current.html

Cheers,

Paul 'WEiRD' de Weerd

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 


Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Josh Grosse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 09 Nov 2009 14:50:47 +0200, Lars Nooden wrote

> I'm under the belief that I have a fresh GENERIC installation of 4.6
> for i386.  I unpacked src.tar.gz and sys.tar.gz and then updated
> using anoncvs.  However, when trying to make 'depend', I get the
> following error:
>
>   make:  don't know how to make vers.o.
> Stop in /usr/src/sys/arch/i386/compile/GENERIC
>
> That's even after a fresh re-install.  What did I miss?
>
> /Lars

You missed the Following -current FAQ.  Two failures, the first procedural,
the second, self-inflicted.  Viz:

http://www.openbsd.org/faq/current.html

"You should ALWAYS use a snapshot as the starting point for running -current.
Upgrading by compiling your own source code is not supported."

And then the reason for the failure, from within the FAQ:

http://www.openbsd.org/faq/current.html#20091019

"config(8) has been changed. You must install a new version before building a
kernel from newly updated sources."


Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Lars Nooden-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul de Weerd wrote:
> The changes to config(8). You're trying to build -current on a 4.6
> RELEASE system.

I was aiming for -stable, this time.

Method paraphrased:

get 4.6 release
get 4.6 source tarballs, unpack
update -rOPENBSD_4_6 src
config GENERIC
make depend && make

I tried a third time.  AFAIK the only difference was the host for the
cvs repository.  No errors compiling this time.

/Lars


solved - Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Lars Nooden-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks.

Paul de Weerd wrote:
> The changes to config(8). You're trying to build -current on a 4.6
> RELEASE system.

I was aiming for -stable, this time.

Method paraphrased:

get 4.6 release
get 4.6 source tarballs, unpack
update -rOPENBSD_4_6 src
config GENERIC
make depend && make

I tried a third time.  AFAIK the only difference was the host for the
cvs repository, same notes, same machine, etc.
No errors compiling this time.

/Lars


Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Ingo Schwarze :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Lars,

Lars Nooden wrote on Mon, Nov 09, 2009 at 02:50:47PM +0200:

> I'm under the belief that I have a fresh GENERIC installation of 4.6
> for i386.  I unpacked src.tar.gz and sys.tar.gz and then updated
> using anoncvs.  However, when trying to make 'depend',

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

> I get the following error:
>
>   make:  don't know how to make vers.o.
> Stop in /usr/src/sys/arch/i386/compile/GENERIC
>
> That's even after a fresh re-install.  What did I miss?

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/conf/Makefile.i386#rev1.54

When not only tracking -current, but even building the system from source,
consider following source-changes@, or you will from time to time miss
minor flag days.

Yours,
  Ingo


Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Lars Nooden-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ingo Schwarze wrote:

> When not only tracking -current, but even building the system from source,
> consider following source-changes@, or you will from time to time miss
> minor flag days.

Ok.  Taken care of.

Is there a message header or string in the body that can be used to sort
-current from -stable ?

/Lars


Re: Compiling 4.6 i386 GENERIC - error - don't know how to make vers.o. Stop in ...

by Maurice Janssen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lars Nooden wrote:

> Ingo Schwarze wrote:
>
>> When not only tracking -current, but even building the system from source,
>> consider following source-changes@, or you will from time to time miss
>> minor flag days.
>
> Ok.  Taken care of.
>
> Is there a message header or string in the body that can be used to sort
> -current from -stable ?

Sure, all commit's to the -stable branch have OPENBSD_4_6 or OPENBSD_4_5


Maurice