Subject: Re: fortune makefiles incorrect ?
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 09/05/1999 16:24:28
Darren Reed wrote:

> 
> Building a -current fortune, it fails as follws:
> 
> all ===> games/fortune
> all ===> games/fortune/fortune
> cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror 
>  -I/current/usr/src/games/fortune/fortune/../strfile -DHAVE_REGCOMP -nostdinc -i
> dirafter /current/usr/include -c /current/usr/src/games/fortune/fortune/fortune.
> c
> cc   -o fortune -nostdlib -L/current/usr/lib /current/usr/lib/crt0.o /current/us
> r/lib/crtbegin.o fortune.o  -lgcc -lc -lgcc /current/usr/lib/crtend.o
> nroff -Tascii -mandoc /current/usr/src/games/fortune/fortune/fortune.6 > fortune
> .cat6
> all ===> games/fortune/strfile
> cc -O  -c /current/usr/src/games/fortune/strfile/strfile.c
> In file included from /current/usr/src/games/fortune/strfile/strfile.c:61:
> /current/usr/src/games/fortune/strfile/strfile.h:42: sys/endian.h: No such file
> or directory
> *** Error code 1

"make includes" first.  sys/endian.h is a relatively new file...

Simon.