<div dir="ltr"><div>Thanks Juli<br></div>With the following patch I was able to successfully build wanproxy binary on linux with wanproxy-0.8.0 version<br><br>diff --git a/programs/wanproxy/wanproxy.cc b/programs/wanproxy/wanproxy.cc<br>index 1ae815c..cfa9f33 100644<br>--- a/programs/wanproxy/wanproxy.cc<br>+++ b/programs/wanproxy/wanproxy.cc<br>@@ -6,6 +6,7 @@<br> #include <event/event_main.h><br> <br> #include "wanproxy_config.h"<br>+#include <unistd.h><br> <br> static void usage(void);<br> <br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 6:18 PM, Juli Mallett <span dir="ltr"><<a href="mailto:juli@clockworksquid.com" target="_blank">juli@clockworksquid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sreenaath,<br>
<br>
Please follow the directions to build WANProxy at: <a href="http://wanproxy.org/get.shtml" rel="noreferrer" target="_blank">http://wanproxy.org/get.shtml</a><br>
<br>
Specifically, please only build in programs/wanproxy.  Almost nobody<br>
needs to build other things.<br>
<br>
Thanks,<br>
Juli.<br>
<div><div class="h5"><br>
On Wed, May 11, 2016 at 4:18 PM, sreenaath vasudevan<br>
<<a href="mailto:sreenaathkv@gmail.com">sreenaathkv@gmail.com</a>> wrote:<br>
> Hi<br>
> I am trying to run wanproxy on Linux (ubuntu 14.04). <a href="http://wanproxy.org" rel="noreferrer" target="_blank">wanproxy.org</a> says that<br>
> it is supported on Linux. However, the build is broken in many places. Was<br>
> this recently tried out on Linux?<br>
><br>
> Following are the steps performed on ubuntu 14.04<br>
> 1. git checkout <a href="https://github.com/wanproxy/wanproxy" rel="noreferrer" target="_blank">https://github.com/wanproxy/wanproxy</a><br>
> 2. make clean<br>
> 3. make<br>
><br>
> While performing the above, I ran in to compilation errors. I thought that<br>
> some header include path(s) could have been messed up and hence it was not<br>
> compiling fine. Initially I thought only the targets inside example and test<br>
> directories are broken and hence I commented them out from building. Even<br>
> after that, I ran in to build errors while building actual wanproxy binaries<br>
> (like diskdup, etc).<br>
><br>
> I am attaching two logs<br>
> 1. op_all -> Where the targets inside example and test directories are<br>
> failing to compile<br>
> 2. op -> With this, targets inside example and tests were commented out from<br>
> Makefile. Still you can see build errors while building main components for<br>
> wanproxy.<br>
><br>
> Can someone tell me how to fix the above problem(s)?<br>
> Thanks !<br>
><br>
><br>
> --regards<br>
> sreenaath<br>
><br>
</div></div>> _______________________________________________<br>
> wanproxy mailing list<br>
> <a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
> <a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" rel="noreferrer" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">regards<br>sreenaath</div>
</div>