AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20061103131244.1cf41c47@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	136	BB375AF679D4A34E9CA8DFA650E2B04E0A939C@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 3 Nov 2006 13:12:50 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: build of cross bombing
Message-ID: <20061103131250.52e355eb@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0A939C@onstor-exch02.onstor.net>
References: <20061102182927.756353e3@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0A939C@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.8.20; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

So very strange.  I fixed the Makefile.in in
openbsd/src/gnu/usr.bin/binutils/bfd, and now I get this.  Adding the
link has no effect on it.  Am I just missing a step?  How ironic that
it's on the exact same file.

Cheers,

a


gcc -O2 -c -DDEFAULT_VECTOR=3Dbfd_elf32_littlemips_vec -DSELECT_VECS=3D'&bf=
d_elf32_littlemips_vec,&bfd_elf32_bigmips_vec' -DSELECT_ARCHITECTURES=3D'&b=
fd_mips_arch' -DHAVE_bfd_elf32_littlemips_vec -DHAVE_bfd_elf32_bigmips_vec =
-DNETBSD_CORE   -I. -I. -I./../include  -g ./netbsd-core.c \
        -I../../../../../usr/cross/pmonmips/usr/include -o netbsd-core.o
./netbsd-core.c:31:22: error: sys/core.h: No such file or directory
./netbsd-core.c:39: error: field =E2=80=98core=E2=80=99 has incomplete type
./netbsd-core.c: In function =E2=80=98netbsd_core_core_file_p=E2=80=99:
./netbsd-core.c:61: error: storage size of =E2=80=98core=E2=80=99 isn=E2=80=
=99t known
./netbsd-core.c:62: error: storage size of =E2=80=98coreseg=E2=80=99 isn=E2=
=80=99t known
./netbsd-core.c:71: error: =E2=80=98COREMAGIC=E2=80=99 undeclared (first us=
e in this function)
./netbsd-core.c:71: error: (Each undeclared identifier is reported only once
./netbsd-core.c:71: error: for each function it appears in.)
./netbsd-core.c:97: error: =E2=80=98CORESEGMAGIC=E2=80=99 undeclared (first=
 use in this function)
./netbsd-core.c:119: error: =E2=80=98CORE_CPU=E2=80=99 undeclared (first us=
e in this function)
./netbsd-core.c:143: error: =E2=80=98CORE_DATA=E2=80=99 undeclared (first u=
se in this function)
./netbsd-core.c:147: error: =E2=80=98CORE_STACK=E2=80=99 undeclared (first =
use in this function)gmake[1]: *** [netbsd-core.o] Error 1
gmake[1]: Leaving directory `/home/andy/src/R2_1_X_work/openbsd/src/gnu/usr=
.bin/binutils/bfd'




On Fri, 3 Nov 2006 11:53:32 -0800 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> I didn't get in until late this morning.
>=20
> I don't know if this is necessary but do you have a link /usr/openbsd
> pointing to your openbsd directory also make a link /usr/openbsd.new
> point to the link /usr/openbsd.
>=20
> It may also be a build order problem that crops up every now and then.
>=20
> I have an appointment I need to run to lets talk this afternoon.
>=20
> Larry
>=20
> P.S. the netbsd-core-I looks odd to me I don't recall ever seeing
> that. Should there be a space between core.c and the -I? Or is this a
> trick of the email tool?
>=20
> -----Original Message-----
> From: Andrew Sharp [mailto:andy.sharp@onstor.com]=20
> Sent: Thursday, November 02, 2006 6:29 PM
> To: Larry Scheer
> Subject: build of cross bombing
>=20
> Hi Larry,
>=20
> Well, I've navigated the build past a few gotcha's, and I ended up
> here:
>=20
> gcc -O2 -c -DDEFAULT_VECTOR=3Dbfd_elf32_littlemips_vec
> -DSELECT_VECS=3D'&bfd_elf32_littlemips_vec,&bfd_elf32_bigmips_vec'
> -DSELECT_ARCHITECTURES=3D'&bfd_mips_arch'
> -DHAVE_bfd_elf32_littlemips_vec -DHAVE_bfd_elf32_bigmips_vec
> -DNETBSD_CORE   -I. -I. -I./../include  -g ./netbsd-core.c\
>         -I../../../../../usr/cross/pmonmips/usr/include -o
> netbsd-core.o
> gcc: ./netbsd-core.c-I../../../../../usr/cross/pmonmips/usr/include:
> No such file or directory gcc: no input files
> gmake[1]: *** [netbsd-core.o] Error 1
> gmake[1]: Leaving directory
> `/home/andy/src/R2_1_X_work/openbsd/src/gnu/usr.bin/binutils/bfd'
> gmake: *** [all-bfd] Error 2
> *** Error code 2
>=20
> Stop in /home/andy/src/R2_1_X_work/openbsd/src (line 216 of Makefile).
> make: *** [bsd-cross-binutils] Error 1
>=20
>=20
>=20
> Full build log is attached.  What am I doing wrong?
>=20
> Cheers,
>=20
> a
