You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Nithesh Shetty <kn...@yahoo.com> on 2011/09/20 14:01:02 UTC

QPID-0.12 build issue

  
 
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

Re: QPID-0.12 build issue

Posted by Nithesh Shetty <kn...@yahoo.com>.
I have tried that but it still gives the same error



________________________________
From: Nuno Santos <ns...@redhat.com>
To: users@qpid.apache.org
Cc: Nithesh Shetty <kn...@yahoo.com>; "tross@redhat.com" <tr...@redhat.com>
Sent: Tuesday, September 27, 2011 11:21 PM
Subject: Re: QPID-0.12 build issue

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<kn...@yahoo.com>
> To: "users@qpid.apache.org"<us...@qpid.apache.org>
> Cc: "tross@redhat.com"<tr...@redhat.com>
> 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<tr...@redhat.com>
> To: users@qpid.apache.org
> 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:users-subscribe@qpid.apache.org

Re: QPID-0.12 build issue

Posted by Nuno Santos <ns...@redhat.com>.
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<kn...@yahoo.com>
> To: "users@qpid.apache.org"<us...@qpid.apache.org>
> Cc: "tross@redhat.com"<tr...@redhat.com>
> 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<tr...@redhat.com>
> To: users@qpid.apache.org
> 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:users-subscribe@qpid.apache.org


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: QPID-0.12 build issue

Posted by Nithesh Shetty <kn...@yahoo.com>.
Hi,
 
I have ruby1.9.2p290 installed on my machine.
 
 regards,
 
Nithesh

From: Nithesh Shetty <kn...@yahoo.com>
To: "users@qpid.apache.org" <us...@qpid.apache.org>
Cc: "tross@redhat.com" <tr...@redhat.com>
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 <tr...@redhat.com>
To: users@qpid.apache.org
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:users-subscribe@qpid.apache.org

Re: QPID-0.12 build issue

Posted by Nithesh Shetty <kn...@yahoo.com>.
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 <tr...@redhat.com>
To: users@qpid.apache.org
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:users-subscribe@qpid.apache.org

Re: QPID-0.12 build issue

Posted by Ted Ross <tr...@redhat.com>.
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:users-subscribe@qpid.apache.org