Subject: Re: make build fails in usr.bin/file
To: Kazushi Marukawa <>
From: Antti Kantee <>
List: current-users
Date: 03/27/2001 15:56:00
On Tue Mar 27 2001 at 05:57:28 -0600, Kazushi Marukawa wrote:
> "Make build" fails with following error message while
> compiling under usr.bin/file.
>   .....
>   bin/file/magdir/zyxel > magic
>   /usr/src/usr.bin/file/file -C -m magic
>   /usr/src/usr.bin/file/file: not found
>   *** Error code 1
> I'm using obj directories, so generated file command places
> at /usr/src/usr.bin/file/obj/file instead.  I think I need
> to change
>         $(.CURDIR)/$(PROG) -C -m $(.TARGET)
> line in Makefile, but I'm not sure what I should say to
> support people using obj and not using obj.  Please fix
> this.  Thanks.
> P.S.  I updated shares/mk and make.  So, I thought this is a
> bug in Makefile, but I may be wrong.

This has been fixed already, sorry about that.

However, a problem remains when doing crosscompiles. I am unsure how to
best handle that.

Antti Kantee <>          v          Of course he runs NetBSD             i