Subject: build failure in usr.bin/elf2aout for pmax port
To: None <port-pmax@netbsd.org>
From: NetBSD Mailing list <netbsd@mrynet.com>
List: current-users
Date: 01/11/2000 00:27:40
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?

Thanks,
-skots
--
Scott G. Akmentins-Taylor     InterNet: staylor@mrynet.com
MRY Systems			        staylor@mrynet.lv
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
		----- Labak miris neka sarkans -----