processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.07k stars 1.51k forks source link

Compile error on ejabberd 23.10 with src/mod_muc_room.erl #4116

Closed itzzengay closed 10 months ago

itzzengay commented 10 months ago

Before creating a ticket, please consider if this should fit the discussion forum better.

Environment

Errors from error.log/crash.log

No errors

Bug description

When attempting to compile the latest version of ejabberd, this error appears:

src/mod_muc_room.erl:4418:8: undefined macro 'NS_OCCUPANT_ID'
src/mod_muc_room.erl:2581:17: function make_disco_info/2 undefined
src/mod_muc_room.erl:4389:2: spec for undefined function make_disco_info/2
src/mod_muc_room.erl:4442:17: function make_disco_info/2 undefined
src/mod_muc_room.erl:4521:14: function make_disco_info/2 undefined
Compiling src/mod_muc_room.erl failed:
ERROR: compile failed while processing /opt/ejabberd: rebar_abort
make: *** [Makefile:170: deps/.built] Error 1
licaon-kter commented 10 months ago

Was this a first compile or an update and compile? If an update did you run make update too before make?

itzzengay commented 10 months ago

Running make update seemed to have fixed the issue, thank you!