I'm using ejabberd15.03 downloaded from the official websit www.ejabberd.im. It compiles successfully on my system(OS X Yosemite 10.10.4, Erlang OTP version 6.4.1). But on some systems(CentOS release 6.5 (Final), Erlang OTP 6.4.1), the file odbc_queries.erl failed to compile and produced the following error:
==> ejabberd-15.03 (compile)
src/odbc_queries.erl:30: function add_user_scram/6 undefined
src/odbc_queries.erl:30: function get_password_scram/2 undefined
src/odbc_queries.erl:30: function get_privacy_list_data_t/2 undefined
src/odbc_queries.erl:30: function get_private_data/2 undefined
src/odbc_queries.erl:30: function set_password_scram_t/6 undefined
src/odbc_queries.erl:30: function update/5 undefined
src/odbc_queries.erl:30: function update_t/4 undefined
ERROR: compile failed while processing /root/ejabberd-15.03: rebar_abort
make: *** [deps/.built] Error 1
The compilation doesn't fail on all machines, but on most machines that have the same operating system and Erlang plateform.
Anyone shed any light on what the problem might be here?
Why don't you compile
Why don't you compile ejabberd 15.07 ? Do you have the same issue ?
Strangely 15.07 compiled
Strangely 15.07 compiled successfully.