On 09/21/2011 12:39 AM, Nithesh Shetty wrote:
I have ruby1.9.2p290 installed on my machine.
You may have to remove the "-pedantic" compiler flag (in configure.ac), depending on the gcc version you're running.
Nuno
From: Nithesh Shetty<[email protected]> To: "[email protected]"<[email protected]> Cc: "[email protected]"<[email protected]> Sent: Wednesday, September 21, 2011 9:51 AM Subject: Re: QPID-0.12 build issue Hi, step in building qpid-0.12 tar -xvzf qpid-0.12.tar.gz. $ cd qpid-0-12 $ cd cpp $./bootstrap $./configure $.make here it gives me error cc1plus: warnings being treated as errors. ../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules ../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules cc1plus: note: initialized from here../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules../include/qpid/framing/DeliveryProperties.h:38: dereferencing pointer 'pretmp.2169' does break strict-aliasing rules cc1plus: note: initialized from here make[3]: *** [qpid/client/libqpidclient_la-LocalQueueImpl.lo] Error 1 made modificaiton in makefile in src folder. removed -Werror option from it. and called make it gives the below mentioned errror. Awaiting your reply. Regards, Nithesh From: Ted Ross<[email protected]> To: [email protected] Sent: Tuesday, September 20, 2011 6:54 PM Subject: Re: QPID-0.12 build issue Nitesh, Can you provide more context into the error you are seeing? What build target failed? How did you invoke the build? I just tried building the 0.12 sources on a RHEL6.1/64-bit system and saw no errors. -Ted On 09/20/2011 08:01 AM, Nithesh Shetty wrote:Kindly note when i try to build qpid0.12 on rhel 6 64 bit machine. it gives the below error. qmfengine.cpp:2212: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2213: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2214: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2215: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2216: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2217: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2218: error: statement-expressions are not allowed outside functions nor in template-argument lists qmfengine.cpp:2219: error: statement-expressions are not allowed outside functions nor in template-argument lists Awaiting your reply. Regards, Nithesh--------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
--------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
