Hi, I wanted to try out the mod_erlang_event module. I have Erlang R12B5 compiled and it's in the same location as the Makefile specifies (/usr/ local/lib/erlang/...), but running make in the src/mod/event_handlers/ mod_erlang_event goes wrong:
Compiling handle_msg.c... cc1: warnings being treated as errors handle_msg.c: In function 'handle_msg_sendmsg': handle_msg.c:429: warning: the address of 'uuid' will always evaluate as 'true' handle_msg.c: In function 'handle_msg_handlecall': handle_msg.c:541: warning: the address of 'uuid_str' will always evaluate as 'true' make[1]: *** [handle_msg.o] Error 1 make: *** [all] Error 1 At line 429 in handle_msg.c it says: if (!switch_strlen_zero(uuid) && (session = switch_core_session_locate(uuid))) { (at line 541 is the same problem) Is this a bug ? I tried removing the first part "! switch_strlen_zero(uuid) &&" after which it compiles fine, but since I don't fully understand what's going on, I'm sure this is not the solution.. Also, after this, FS goes haywire after loading the module and spews out these messages continuously: 2009-02-20 14:15:48 [ERR] mod_erlang_event.c:1417 mod_erlang_event_runtime() Failed to start empd manually 2009-02-20 14:15:48 [DEBUG] mod_erlang_event.c:1401 mod_erlang_event_runtime() Socket up listening on 127.0.0.1:8031 2009-02-20 14:15:48 [WARNING] mod_erlang_event.c:1415 mod_erlang_event_runtime() Failed to publish port to empd, trying to start empd manually 2009-02-20 14:15:48 [ERR] mod_erlang_event.c:1417 mod_erlang_event_runtime() Failed to start empd manually 2009-02-20 14:15:48 [DEBUG] mod_erlang_event.c:1401 mod_erlang_event_runtime() Socket up listening on 127.0.0.1:8031 2009-02-20 14:15:48 [WARNING] mod_erlang_event.c:1415 mod_erlang_event_runtime() Failed to publish port to empd, trying to start empd manually etc.. Can someone help me and point out what's wrong ? thanks & kind regards, Leon de Rooij _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org