Skip to content

escript: exception error: undefined function erl_eval:expr/3 #14

@johnzeng

Description

@johnzeng

I get this exception on my mac when I tried to find external functions of jiffy.

OSX 10.11.6, and erlang version is 19.

I also tested on ubuntu12.04, which is running R16B02 on it, it returns fine but with another error msg:

/mnt/hgfs/working/xxx/deps/jiffy/src/jiffy.erl: at line 32: syntax error before: '{'

This error is caused by mapping syntex, which is not supported in R16, and jiffy has a define for it, but it seems that the edoc api doesn't read the jiffy's config:

{erl_opts, [
    {platform_define, "R1(1|2|3|4|5|6)", 'JIFFY_NO_MAPS'}
]}.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions