<div dir="ltr">Yup, if you're building for arm-linux:<div><br></div><div>./configure --target=arm-linux</div><div><br></div><div>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 9:17 AM, Roberto Pagliari <span dir="ltr"><<a href="mailto:roberto@canary.is" target="_blank">roberto@canary.is</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This command:<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">./configure --host=arm-linux</span><br>
</div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">is the one I found here: </span><a href="https://groups.google.com/forum/#!topic/rabbitmq-discuss/TJcDUubEBFQ" target="_blank">https://groups.google.com/forum/#!topic/rabbitmq-discuss/TJcDUubEBFQ</a></div>

<div><br></div><div>Are you sure it's the right command you ran? It builds, but for x86.</div><div><br></div><div>Thanks,</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Jan 15, 2014 at 12:02 PM, Alan Antonuk <span dir="ltr"><<a href="mailto:alan.antonuk@gmail.com" target="_blank">alan.antonuk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You're confusing host and target I think.  Host is the system you're building the executable on, target is the system that the executables will be run on.<div>

<br></div><div>Read up on this here:</div>
<div><a href="http://www.sourceware.org/autobook/autobook/autobook_259.html" target="_blank">http://www.sourceware.org/autobook/autobook/autobook_259.html</a><span><font color="#888888"><br></font></span></div>
<span><font color="#888888"><div><br></div><div>-Alan</div></font></span></div><div><div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Wed, Jan 15, 2014 at 8:23 AM, Roberto Pagliari <span dir="ltr"><<a href="mailto:roberto@canary.is" target="_blank">roberto@canary.is</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">What I'm doing right now is this:<div><pre style="max-height:600px;width:auto;background-color:rgb(238,238,238);margin-bottom:10px;padding:5px;vertical-align:baseline;line-height:18px;font-size:14px;overflow:auto;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;margin-top:0px;word-wrap:normal;border:0px">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">./</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">configure CC</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">=/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">usr</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">bin</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">/</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">arm</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">linux</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">gnueabi</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">gcc </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">--</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">host</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">=</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">arm</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">-</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">linux LDFLAGS</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">=</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">path_to_ssl_lib_folder</span></code></pre>



</div><div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">but somehow it cannot make the compiler work:</span></code></div>



<div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><br>



</span></code></div><div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><div>


<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">configure: WARNING: if you wanted to set the --build type, don't use --host.</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



</div><span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">If a cross compiler is detected then cross compile mode will be used checking for a BSD-compatible install... /usr/bin/install -c</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking whether build environment is sane... yes checking for arm-linux-strip... no</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking for strip... strip</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking whether make sets $(MAKE)... yes</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking whether make supports nested variables... yes</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking for style of include used by make... GNU</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking for arm-linux-gcc... /usr/bin/arm-linux-gnueabi-gcc</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">checking whether the C compiler works... no</span><br style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">



<span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">configure: error: in </span><code style="vertical-align:baseline;line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;margin:0px;border:0px;padding:1px 5px">/home/username/rabbitmq-c-master-arm': configure: error: C compiler cannot create executables<br>



See</code><span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">config.log' for more details</span><br>
</span></code></div><div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><span style="line-height:18px;font-size:14px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif"><br>



</span></span></code></div><div><code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent"><span style="line-height:18px;background-color:rgb(238,238,238);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">but my arm c compiler is working, so I don't know why it does not work with this. </span></span></code></div>



</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 10:45 AM, Roberto Pagliari <span dir="ltr"><<a href="mailto:roberto@canary.is" target="_blank">roberto@canary.is</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I'm getting this warning message when running ./configure --host=arm-linux</div><div><br></div>



<div><div>$ ./configure --host=arm-linux</div><div>configure: WARNING: if you wanted to set the --build type, don't use --host.</div>

<div>    If a cross compiler is detected then cross compile mode will be used</div></div><div><br></div><div>and this message to the end:</div><div><div>rabbitmq-c build options:</div><div><span style="white-space:pre-wrap">        </span>Host: arm-unknown-linux-gnu</div>





<div><span style="white-space:pre-wrap">  </span>Version: 0.4.1</div><div><span style="white-space:pre-wrap">   </span>SSL/TLS: openssl</div><div><span style="white-space:pre-wrap"> </span>Tools: no</div><div><span style="white-space:pre-wrap">        </span>Documentation: no</div>





<div><span style="white-space:pre-wrap">  </span>Examples: yes</div></div><div><br></div><div>Any way I can pass the right compiler to ./configure? I tried with export CC but it still does not get it.</div><div><br></div>




<div>Thank you,</div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 11:43 PM, Alan Antonuk <span dir="ltr"><<a href="mailto:alan.antonuk@gmail.com" target="_blank">alan.antonuk@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, those changes were merged in over 2 years ago. The library is not consistently tested on the ARM architecture so I cannot guarantee that it still works, but I also have no reason to believe otherwise.<div>





<br></div><div>You need to run autoreconf -i before trying to run the configure script.</div><div><br></div><div>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Jan 14, 2014 at 7:04 PM, Roberto Pagliari <span dir="ltr"><<a href="mailto:roberto@canary.is" target="_blank">roberto@canary.is</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi Alex/All,<div>in addition to ./configure and Makefile for building with Autotools, did you manage to fix the issues discussed over here?</div>





<div><br></div><div><a href="https://groups.google.com/forum/#!topic/rabbitmq-discuss/TJcDUubEBFQ" target="_blank">https://groups.google.com/forum/#!topic/rabbitmq-discuss/TJcDUubEBFQ</a><br>
</div><div><br></div><div>I'm asking because ARM is my target architecture. </div><div><br></div><div>Thank you,</div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jan 14, 2014 at 5:55 PM, Roberto Pagliari <span dir="ltr"><<a href="mailto:roberto@canary.is" target="_blank">roberto@canary.is</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I cannot find the ./configure file that can be used to build rabbimq-c.<div><br></div><div><a href="https://github.com/alanxz/rabbitmq-c" target="_blank">https://github.com/alanxz/rabbitmq-c</a></div>






<div><br><div><br></div>
<div>is there a way I can get the file?</div><div><br></div><div>Thank you,</div><div><br></div></div></div>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>