If to define _STRUCT_TIMESPEC, then compilation is successfully.
% make test
perl t/harness --gc-debug --running-make-test -b t/op/*.t t/pmc/*.t
t/native_pbc/*.t imcc/t/*/*.t t/src/*.t
t/op/00ff-dos...ok
t/op/00ff-unix..ok
t/op/arithmeticsok
t/op/basic..ok
t/op/bitwiseok
t/op/callingok
t/op/comp...ok
t/op/conv...ok
t/op/debuginfo..ok
3/3 skipped: getline/setline changes not finished
t/op/gc.ok
t/op/globalsok
t/op/hacks..ok
2/2 skipped: various reasons
t/op/ifunless...ok
t/op/info...ok
t/op/integerok
t/op/interp.ok
t/op/jitok
t/op/jitn...ok
t/op/lexicals...ok
t/op/macro..ok
1/16 skipped: various reasons
t/op/number.ok
t/op/rx.ok
1/23 skipped: various reasons
t/op/stacks.ok
t/op/string.ok
t/op/time...ok
t/op/trans..ok
t/op/types..ok
t/pmc/array.ok
t/pmc/boolean...ok
t/pmc/coroutine.ok
t/pmc/delegate..ok
t/pmc/dumperok
t/pmc/env...ok
t/pmc/eval..ok
t/pmc/exception.ok
t/pmc/float.ok
t/pmc/freezeok
t/pmc/intlist...ok
t/pmc/iook
1/21 skipped: various reasons
t/pmc/iter..ok
1/9 skipped: various reasons
t/pmc/key...ok
t/pmc/managedstruct.ok
t/pmc/mmd...ok
t/pmc/multiarrayok
t/pmc/nci...i386 JIT CPU
.so SO extension
t/pmc/nci...ok
29/29 skipped: various reasons
t/pmc/object-meths..ok
t/pmc/objects...ok
t/pmc/orderedhash...ok
t/pmc/perlarray.ok
t/pmc/perlhash..ok
t/pmc/perlint...ok
t/pmc/perlnum...ok
t/pmc/perlstringok
t/pmc/pmc...ok
t/pmc/prop..ok
t/pmc/ref...ok
t/pmc/sarrayok
t/pmc/scratchpadok
t/pmc/signalskipped
all skipped: No events yet
t/pmc/sort..ok
t/pmc/sub...ok
t/pmc/threads...skipped
all skipped: No threading yet or test not enabled for 'netbsd'
t/pmc/timer.ok
5/7 skipped: various reasons
t/pmc/tqueueok
t/native_pbc/integerok
t/native_pbc/number.ok
imcc/t/imcpasm/cfg..ok
imcc/t/imcpasm/opt0.ok
imcc/t/imcpasm/opt1.ok
1/49 skipped: various reasons
imcc/t/imcpasm/opt2.ok
5/5 skipped: various reasons
imcc/t/imcpasm/optc.ok
6/6 skipped: various reasons
imcc/t/imcpasm/pcc..ok
10/10 skipped: various reasons
imcc/t/imcpasm/sub..ok
imcc/t/reg/spillok
imcc/t/syn/bsr..ok
imcc/t/syn/clashok
imcc/t/syn/constok
imcc/t/syn/eval.ok
imcc/t/syn/file.ok
1/12 skipped: various reasons
imcc/t/syn/keyedok
imcc/t/syn/labels...ok
imcc/t/syn/macrook
imcc/t/syn/namespaceok
imcc/t/syn/pcc..ok
2/31 skipped: various reasons
imcc/t/syn/pod..ok
imcc/t/syn/scopeok
t/src/basic.ok
t/src/exit..ok
t/src/extendok
t/src/hash..ok
t/src/intlist...ok
t/src/iook
1/20 skipped: various reasons
t/src/list..ok
t/src/manifest..ok
t/src/sprintf...ok
All tests successful, 2 tests and 69 subtests skipped.
Files=95, Tests=1370, 293 wallclock secs (30.29 cusr + 15.31 csys = 45.60
CPU)
% make testexec
echo 'print "Hello World\n"' > hello.pasm
echo 'end' >> hello.pasm
./parrot -o hello.pbc hello.pasm
./parrot -o hello.o hello.pbc
make EXEC=hello exec
/house/kostirya/parrot/src/exec_start.c
cc -o
hello -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib
-L/usr/pkg/lib -g hello.o src/exec_start.o blib/lib/libparrot.a -lm -lcrypt
./hello
Hello World
%