pchero / asterisk-zmq

zmq/json support asterisk AMI module. (zeromq, 0MQ)
16 stars 7 forks source link

Use regex #9

Open pchero opened 8 years ago

pchero commented 8 years ago

Adapt the regex when parsing the request/response AMI message.

mbmannubisht commented 8 years ago

Hi Sungtae,

Hope you are doing well. facing some error while installing Install zmq-manager on Centos 6.7

Below are the Error reports

src/res_zmq_manager.c: In function 'zmq_cmd_thread': src/res_zmq_manager.c:283: warning: implicit declaration of function 'zmq_msg_recv' src/res_zmq_manager.c:301: warning: passing argument 2 of 'zmq_send' from incompatible pointer type /usr/include/zmq.h:229: note: expected 'struct zmq_msg_t ' but argument is of type 'char ' src/res_zmq_manager.c:301: error: too many arguments to function 'zmq_send' src/res_zmq_manager.c:313: warning: passing argument 2 of 'zmq_send' from incompatible pointer type /usr/include/zmq.h:229: note: expected 'struct zmq_msg_t ' but argument is of type 'char ' src/res_zmq_manager.c:313: error: too many arguments to function 'zmq_send' src/res_zmq_manager.c: In function '_load_module': src/res_zmq_manager.c:449: warning: implicit declaration of function 'zmq_ctx_new' src/res_zmq_manager.c:449: warning: assignment makes pointer from integer without a cast src/res_zmq_manager.c: In function 'load_module': src/res_zmq_manager.c:518: warning: passing argument 2 of 'zmq_send' from incompatible pointer type /usr/include/zmq.h:229: note: expected 'struct zmq_msg_t ' but argument is of type 'char ' src/res_zmq_manager.c:518: error: too many arguments to function 'zmq_send' src/res_zmq_manager.c: In function 'zmq_evt_helper': src/res_zmq_manager.c:707: warning: passing argument 2 of 'zmq_send' from incompatible pointer type /usr/include/zmq.h:229: note: expected 'struct zmq_msg_t ' but argument is of type 'char ' src/res_zmq_manager.c:707: error: too many arguments to function 'zmq_send'

pchero commented 8 years ago

Hi, you just choose the wrong place. :) I'll move it to new category.