Subject: Re: Crunch, chomp chomp
To: Leo Bicknell <bicknell@pmax.ufp.org>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 08/18/1997 09:33:05
On Sun, 17 Aug 1997 16:44:47 -0400 (EDT) Leo Bicknell wrote:
> From a Sunday, 8-17 sup. Is this a pmax a.out
> problem, or a crunch author problem?
>
> ===> usr.bin/crunch/crunchide
> cc -O -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -c
> exec_aout.c
> exec_aout.c: In function `check_reloc':
> exec_aout.c:195: structure has no member named `r_baserel'
> exec_aout.c:195: structure has no member named `r_jmptable'
> exec_aout.c:195: structure has no member named `r_symbolnum'
> exec_aout.c:198: structure has no member named `r_symbolnum'
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
>
> --Leo "looking for someone to blame" Bicknell
Look at my PR "bin/3989 crunchide fails to build on pmax". A fix
is cut'n'pasted below (so TABs might be knackered).
Simon.
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/crunch/crunchide/extern.h Wed Aug 6 13:23:00 1997
--- extern.h Fri Aug 15 12:41:13 1997
***************
*** 33,38 ****
--- 33,40 ----
#ifdef __alpha__
#define NLIST_ECOFF
#define NLIST_ELF64
+ #elif defined __mips__
+ #define NLIST_ELF32
#else
#define NLIST_AOUT
/* #define NLIST_ECOFF */