Subject: Re: cross-compile build.sh fails in tools/pax
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: current-users
Date: 01/25/2002 23:21:16
It's been fixed, update bin/pax/Makefile

Manuel Bouyer wrote:

> Hi,
> a:
> ./build.sh -u -d -m sparc -D/usr/src/destdir
> on i386 fails in tools/sparc. It seem that there are multiple inclusions:
> obj ===> tools/pax
> nbmake: "/usr/src/1.5ZA/src/share/mk/bsd.hostprog.mk" line 78: warning: duplicat
> e script for target "pax" ignored
> nbmake: "/usr/src/1.5ZA/src/share/mk/bsd.prog.mk" line 147: warning: using previ
> ous script for "pax" defined here
> nbmake: "/usr/src/1.5ZA/src/share/mk/bsd.hostprog.mk" line 91: warning: duplicat
> e script for target "cleanprog" ignored
> nbmake: "/usr/src/1.5ZA/src/share/mk/bsd.prog.mk" line 168: warning: using previ
> ous script for "cleanprog" defined here
> [etc - about 30 lines like this]
>
> and then compilation fails because the host mkdep is passed -nostdinc which
> it doesn't understand. Anyway it looks wrong to pass -nostdinc when compiling
> a host tool. I suspect it's because bsd.prog.mk is inclued first.
>
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
> --