DPCollins / rabbitcpp

Automatically exported from code.google.com/p/rabbitcpp
0 stars 0 forks source link

Compile Errors on CENTOS 6.4 #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
FULL OUTPUT
$ make all
gcc -c AMQPBase.cpp AMQPException.cpp AMQPMessage.cpp AMQPConnection.cpp 
AMQPExchange.cpp AMQPQueue.cpp
AMQPException.cpp: In constructor 
âAMQPException::AMQPException(amqp_rpc_reply_t*)â:
AMQPException.cpp:25: error: âstruct amqp_rpc_reply_t_â has no member named 
âlibrary_errnoâ
AMQPException.cpp:25: error: âstruct amqp_rpc_reply_t_â has no member named 
âlibrary_errnoâ
AMQPConnection.cpp: In member function âvoid AMQP::sockConnect()â:
AMQPConnection.cpp:204: warning: âvoid 
amqp_set_sockfd(amqp_connection_state_t_*, int)â is deprecated (declared at 
/usr/local/include/amqp.h:1019)
AMQPConnection.cpp:204: warning: âvoid 
amqp_set_sockfd(amqp_connection_state_t_*, int)â is deprecated (declared at 
/usr/local/include/amqp.h:1019)
AMQPExchange.cpp: In member function âvoid 
AMQPExchange::sendDeclareCommand()â:
AMQPExchange.cpp:96: error: conversion from âamqp_boolean_tâ to non-scalar 
type âamqp_table_tâ requested
AMQPQueue.cpp: In member function âvoid AMQPQueue::sendDeclareCommand()â:
AMQPQueue.cpp:108: error: âQUEUEâ was not declared in this scope
AMQPQueue.cpp:108: error: âDECLAREâ was not declared in this scope
AMQPQueue.cpp:108: error: âDECLARE_OKâ was not declared in this scope
AMQPQueue.cpp:109: error: expected primary-expression before â,â token
AMQPQueue.cpp:112: error: âAMQP_SIMPLE_RPCâ was not declared in this scope
AMQPQueue.cpp: In member function âvoid AMQPQueue::sendGetCommand()â:
AMQPQueue.cpp:351: error: âBASICâ was not declared in this scope
AMQPQueue.cpp:351: error: âGETâ was not declared in this scope
AMQPQueue.cpp:353: error: expected primary-expression before â,â token
AMQPQueue.cpp:356: error: âAMQP_MULTIPLE_RESPONSE_RPCâ was not declared in 
this scope
AMQPQueue.cpp: In member function âvoid AMQPQueue::sendConsumeCommand()â:
AMQPQueue.cpp:541: error: âBASICâ was not declared in this scope
AMQPQueue.cpp:541: error: âCONSUMEâ was not declared in this scope
AMQPQueue.cpp:543: error: expected primary-expression before â,â token
AMQPQueue.cpp:549: error: âAMQP_MULTIPLE_RESPONSE_RPCâ was not declared in 
this scope
AMQPQueue.cpp: In member function âvoid 
AMQPQueue::setHeaders(amqp_basic_properties_t*)â:
AMQPQueue.cpp:682: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:686: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:691: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:695: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:699: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:703: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:707: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:711: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:715: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:719: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:723: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:727: warning: deprecated conversion from string constant to 
âchar*â
AMQPQueue.cpp:731: warning: deprecated conversion from string constant to 
âchar*â
make: *** [lib] Error 1

OS Version: 2.6.32-358.18.1.el6.i686 #1 SMP Wed Aug 28 14:27:42 UTC 2013 i686 
i686 i386 GNU/Linux

$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)

Original issue reported on code.google.com by sid.yo...@gmail.com on 12 Nov 2013 at 11:24

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Resolved!

I downloaded the library again and it built with no errors.

Original comment by sid.yo...@gmail.com on 23 Dec 2013 at 7:01