Subject: Re: Buid error - port-alpha - gawk
To: None <current-users@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: current-users
Date: 08/15/1999 12:34:17
On Sun Aug 15 03:24:57 1999, Paul Goyette wrote:
> 
> Got the following from sources supped today (manually rewrapped)
> 
> cc -O2  -Werror   -DHAVE_CONFIG_H -DDEFPATH=\".:/usr/share/awk\"
>     -I/usr/src/gnu/usr.bin/gawk 
>     -I/usr/src/gnu/usr.bin/gawk/../../dist/gawk
>     -c /usr/src/gnu/usr.bin/gawk/../../dist/gawk/io.c
> In file included from /usr/include/machine/param.h:54,
>                  from /usr/include/sys/param.h:142,
>                  from /usr/src/gnu/usr.bin/gawk/../../dist/gawk/io.c:31:
> /usr/include/machine/cpu.h:134: syntax error before `.'
> *** Error code 1
> 
> Stop.
> 
> I also did a build on my i386 systems, and did not get this error, so
> it is probably port specific.

I fixed it. gawk use an internal symbol 'proc' so it conflicted with
cpu.h. I therefore renamed 'proc' in gawk to 'awkproc'

Wait for the daily supscan and then sup again.

Bernd