processone / ejabberd-contrib

Growing and curated ejabberd contributions repository - PR or ask to join !
http://ejabberd.im
248 stars 137 forks source link

mod_log_chat error in ejabberd 18.04 when make #248

Closed achihanlin closed 5 years ago

achihanlin commented 6 years ago
sanchong7:/sources/ejabberd-contrib-master/mod_log_chat# erl -pa ../ejabberd-dev/ebin -make
Recompile: src/mod_log_chat
src/mod_log_chat.erl:26: can't find include file "xmpp.hrl"
src/mod_log_chat.erl:89: record jid undefined
src/mod_log_chat.erl:96: record jid undefined
src/mod_log_chat.erl:96: record jid undefined
src/mod_log_chat.erl:100: record jid undefined
src/mod_log_chat.erl:104: record message undefined
src/mod_log_chat.erl:105: variable 'Type' is unbound
src/mod_log_chat.erl:125: record message undefined
src/mod_log_chat.erl:131: record message undefined
src/mod_log_chat.erl:138: record jid undefined
src/mod_log_chat.erl:138: record jid undefined
src/mod_log_chat.erl:139: record jid undefined
src/mod_log_chat.erl:139: record jid undefined
src/mod_log_chat.erl:180: record jid undefined
src/mod_log_chat.erl:180: record jid undefined
src/mod_log_chat.erl:181: record jid undefined
src/mod_log_chat.erl:182: record jid undefined
badlop commented 6 years ago

Compile it as specified in ejabberd-contrib/README.md Other possitiblity, if you have ejabberd source code, you can also copy that file to ejabberd/src/, then recompile.