creating a target system

hasse <>
Thu Mar 3 15:28:08 CET 2005


[Dietmar Schaefer:]
> I am trying to build a target system.
> 
> Here is my cmmc.rel file
> 
> {release,
>   {"4dp-cmmc", "1.0"},
>   { erts,
>     [kernel,
>      stdlib,
>      sasl,
>      mnesia,
>      snmp,
>      cmmc-foc]}.
> 
> calling target_system:create("cmmc").
> 
> I get:
> 
> ** exited: {undef,[{sys_pre_expand,module,
>                                    [[{function,
>                                          1,
>                                          foo,
>                                          0,
>                                          [{clause,
>                                               1,
>                                               [],
>                                               [],
>                                               [{call,
>                                                    1,
>                                                    {remote,1|...},
>                                                    [{...}]}]}]}],
>                                     []]},
>                    {shell,expand_records,2},
>                    {shell,exprs,6},
>                    {shell,eval_loop,3}]} **

The shell shouldn't try to expand records unless sys_pre_expand 
can be loaded.

This will be fixed in next release of R10B.

Thanks. Best regards,

Hans Bolinder, Erlang/OTP



More information about the erlang-questions mailing list