【发布时间】:2016-05-29 09:23:30
【问题描述】:
我是 ejabberd 的新手,正在尝试在 Windows 服务器上为 offline_message_posturl 添加新模块。除了以下内容,我找不到任何专门针对 Windows 的博客文章。我正在使用 ejabberd 15.07 版。
我一直在关注这篇博文: http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/
现在我无法从模块文件创建.beam 文件。我收到此错误:
> c(mod_http_offline).
mod_http_offline.erl:21: undefined macro 'INFO_MSG/2'
mod_http_offline.erl:27: undefined macro 'INFO_MSG/2'
mod_http_offline.erl:44: undefined macro 'INFO_MSG/2'
mod_http_offline.erl:11: function start/2 undefined
mod_http_offline.erl:11: function stop/1 undefined
mod_http_offline.erl:38: function post_offline_message/3 undefined
error
我该如何解决这个错误?
【问题讨论】:
标签: windows server erlang ejabberd erlang-shell