Build broken on Linux

sreenaath vasudevan sreenaathkv at gmail.com
Wed May 11 19:15:31 PDT 2016


Thanks Juli
With the following patch I was able to successfully build wanproxy binary
on linux with wanproxy-0.8.0 version

diff --git a/programs/wanproxy/wanproxy.cc b/programs/wanproxy/wanproxy.cc
index 1ae815c..cfa9f33 100644
--- a/programs/wanproxy/wanproxy.cc
+++ b/programs/wanproxy/wanproxy.cc
@@ -6,6 +6,7 @@
 #include <event/event_main.h>

 #include "wanproxy_config.h"
+#include <unistd.h>

 static void usage(void);



On Wed, May 11, 2016 at 6:18 PM, Juli Mallett <juli at clockworksquid.com>
wrote:

> Hi Sreenaath,
>
> Please follow the directions to build WANProxy at:
> http://wanproxy.org/get.shtml
>
> Specifically, please only build in programs/wanproxy.  Almost nobody
> needs to build other things.
>
> Thanks,
> Juli.
>
> On Wed, May 11, 2016 at 4:18 PM, sreenaath vasudevan
> <sreenaathkv at gmail.com> wrote:
> > Hi
> > I am trying to run wanproxy on Linux (ubuntu 14.04). wanproxy.org says
> that
> > it is supported on Linux. However, the build is broken in many places.
> Was
> > this recently tried out on Linux?
> >
> > Following are the steps performed on ubuntu 14.04
> > 1. git checkout https://github.com/wanproxy/wanproxy
> > 2. make clean
> > 3. make
> >
> > While performing the above, I ran in to compilation errors. I thought
> that
> > some header include path(s) could have been messed up and hence it was
> not
> > compiling fine. Initially I thought only the targets inside example and
> test
> > directories are broken and hence I commented them out from building. Even
> > after that, I ran in to build errors while building actual wanproxy
> binaries
> > (like diskdup, etc).
> >
> > I am attaching two logs
> > 1. op_all -> Where the targets inside example and test directories are
> > failing to compile
> > 2. op -> With this, targets inside example and tests were commented out
> from
> > Makefile. Still you can see build errors while building main components
> for
> > wanproxy.
> >
> > Can someone tell me how to fix the above problem(s)?
> > Thanks !
> >
> >
> > --regards
> > sreenaath
> >
> > _______________________________________________
> > wanproxy mailing list
> > wanproxy at lists.wanproxy.org
> > http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org
> >
>



-- 
regards
sreenaath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20160511/210c9de8/attachment.htm>


More information about the wanproxy mailing list