[erlang-questions] disable the runtime warnings

Lev Walkin <>
Tue Nov 27 05:55:37 CET 2007


shehan wrote:
> 
> 
> Hi all,
> 
> I compile erlang code with following options.
> 
> ERLCFLAGS =  +native –smp
> 
> Ex: /usr/local/lib/erlang/bin/erlc +native -smp -I ../include -I ../src 
> ../src/test.erl
> 
>  
> 
>  
> 
> Code was compiled, but when running following warning is display in ERL 
> shell.
> 
>  
> 
> <HiPE (v 3.6.3)> Warning: not loading native code for module test: it 
> was compiled for an incompatible runtime system; please regenerate 
> native code for this runtime system
> 
>  
> 
> Can somebody say how to eliminate this??


Use -smp enable flag to erl when running the beam.



More information about the erlang-questions mailing list