Hi -<br><br>I know this is experimental, but I'm trying to compile the rabbitmq-c libs<br>under mingw on Windows.<br><br>The make gets to the point where it needs the include file arpa/inet.h , but<br>that is not provided by mingw. Is there a workaround?<br>
<br>I've looked around the RabbitMQ web site but was not smart enough to find<br>any instructions for building C on Windows. If there are some, please point me to the URL.<br><br>Also, would it be possible to post a copy of the binary version of the libraries,<br>
or wouldn't that make sense?<br><br>FYI - the make output says:<br><br><span style="font-family: courier new,monospace;">PYTHONPATH=/home/irrer/rabbitmq-c-default/codegen python2.5 ./codegen.py header /home/irrer/rabbitmq-c-default/codegen/amqp-0.8.json amqp_framing.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">PYTHONPATH=/home/irrer/rabbitmq-c-default/codegen python2.5 ./codegen.py body /home/irrer/rabbitmq-c-default/codegen/amqp-0.8.json amqp_framing.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make all-am</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[3]: Entering directory `/home/irrer/rabbitmq-c-default/librabbitmq'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT amqp_mem.lo -MD -MP -MF ".deps/amqp_mem.Tpo" -c -o amqp_mem.lo amqp_mem.c; \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> then mv -f ".deps/amqp_mem.Tpo" ".deps/amqp_mem.Plo"; else rm -f ".deps/amqp_mem.Tpo"; exit 1; fi</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">mkdir .libs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT amqp_mem.lo -MD -MP -MF .deps/amqp_mem.Tpo -c amqp_mem.c -DDLL_EXPORT -DPIC -o .libs/amqp_mem.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT amqp_mem.lo -MD -MP -MF .deps/amqp_mem.Tpo -c amqp_mem.c -o amqp_mem.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT amqp_table.lo -MD -MP -MF ".deps/amqp_ta</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ble.Tpo" -c -o amqp_table.lo amqp_table.c;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> then mv -f ".deps/amqp_table.Tpo" ".deps/amqp_table.Plo"; else rm -f ".deps/amqp_table.Tpo"; exit 1; fi</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT amqp_table.lo -MD -MP -MF .deps/amqp_table.Tpo -c amqp_table.c -DDLL_EXPORT -DPIC -o .libs/amqp_table.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">In file included from amqp_table.c:8:0:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">amqp_private.h:8:56: fatal error: arpa/inet.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">compilation terminated.</span><br><br clear="all"><br>Thanks for any advice,<br><br>- Jim<br><br>Jim Irrer <a href="mailto:irrer@umich.edu">irrer@umich.edu</a> (734) 647-4409<br>
University of Michigan Hospital Radiation Oncology<br>519 W. William St. Ann Arbor, MI 48103<br>