Subject: Re: Redhat 9.0 cross compiling
To: Giles Lean <giles@nemeton.com.au>
From: Jason Hecker <jhecker@wireless.org.au>
List: netbsd-help
Date: 07/26/2003 13:13:58
On Friday 25 July 2003 12:27, Giles Lean wrote:
> > Having just entered the world of NetBSD and cross-compiling, I am
> > wondering if anyone out there has had any luck using Redhat 9.0 as a =
host
> > system for doing complete builds.  I am trying to get v1.6.1 and curr=
ent
> > to build happily but both bomb out with errors in various build stage=
s.
>
> It should work.  What are the errors you see?
> Giles

Current fails, but that's expected.  With my attention turned to v1.6.1,=20
building with "./build.sh -O /home/blah/netbsd/161/obj -m evbsh3 -D=20
/home/blah/netbsd/161/dest -T /home/blah/netbsd/161/tools -t" gives the=20
following error:

cc -O -I/home/blah/netbsd/161/obj/tools/compat=20
-I/home/blah/netbsd/161/obj/tools/compat/include =20
-I/home/blah/netbsd/161/usr/src/tools/cat/../compat -DHAVE_CONFIG_H =20
-D_FILE_OFFSET_BITS=3D64  -c -o cat.lo.o=20
/home/blah/netbsd/161/usr/src/bin/cat/cat.c
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:42: parse error before string=
=20
constant
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:42: warning: data definition =
has=20
no type or storage class
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:50: parse error before string=
=20
constant
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:50: warning: data definition =
has=20
no type or storage class
/home/blah/netbsd/161/usr/src/bin/cat/cat.c: In function `raw_args':
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:263: `EFTYPE' undeclared (fir=
st=20
use in this function)
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:263: (Each undeclared identif=
ier=20
is reported only once
/home/blah/netbsd/161/usr/src/bin/cat/cat.c:263: for each function it app=
ears=20
in.)
*** Error code 1