I'm trying to build nanobsd. I get the error below. Any ideas?
------------------------------------------------------------->>> stage 4.2: building libraries
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/nanobsd.soekris/ MACHINE_ARCH=i386
MACHINE=i386
CPUTYPEGROFF_BIN_PATH=/usr/obj/nanobsd.soekris//usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/nanobsd.soekris//usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/nanobsd.soekris//usr/src/tmp/legacy/usr/share/tmac
_SHLIBDIRPREFIX=/usr/obj/nanobsd.soekris//usr/src/tmp INSTALL="sh
/usr/src/tools/install.sh"
PATH=/usr/obj/nanobsd.soekris//usr/src/tmp/legacy/usr/sbin:/usr/obj/nanobsd.soekris//usr/src/tmp/legacy/usr/bin:/usr/obj/nanobsd.soekris//usr/src/tmp/legacy/usr/games:/usr/obj/nanobsd.soekris//usr/src/tmp/usr/sbin:/usr/obj/nanobsd.soekris//usr/src/tmp/usr/bin:/usr/obj/nanobsd.soekris//usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
make -f Makefile.inc1 DESTDIR=/usr/obj/nanobsd.soekris//usr/src/tmp -DNO_FSCHG
-DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DWITHOUT_NLS
-DWITHOUT_PROFILE libraries
cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f Makefile.inc1
_startup_libs; make -f Makefile.inc1 _prebuild_libs; make -f
Makefile.inc1 _generic_libs;
===> gnu/lib/libgcc (obj,depend,all,install)
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h
TARGET_CPU_DEFAULT="" HEADERS="options.h i386/i386.h i386/unix.h
i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h
i386/freebsd.h defaults.h" DEFINES="" /bin/sh
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" HEADERS="auto-host.h ansidecl.h"
DEFINES="USED_FOR_TARGET" /bin/sh
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h
awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt >
optionlist
echo '#define EXTRA_MODES_FILE "i386/i386-modes.def"' >>
tm.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h
unwind.h
ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h
gthr-default.h
awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk -f
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk < optionlist >
options.h
cc -c -O2 -fno-strict-aliasing -pipe -DIN_GCC -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden
-DHIDE_EXPORTS -fPIC -DL_muldi3 -o _muldi3.o
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
cc -c -O2 -fno-strict-aliasing -pipe -DIN_GCC -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden
-DHIDE_EXPORTS -fPIC -DL_negdi2 -o _negdi2.o
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
cc -c -O2 -fno-strict-aliasing -pipe -DIN_GCC -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -fvisibility=hidden
-DHIDE_EXPORTS -fPIC -DL_lshrdi3 -o _lshrdi3.o
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
In file included from
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c:33:
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error:
stddef.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error:
float.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error:
stdarg.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error:
stdio.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error:
errno.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error:
string.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error:
stdlib.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error:
unistd.h: No such file or directory
In file included from
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c:33:
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error:
stddef.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error:
float.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error:
stdarg.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error:
stdio.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error:
errno.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error:
string.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error:
stdlib.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error:
unistd.h: No such file or directory
In file included from
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c:33:
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error:
stddef.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error:
float.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error:
stdarg.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error:
stdio.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error:
errno.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error:
string.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error:
stdlib.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error:
unistd.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error:
limits.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error:
time.h: No such file or directory
*** Error code 1
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error:
limits.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error:
time.h: No such file or directory
*** Error code 1
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error:
limits.h: No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error:
time.h: No such file or directory
*** Error code 1
3 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error