Eonblast/Emysql — Issue #18: While Creating .beam files in windows found Error 
Author: bhattnishant
Created: 2012-01-11 07:40:21+00:00
State: open

Hello

In windows ,i create manually .beam files using this command

erlc -I includes/ejabberd/include emysql_conn.erl

Which command i found from http://www.ejabberd.im/ejabberd-modules

All ".beam" files are created successfully except this two files...

emysql_conn.erl
emysql_util.erl

try with this command

erlc -I includes/ejabberd/include emysql_conn.erl
Error:
C:/Program Files/ejabberd-2.1.9/bin/emysql_conn.erl:55: function atom_to_binary/2 undefined
C:/Program Files/ejabberd-2.1.9/bin/emysql_conn.erl:79: function atom_to_binary/2 undefined

erlc -I includes/ejabberd/include emysql_conn.erl
Error:
C:/Program Files/ejabberd-2.1.9/bin/emysql_util.erl:57: function binary_to_atom/2 undefined

Please advice me how to create .beam files for ejabberd in windows system...

Thanks
Nishant Bhatt