Subject: Re: make build fails in install ===> host-mkdep
To: Sean J. Schluntz <schluntz@workofstone.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 03/04/2003 20:25:36
On Sun, Mar 02, 2003 at 07:47:57PM -0800, Sean J. Schluntz wrote:
> 
> Greetings, I was able to build the tools off of CVS this morning and 
> from that I was able to build and boot in to the GENERIC kernel.  But
> attempts to "make build" die with the error listed below.
> 
> It's a dual PP20 180 with an Adaptec SCSI card  and 310mb RAM (running
> under a single processor kernel.)  I started with 1.6 and then anoncvs
> the current branch to start.
> 
> Any idea how to get past this?
> 
>   # make build
> 
>   **Lots of rm -f removed here**
> 
>   (cd /usr/src/tools && make dependall)
>   dependall ===> host-mkdep
>   rm -f host-mkdep
>   CC=cc CFLAGS=-O LDFLAGS=  /usr/src/tools/host-mkdep/configure --cache-file=config.cache
>   configure: creating cache config.cache
>   checking for sh... /bin/sh
>   checking for mawk... no
>   checking for gawk... no
>   checking for nawk... no
>   checking for awk... awk
>   checking for gcc... cc
>   checking for C compiler default output... a.out
>   checking whether the C compiler works... yes
>   checking whether we are cross compiling... no
>   checking for executable suffix... 
>   checking for object suffix... o
>   checking whether we are using the GNU C compiler... yes
>   checking whether cc accepts -g... yes
>   checking how to run the C preprocessor... cc -E
>   updating cache config.cache
>   configure: creating ./config.status
>   config.status: creating host-mkdep
>   install ===> host-mkdep
>   make: don't know how to make make:. Stop
>   
>   make: stopped in /usr/src/tools/host-mkdep
>   *** Error code 2
>   
>   Stop.
>   make: stopped in /usr/src/tools
>   *** Error code 1
>   
>   Stop.
>   make: stopped in /usr/src
>   *** Error code 1
> 
>   Stop.
>   make: stopped in /usr/src
>   # 

Looks like you're missing some environnement variables; maybe try to use
build.sh instead.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--