===> Building for bsdinstall-20130905 cc -O2 -march=i586 -Werror -D_PATH_DEVNULL=\"/dev/null\" -DTARGET_STRIP=\"/usr/bin/strip\" -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/sysutils/bsdinstall/work/libnbcompat -c bsdinstall.c cc -O2 -march=i586 -Werror -D_PATH_DEVNULL=\"/dev/null\" -DTARGET_STRIP=\"/usr/bin/strip\" -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/work/sysutils/bsdinstall/work/libnbcompat -c setmode.c cc -L/usr/pkgsrc/work/sysutils/bsdinstall/work/libnbcompat -Wl,-R/usr/pkg/lib -o bsdinstall bsdinstall.o setmode.o -lnbcompat bsdinstall.o: In function `copy': bsdinstall.c:(.text+0x1665): undefined reference to `madvise' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/sysutils/bsdinstall/work/bsdinstall-20130905 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/bsdinstall *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/bsdinstall