Subject: build failure in usr.bin/elf2aout for pmax port
To: None <>
From: NetBSD Mailing list <>
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: 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
*** 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)

This can't be good, can it? ;)  Can someone please advise?

Scott G. Akmentins-Taylor     InterNet:
MRY Systems	
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
		----- Labak miris neka sarkans -----