Subject: Re: make build fails everytime
To: Todd Vierling <tv@wasabisystems.com>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 02/01/2002 10:10:33
On Fri, 1 Feb 2002, Todd Vierling wrote:

> On Fri, 1 Feb 2002, Frederick Bruckman wrote:
>
> : OK. With Makefile v1.26, it adds -lm to the tool build, but still fails:
> :
> : /t/tools/bin/m68k--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes
>
> Hm.  I don't know why you're getting this in src/tools/lint1; I just noticed
> that it's using the target gcc, not the host gcc.  This is Bad.

I tried "make" in src/tools/lint1. Shouldn't do that?

> Mind dumping your mk.conf, please?

Just this:

BSDSRCDIR=              /s/src-current
BSDOBJDIR=              /t/obj-current
TOOLDIR=                /t/tools
#MKOBJDIRS=             yes
OBJMACHINE=             yes

.ifdef BSD_PKG_MK
[...]
.endif

> Also, you may have something out of date in src/tools.  There were some
> pretty major changes last night; try a full source tree update.

I just did that, but I'll go ahead and clean out all the tools and
objects before trying again.

Frederick