Subject: Re: compilation of cdboot?
To: James Hartley <jjhartley@gmail.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: port-i386
Date: 09/14/2007 03:40:56
--Kc9HNjpzOXVc7FFU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 13, 2007 at 02:15:33PM -0700, James Hartley wrote:
> I got the following error when attempting to compile cdboot in
> /usr/src/sys/arch/i386/stand/cdboot:
>=20
> $ cd /usr/src/sys/arch/i386/stand/cdboot
> $ sudo make
> rm -f machine
> ln -s /usr/src/sys/arch/i386/stand/cdboot/../../../../arch/i386/include m=
achine
> rm -f x86
> ln -s /usr/src/sys/arch/i386/stand/cdboot/../../../../arch/x86/include x86
> #   compile  cdboot/cdboot.o
> /usr/src/tooldir.NetBSD-4.0_RC1-i386/bin/i386--netbsdelf-gcc    -I.
> -I/usr/src/sys/arch/i386/stand/cdboot/../lib
> -I/usr/src/sys/arch/i386/stand/cdboot/../../../..
> -DPRIMARY_LOAD_ADDRESS=3D0x600 -DSECONDARY_LOAD_ADDRESS=3D0x10000
> -nostdinc -isystem /usr/include  -c -traditional-cpp    cdboot.S
> sh: /usr/src/tooldir.NetBSD-4.0_RC1-i386/bin/i386--netbsdelf-gcc: not fou=
nd
> *** Error code 127
>=20
> Stop.
> make: stopped in /usr/src/sys/arch/i386/stand/cdboot
> $
>=20
> Having already built the toolchain somewhere else, I could get around
> the error above by symlinking the appropriate directory in /usr/src,
> but is this an indication of a deeper configuration problem on my
> part?

you need to either invoke the make located in your TOOLDIR or set
USETOOLS=3Dno

regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--Kc9HNjpzOXVc7FFU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFG6eaoiwjDDlS8cmMRAhT0AKCOG5oCZFg4t2VqaTZjN87jpWALHwCdFTF/
sIvmNGHVkleHiQcEIrqaTjU=
=6U8O
-----END PGP SIGNATURE-----

--Kc9HNjpzOXVc7FFU--