Subject: Re: make build fails on Alpha
To: Christian Groessler <cpg@aladdin.de>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 10/18/2000 11:32:24
"Christian Groessler" wrote:

> it aborts in usr.bin/ssh/libssh with the following error:
> 
> alpha:/usr/src/usr.bin/ssh/libssh# make dependall
> make: don't know how to make /usr/include/machine/byte_swap.h. Stop
> *** Error code 2
> 
> Stop.
> alpha:/usr/src/usr.bin/ssh/libssh#
> 
> 
> I have MKKERBEROS=no in mk.conf, if that matters.
> Latest -current from 2 or 3 days ago.

This sounds like you are using the same source tree for both alpha
and either i386, pc532 or vax, and aren't using obj dirs.  You've
probably got a .depend file in the usr.bin/ssh/libssh directory.  If
you are using the same source tree for multiple arches, you might want
to put OBJMACHINE= in your mk.conf and use "make obj" to make the obj
directories.  Either that or use "make cleandir" whenever you switch
from one architecture to another.

There's more info in http://www.netbsd.org/Documentation/current/ on
using obj dirs.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Sales, Support and Service:  http://www.wasabisystems.com/