Subject: Re: HELP! hpcarm can't compile
To: None <bjh21@netbsd.org>
From: Thomas Asami <thomas_asami@hotmail.com>
List: port-hpcarm
Date: 06/19/2002 15:02:23
Ben Harris wrote:
>
>On Wed, 19 Jun 2002, Thomas Asami wrote:
>
> > I'm running on -currnet, and using build.sh -m hpcarm, nbconfig and
> > nbmake-hpcarm to build toolchain and compile kernel. While compiling
> > hpcarm code, I got the following message:
>[...]
> >
>/usr/src/sys/arch/hpcarm/compile/IPAQ/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S:52:
> > Error: bad instruction `ret'
> > *** Error code 1
>[...]
> > Would anyone tell me how to solve it? Thanks.
>
>Well, it looks like your compile has MACHINE_ARCH=i386, which is clearly
>wrong. Can you tell us the precise build.sh and nbmake-hpcarm commands
>you used?
I typed ``build.sh -m hpcarm''. After that, I do the following steps:
1. cd /usr/src/sys/arch/hpcarm/conf && nbconfig IPAQ
2. cd ../compile/IPAQ && nbmake-hpcarm
>Also show us what /etc/mk.conf and nbmake-hpcarm contain?
The /etc/mk.conf is:
USETOOLS=yes
USE_NEW_TOOLCHAIN=yes
Thanks,
>--
>Ben Harris
><bjh21@netbsd.org>
>Portmaster, NetBSD/acorn26
><URL:http://www.netbsd.org/Ports/acorn26/>
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com