Hi David, 

Thanks for the patch. I'll try it out.

Turned out that examples don't work that well :(
I can trace packages transfered via tcpdump and connection gets established, 
but I always get that message:

Logging in: connection closed unexpectedly.

Here's what I get in my log file:

        =INFO REPORT==== 17-Aug-2011::19:54:56 ===
        accepted TCP connection on [::]:5672 from 192.168.0.200:43350

        =INFO REPORT==== 17-Aug-2011::19:54:56 ===
        starting TCP connection <0.22887.2> from 192.168.0.200:43350

        =ERROR REPORT==== 17-Aug-2011::19:55:06 ===
        exception on TCP connection <0.22887.2> from 192.168.0.200:43350
        {handshake_timeout,frame_header}

        =INFO REPORT==== 17-Aug-2011::19:55:06 ===
        closing TCP connection <0.22887.2> from 192.168.0.200:43350

Tried to hood up in different ways, through ssh port forwarding, but result is 
still the same.
How do you compile sources? Is there any specific compiler / linux kernel 
headers required? 

Thank you


On Aug 17, 2011, at 5:24 PM, David Wragg wrote:

> Hi Alex,
> 
> Alex P <[email protected]> writes:
>> In case anyone's interested, rabbitmq-c compiled for ARM target quite
>> fine, together with examples, it was a matter of configuring using
>> 
>> ./configure --host=arm-linux
>> 
>> So far works smoothly, examples do work.
> 
> I do test on arm-linux occasionally.
> 
> But while checking this today, I noticed that the code is relying on the
> kernel to fix up unaligned accesses.  An embedded ARM platform might not
> do that, and this is bad from a performance standpoint anyway.
> 
> And although it would rarely affect ARM, the code assumed a
> little-endian platform.
> 
> I've committed a fix for both these things.  It's currently on a branch
> (<http://hg.rabbitmq.com/rabbitmq-c/rev/8cfbdf1daf45> or
> <https://github.com/rabbitmq/rabbitmq-c/tree/bug24349>.
> 
> David
> 
> -- 
> David Wragg
> Staff Engineer, RabbitMQ
> VMware, Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.

Reply via email to