Syslog-ng compilation on AIX

355 views Asked by At

I am trying to compile syslog-ng 3.6.1. on the following system configurations. ./configure goes fine. but make gives me below errors, please help!

oslevel -s 7100-02-03-1334

aclocal --version aclocal (GNU automake) 1.14.1

bison --version bison (GNU Bison) 3.0

gcc --version gcc (GCC) 4.8.3

m4 --version m4 (GNU M4) 1.4.17

CC librabbitmq/librabbitmq_librabbitmq_la-amqp_api.lo

In file included from ./librabbitmq/unix/socket.h:38:0, from librabbitmq/amqp_private.h:84, from librabbitmq/amqp_api.c:37:

librabbitmq/amqp_private.h:229:42: error: expected ')' before 'val' static inline uint64_t func##ll(uint64_t val) \ ^

librabbitmq/amqp_private.h:244:1: note: in expansion of macro 'DECLARE_XTOXLL' DECLARE_XTOXLL(hton) ^

librabbitmq/amqp_private.h:229:42: error: expected ')' before 'val' static inline uint64_t func##ll(uint64_t val) \ ^

librabbitmq/amqp_private.h:245:1: note: in expansion of macro 'DECLARE_XTOXLL' DECLARE_XTOXLL(ntoh) ^ Makefile:1441: recipe for target 'librabbitmq/librabbitmq_librabbitmq_la-amqp_api.lo' failed

make[2]: *** [librabbitmq/librabbitmq_librabbitmq_la-amqp_api.lo] Error 1

make[2]: Leaving directory '/home/tufail/workspace/syslog/syslog-ng-3.6.1/modules/afamqp/rabbitmq-c'

Makefile:959: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/tufail/workspace/syslog/syslog-ng-3.6.1/modules/afamqp/rabbitmq-c'

Makefile:11222: recipe for target 'modules/afamqp/rabbitmq-c/librabbitmq/librabbitmq.la' failed

make: *** [modules/afamqp/rabbitmq-c/librabbitmq/librabbitmq.la] Error 2

1

There are 1 answers

0
Robert Fekete On

it seems that it cannot compile the rabbitmq library (used by the AMQP destination). If you do not use AMQP, you can disable it with the --disable-amqp compile option. If it doesn't help, I'd recommend posting the problem to the developers at the syslog-ng mailing list

Regards,

Robert Fekete