Subject: Build and termcap.h problem
To: None <current-users@netbsd.org>
From: Jason Hecker <jhecker@wireless.org.au>
List: current-users
Date: 11/18/2003 13:15:24
I am trying to build My First NetBSD set with a practice run using the 
ebvmips-eb config.  For the last few days now it's choking at the point 
detailed below.  Some problem with termcap.h

I am building on Redhat Fedora Core 1 and below is the build command I 
am using.

./build.sh -m evbmips-eb -T /home/blah/netbsd/tools -R 
/home/blah/netbsd/release -D /home/blah/netbsd/dest  -O 
/home/blah/netbsd/objs -U -u tools distribution


----<SNIP>--------------------------------------------
dependall ===> regress/include/okheaders
#   compile  symbolcheck.o
/home/blah/netbsd/tools/bin/mipseb--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/blah/netbsd/dest/usr/include  -c 
/home/blah/netbsd/src/regress/include/okheaders/symbolcheck.c
In file included from /home/blah/netbsd/dest/usr/include/curses.h:42,
                  from 
/home/blah/netbsd/src/regress/include/okheaders/symbolcheck.c:223:
/home/blah/netbsd/dest/usr/include/termcap.h:67: error: parse error 
before numeric constant

*** Failed target:  symbolcheck.o
*** Failed command: /home/blah/netbsd/tools/bin/mipseb--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/blah/netbsd/dest/usr/include -c 
/home/blah/netbsd/src/regress/include/okheaders/symbolcheck.c
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src/regress/include/okheaders

*** Failed target:  dependall
*** Failed command: cd /home/blah/netbsd/src/regress/include/okheaders; 
/home/blah/netbsd/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src/regress/include/okheaders

*** Failed target:  dependall-okheaders
*** Failed command: targ=dependall;dir=okheaders; case "$dir" in /*) 
echo "$targ ===> $dir"; cd "$dir"; /home/blah/netbsd/tools/bin/nbmake 
"_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> regress/include/$dir"; 
cd "/home/blah/netbsd/src/regress/include/$dir"; 
/home/blah/netbsd/tools/bin/nbmake "_THISDIR_=regress/include/$dir/" 
$targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src/regress/include

*** Failed target:  dependall-include
*** Failed command: targ=dependall;dir=include; case "$dir" in /*) echo 
"$targ ===> $dir"; cd "$dir"; /home/blah/netbsd/tools/bin/nbmake 
"_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> regress/$dir"; cd 
"/home/blah/netbsd/src/regress/$dir"; /home/blah/netbsd/tools/bin/nbmake 
"_THISDIR_=regress/$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src/regress

*** Failed target:  dependall-regress
*** Failed command: targ=dependall;dir=regress; case "$dir" in /*) echo 
"$targ ===> $dir"; cd "$dir"; /home/blah/netbsd/tools/bin/nbmake 
"_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd 
"/home/blah/netbsd/src/$dir"; /home/blah/netbsd/tools/bin/nbmake 
"_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src

*** Failed target:  do-build
*** Failed command: (cd /home/blah/netbsd/src && 
/home/blah/netbsd/tools/bin/nbmake dependall BUILD_tools=no BUILD_lib=no)
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src

*** Failed target:  build
*** Failed command: (cd /home/blah/netbsd/src && 
/home/blah/netbsd/tools/bin/nbmake do-build)
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src

*** Failed target:  distribution
*** Failed command: (cd /home/blah/netbsd/src && 
/home/blah/netbsd/tools/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /home/blah/netbsd/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***