[erlang-questions] beam_load.c error message

Bjorn Gustavsson <>
Mon Nov 24 17:19:19 CET 2008


2008/11/24 philippe vanderstraeten <>:
> [ scenarios]$ tsung -f test.xml start
> Starting Tsung
>
> =ERROR REPORT==== 24-Nov-2008::15:54:09 ===
> Loading of
> /usr/local/lib/erlang/lib/tsung_controller-1.3.0/ebin/tsung_controller.beam
> failed: badfile
>
> =ERROR REPORT==== 24-Nov-2008::15:54:09 ===
> beam/beam_load.c(1730): Error loading function tsung_controller:status/1: op
> int_div p x x r:
> please re-compile this module with an R12B compiler
>
> This error message told me to recompile Tsung with the R12B compiler. But it
> has been compiled with this compiler, since the only one compiler installed
> is R12B.

Please double-check that. Are you sure that all files were compiled
with the R12B compiler?

The int_div instruction can only be generated by the compiler in R10B
or earlier.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list