[sr-dev] [kamailio] trusty build fail due to kazoo module (#418)

Victor Seva notifications at github.com
Wed Nov 25 13:21:25 CET 2015


```
make[1]: Entering directory `/tmp/buildd/kamailio-4.4.0~dev6+0~20151124215712.399+trusty'
mkdir -p /tmp/buildd/kamailio-4.4.0~dev6+0~20151124215712.399+trusty/debian/kamailio-kazoo-modules/usr/lib/x86_64-linux-gnu/kamailio/modules
CC (gcc) [M kazoo.so]		const.o
CC (gcc) [M kazoo.so]		kazoo.o
CC (gcc) [M kazoo.so]		kz_amqp.o
kz_amqp.c: In function 'kz_amqp_exchange_declare':
kz_amqp.c:57:2: error: incompatible type for argument 7 of 'amqp_exchange_declare'
  return amqp_exchange_declare(state, channel, exchange, type, passive, durable, 0, 0, arguments);
  ^
In file included from /usr/include/amqp.h:720:0,
                 from kz_amqp.c:4:
/usr/include/amqp_framing.h:610:61: note: expected 'amqp_table_t' but argument is of type 'int'
 AMQP_PUBLIC_FUNCTION amqp_exchange_declare_ok_t * AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type, amqp_boolean_t passive, amqp_boolean_t durable, amqp_table_t arguments);
                                                             ^
kz_amqp.c:57:2: error: too many arguments to function 'amqp_exchange_declare'
  return amqp_exchange_declare(state, channel, exchange, type, passive, durable, 0, 0, arguments);
  ^
In file included from /usr/include/amqp.h:720:0,
                 from kz_amqp.c:4:
/usr/include/amqp_framing.h:610:61: note: declared here
 AMQP_PUBLIC_FUNCTION amqp_exchange_declare_ok_t * AMQP_CALL amqp_exchange_declare(amqp_connection_state_t state, amqp_channel_t channel, amqp_bytes_t exchange, amqp_bytes_t type, amqp_boolean_t passive, amqp_boolean_t durable, amqp_table_t arguments);
                                                             ^
make[2]: *** [kz_amqp.o] Error 1
make[1]: *** [install-modules] Error 1
make[1]: Leaving directory `/tmp/buildd/kamailio-4.4.0~dev6+0~20151124215712.399+trusty'
```

git version 81be39ba472bb3c1a8569c7158c6415aac512be7

Full build log https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=trusty,label=slave/397/consoleText

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151125/82a9eb6e/attachment-0001.html>


More information about the sr-dev mailing list