[erlang-questions] init terminating at do_boot ()

David Tucker <>
Fri Nov 21 04:36:04 CET 2008


Hi folks,

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.

Dave

===

:~/Desktop/newerl$ l
total 8
-rwxr-xr-x  1 dbtucker  5000  56 Nov 20 22:10 c.erl*
:~/Desktop/newerl$ erl
Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0]
[kernel-poll:false]

Eshell V5.6.5  (abort with ^G)
1> q().
ok
2> :~/Desktop/newerl$ cat c.erl
-module(c).
-compile(export_all).

foo(X) -> X * X.
:~/Desktop/newerl$ erlc c.erl
:~/Desktop/newerl$ erl
Erlang (BEAM) emulator version 5.6.5 [source] [smp:2] [async-threads:0]
[kernel-poll:false]

{"init terminating in
do_boot",{undef,[{c,erlangrc,[]},{init,eval_script,8},{init,do_boot,3}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081120/c905c37e/attachment.html>


More information about the erlang-questions mailing list