Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
{"init terminating in do_boot",{undef,[{fn,run,[["beam",".","rec.ifn"]]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
{"init terminating in do_boot",{undef,[{fn,run,[["beam",".","ast.ifn","dct.ifn","fio.ifn","lst.ifn","mod.ifn","rec.ifn","rest.ifn","schema.ifn","spec.ifn","struct.ifn","type.ifn"]]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
the bellow build error occured if the FNPATH was already declared.
so I think it needs to set FNPATH variable explicitly or unset it.
...
gcc -Wall -c -o fnc.o fnc.c gcc fnc.o -o fnc mv fnc ../bin/fnc {"init terminating in do_boot",{undef,[{fn,run,[["beam",".","spec.ifn","type.ifn"]]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump init terminating in do_boot () {"init terminating in do_boot",{undef,[{fn,run,[["beam",".","rec.ifn"]]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump init terminating in do_boot () {"init terminating in do_boot",{undef,[{fn,run,[["beam",".","ast.ifn","dct.ifn","fio.ifn","lst.ifn","mod.ifn","rec.ifn","rest.ifn","schema.ifn","spec.ifn","struct.ifn","type.ifn"]]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump init terminating in do_boot ()
...