Subject: port-hpcmips/23459: termcap.h:67: error: parse error before numeric constant
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 11/16/2003 23:36:25
>Number:         23459
>Category:       port-hpcmips
>Synopsis:       termcap.h:67: error: parse error before numeric constant
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 16 14:37:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6ZE
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD tr1.naobsd.org 1.6ZE NetBSD 1.6ZE (TR1) #0: Sat Nov 8 20:32:31 JST 2003 root@tr1.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/TR1 i386
Architecture: i386
Machine: i386
>Description:
	I did "build.sh release" with today's -current source (1.5ZF).
	I got below error when I built hpcmips target. (i386 was OK)

  :
dependall ===> regress/include/okheaders
#    create  symbolcheck.d
CC=/home/t/hpcmips/bin/mipsel--netbsd-gcc /home/t/hpcmips/bin/nbmkdep -f symbolcheck.d --     -nostdinc -isystem /home/d/hpcmips/usr/include    /usr/src/regress/include/okheaders/symbolcheck.c
#    create  .depend
rm -f .depend
CC=/home/t/hpcmips/bin/mipsel--netbsd-gcc /home/t/hpcmips/bin/nbmkdep -d -f .depend -s .o\ .ln symbolcheck.d
rm -f .gdbinit
echo "set solib-absolute-prefix /home/d/hpcmips" > .gdbinit
#   compile  symbolcheck.o
/home/t/hpcmips/bin/mipsel--netbsd-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow  -Werror    -nostdinc -isystem /home/d/hpcmips/usr/include  -c    /usr/src/regress/include/okheaders/symbolcheck.c
In file included from /home/d/hpcmips/usr/include/curses.h:42,
                 from /usr/src/regress/include/okheaders/symbolcheck.c:223:
/home/d/hpcmips/usr/include/termcap.h:67: error: parse error before numeric constant

*** Failed target:  symbolcheck.o
*** Failed command: /home/t/hpcmips/bin/mipsel--netbsd-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -nostdinc -isystem /home/d/hpcmips/usr/include -c /usr/src/regress/include/okheaders/symbolcheck.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/regress/include/okheaders
  :
>How-To-Repeat:
	# build.sh -m hpcmips release
>Fix:
	I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: