ovis-hpc / ldms

OVIS/LDMS High Performance Computing monitoring, analysis, and visualization project.
https://github.com/ovis-hpc/ovis-wiki/wiki
Other
97 stars 50 forks source link

OVIS 3.4.8 compilation fails when using --with-aqmp #11

Closed neilmunday closed 6 years ago

neilmunday commented 6 years ago

OS: CentOS 7.5 (x86_64)

OVIS: 3.4.8

Configure options:

./configure --prefix=/opt/ovis/3.4.8 --enable-swig --enable-rabbitkw --enable-rabbitv3 --enable-amqp

Make result:

  CC       libstore_function_csv_la-store_function_csv.lo
store_amqp.c: In function 'open_store':
store_amqp.c:446:10: error: incompatible type for argument 7 of 'amqp_exchange_declare'
          0, 0, amqp_empty_table);
          ^
In file included from /usr/include/amqp.h:765:0,
                 from /usr/include/amqp_tcp_socket.h:36,
                 from store_amqp.c:59:
/usr/include/amqp_framing.h:798:11: note: expected 'amqp_boolean_t' but argument is of type 'amqp_table_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_boolean_t auto_delete, amqp_boolean_t internal, amqp_table_t arguments);
           ^
store_amqp.c:446:10: error: too few arguments to function 'amqp_exchange_declare'
          0, 0, amqp_empty_table);
          ^
In file included from /usr/include/amqp.h:765:0,
                 from /usr/include/amqp_tcp_socket.h:36,
                 from store_amqp.c:59:
/usr/include/amqp_framing.h:798:11: note: declared here
 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_boolean_t auto_delete, amqp_boolean_t internal, amqp_table_t arguments);
           ^
make[5]: *** [libstore_amqp_la-store_amqp.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/root/ovis-3.4.8/ldms/src/store'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/ovis-3.4.8/ldms/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/ovis-3.4.8/ldms'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ovis-3.4.8/ldms'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ovis-3.4.8'
make: *** [all] Error 2
baallan commented 6 years ago

store_amqp relies on an older librabbitmq/ampq specification. We should get rid of it or bring it up to date and put in the timeout features from store_rabbitkw. @neilmunday is the build attempt curiosity, or did you see something about the output format in store_amqp that you liked?

neilmunday commented 6 years ago

@baallan I have to admit I was experimenting with LDMS and RabbitMQ. Happy for this issue to be closed as the rabbitkw store has proven to work well for my needs.

baallan commented 6 years ago

Transferring issue to ogc redmine and closing.