Subject: Re: build failure in usr.bin/elf2aout for pmax port
To: NetBSD Mailing list <netbsd@mrynet.com>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: current-users
Date: 01/11/2000 18:41:29
On Tue, Jan 11, 2000 at 12:27:40AM +0000, NetBSD Mailing list wrote:
> The following failure occurs when building on the pmax port with
> 1.4P sources SUP'd today:
>
> dependall ===> usr.bin/elf2aout
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -c
> /abyss/ftp/pub/operatingsystems/NetBSD/newsrc/src/usr.bin/elf2aout/elf2aout.c
> /abyss/ftp/pub/operatingsystems/NetBSD/newsrc/src/usr.bin/elf2aout/elf2aout.c: In function `main':
> /abyss/ftp/pub/operatingsystems/NetBSD/newsrc/src/usr.bin/elf2aout/elf2aout.c:213: `Elf_em_ppc' undeclared (first
> use in this function)
> /abyss/ftp/pub/operatingsystems/NetBSD/newsrc/src/usr.bin/elf2aout/elf2aout.c:213: (Each undeclared identifier is
> reported only once
> /abyss/ftp/pub/operatingsystems/NetBSD/newsrc/src/usr.bin/elf2aout/elf2aout.c:213: for each function it appears
> in.)
> *** Error code 1
>
> Further investigation indicates that Elf_em_ppc is nowhere defined:
>
> mrynet# find . -type f -exec grep Elf_em_ppc \{\} \; -print
> if (ex.e_machine == Elf_em_ppc)
> ./usr.bin/elf2aout/elf2aout.c
>
> This can't be good, can it? ;) Can someone please advise?
my fault... I'll investigate and fix later tonight.
-is