-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make error: cannot convert ‘amqp_table_t’ to ‘amqp_boolean_t’ running on Centos #38
Comments
It seems that the most recent changes in the librabbitmq-c code have caused the issue |
I have found the cause of the issue, details can be found here http://stackoverflow.com/questions/26703443/unable-to-compile-amqpcpp-make-error |
Sorry, Didn't mean to close this. The code needs updating to ensure compatibility with the latest changes in the librabbitmq codebase. |
@martinjkelly: bumped with the same issue. Newer versions of rabbitmq-c now breaks amqpcpp BUT I wouldn't consider a modification YET because amqpcpp is still compatible with the latest stable release of rabbitmq-c (0.5.2). The instructions of how to use amqpcpp by cloning rabbitmq-c repository directly is the faulty question here (at the time I'm writing). When 0.6 becomes stable, then amqpcpp would require code updates. |
@martinjkelly: nevermind. The readme in rabbitmq-c is also wrong, saying the latest stable is indeed v0.6.0 but the link right bellow is to version 0.5.2. What a MESS ... |
see this SO post on how I worked around it at the time, I haven't looked at it since... http://stackoverflow.com/questions/26703443/unable-to-compile-amqpcpp-make-error. I've since changed to posting data directly over a socket to my application and bypassing rabbitmq |
Yup! I made the same change some hours ago to make it work with 0.6.x :) I On Wed, Feb 25, 2015 at 12:26 PM, Martin Kelly notifications@github.com
|
Hi,
I'm getting this error when trying to make amqpcpp on a 64 bit centos virtual machine.
make
g++ -Wall -I/usr/local/include -L/usr/local/lib -Iinclude/ -c -o src/AMQPExchange.o src/AMQPExchange.cpp
src/AMQPExchange.cpp: In member function ‘void AMQPExchange::sendDeclareCommand()’:
src/AMQPExchange.cpp:73: error: cannot convert ‘amqp_table_t’ to ‘amqp_boolean_t’ for argument ‘7’ to ‘amqp_exchange_declare_ok_t* amqp_exchange_declare(amqp_connection_state_t__, amqp_channel_t, amqp_bytes_t, amqp_bytes_t, amqp_boolean_t, amqp_boolean_t, amqp_boolean_t, amqp_boolean_t, amqp_table_t)’
make: *_* [src/AMQPExchange.o] Error 1
It works perfectly fine on my iMac.
I cannot seem to find the cause of the issue. any ideas?
The text was updated successfully, but these errors were encountered: