creating a target system
Peter H|gfeldt
peter@REDACTED
Thu Mar 3 19:06:07 CET 2005
Hi,
as Hasse pointed out the problem has to do with the shell, which uses the
sys_pre_expand module in the compiler application regardless of that
modules availability (a bug).
If you add `compiler' to your .rel file and start all over again, I am
pretty sure it will work.
/Peter
On Thu, 3 Mar 2005, Dietmar Schaefer wrote:
> Hi !
>
>
> 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}]} **
>
>
> Using the mysystem.rel file from "System Principles" I get the same !
>
>
> BTW: I am using R10B2 on FC2
>
>
>
> Regards
>
>
> Dietmar
>
More information about the erlang-questions
mailing list