[erlang-questions] Erlang/OTP R13A has been released

Bjorn Gustavsson bgustavsson@REDACTED
Wed Mar 18 09:30:58 CET 2009


On Wed, Mar 18, 2009 at 8:59 AM, zambal <zambal@REDACTED> wrote:
> Hi,
>
> I have a major issue with the Windows binary distribution of 13A,
> because I can't compile anything.
>
> For example, when trying to compile the following module:
>
> -module(test).
> -compile(export_all).
>
>
> hallo(X) ->
>    "Hallo " ++ X ++ "!".
>
> The following error occured:
>
> ./test.erl:none: internal error in core_module;
> crash reason: {undef,[{cerl,c_tuple,
>                            [[{c_literal,[{name,{hallo,
> 1}}],function_clause},
>                              {c_var,[],cor2}]]},
>                      {v3_core,function_clause,2},
>                      {v3_core,body,4},
>                      {v3_core,function,5},
>                      {v3_core,form,3},
>                      {lists,foldl,3},
>                      {v3_core,module,2},
>                      {compile,core_module,1}]}
> error
>

Works fine for me.

Do you happen to have an Erlang module named 'cerl' in your current
working directory?
(The compiler in R13A always uses a module called 'cerl', while in
previous releases the
'cerl' module was only used if you turned on inlining.)

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list