> ../../../../arch/amiga/amiga/machdep.c:237: error: 'Elf32_Ehdr'
> undeclared
> (first use in this function)
> ../../../../arch/amiga/amiga/machdep.c:237: error: (Each undeclared
> identifier is reported only once
> ../../../../arch/amiga/amiga/machdep.c:237: error: for each function
> it
> appears in.)
> *** Error code 1
Maybe you do have options LKM specified in your config file, but don't
have DDB? Looking at machdep.c 1.209.6.2 I suspect that could be
problematic
Try adding "options DDB" to you config, compile again and report back.
Also, if possible upgrade to NetBSD 6.