undefined erlang snot?

Bjorn Gustavsson bjorn@REDACTED
Fri Dec 13 09:59:58 CET 2002


I think that your code was compiled with OTP R5B, not R7B.

Boolean operators used to be implemented in Erlang in the erlang module
up to and including R5B.

/Bjorn

Ulf Wiger <etxuwig@REDACTED> writes:

> I tried running a program compiled for OTP R7B in OTP R9B,
> and got the following crash:
> 
> ** exited: {undef,[{erlang,snot,[true]},
>                    {sysFs,find,3},
>                    {recomp,process_app_dir,2},
>                    {recomp,process_apps,2},
>                    {recomp,build,3},
>                    {erl_eval,expr,3},
>                    {erl_eval,exprs,4},
>                    {shell,eval_loop,2}]} **
> ** Terminating erlang (nonode@REDACTED) **
> 
> The line of code causing this must be:
> 
>   Thorough = not(lists:member(lazy, Opts)),
> 
> 
> I don't quite recall if running OTP R7B applications in OTP
> R9B is _guaranteed_ to work, but it does seem to work most
> of the time. Is the above problem an OTP bug then?
> 
> /Uffe
> -- 

-- 
Björn Gustavsson            Ericsson Utvecklings AB
bjorn@REDACTED      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö



More information about the erlang-questions mailing list