Hi folks,<br><br>I get the error below after compiling a simple Erlang program on Mac OS. I didn't see anything in the archive -- any idea what's wrong? Thanks.<br><br>Dave<br><br>===<br><br>dbtucker@dbtucker-macbookpro:~/Desktop/newerl$ l<br>
total 8<br>-rwxr-xr-x 1 dbtucker 5000 56 Nov 20 22:10 c.erl*<br>dbtucker@dbtucker-macbookpro:~/Desktop/newerl$ erl<br>Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [kernel-poll:false]<br><br>Eshell V5.6.5 (abort with ^G)<br>
1> q().<br>ok<br>2> dbtucker@dbtucker-macbookpro:~/Desktop/newerl$ cat c.erl <br>-module(c).<br>-compile(export_all).<br><br>foo(X) -> X * X.<br>dbtucker@dbtucker-macbookpro:~/Desktop/newerl$ erlc c.erl <br>dbtucker@dbtucker-macbookpro:~/Desktop/newerl$ erl<br>
Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0] [kernel-poll:false]<br><br>{"init terminating in do_boot",{undef,[{c,erlangrc,[]},{init,eval_script,8},{init,do_boot,3}]}}<br><br>Crash dump was written to: erl_crash.dump<br>
init terminating in do_boot ()<br><br>