Subject: Re: can't build current - gcc fails
To: Dick Davies <rasputnik@hellooperator.net>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 04/29/2004 12:58:40
On Thu, Apr 29, 2004 at 12:26:56PM +0100, Dick Davies wrote:
> * Patrick Welche <prlw1@newn.cam.ac.uk> [0423 12:23]:
> > On Thu, Apr 29, 2004 at 11:38:29AM +0100, Dick Davies wrote:
> > > 
> > > I'm about to try bumping a 1.6 box to current. I'ts the first
> > > build I've applied to it since September, so I thought I'd try 
> > > a test build from the same sources on my laptop first.
> > > 
> > > The kernel built fine - there are some sysctl errors during
> > > boot, but I expected those and there's nothing too terminal - 

Maybe it is (!) uname uses sysctl, and is missing the machine type.
It should contain info from:

sysctl kern.ostype
sysctl kern.hostname
sysctl kern.osrelease
sysctl kern.version
sysctl hw.machine

So, it seems "sysctl hw.machine" isn't working.. (and it's handy for
gcc to know what machine it's trying to make executables for ;) )


> root@dozer:src$ uname -a
> NetBSD dozer 2.0E NetBSD 2.0E (DOZER) #1: Thu Apr 29 09:47:25 BST 2004  \
> rasputin@dozer:/usr/obj/sys/arch/i386/compile/DOZER

Cheers,

Patrick