[erlang-questions] init terminating at do_boot ()

David Tucker <>
Fri Nov 21 05:55:35 CET 2008


Yep, that was it.  Thanks.

Dave


On Thu, Nov 20, 2008 at 11:29 PM, John Webb <> wrote:

> Hi Dave
>
> c is the name of the command interface used by the shell (
> http://www.erlang.org/doc/man/c.html )
>
> Try renaming your module (not forgetting to remove c.beam from your local
> directory).
>
> John
>
>
> On Nov 21, 2008, at 12:36 PM, David Tucker wrote:
>
>  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 ()
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081120/6c17629c/attachment.htm>


More information about the erlang-questions mailing list