Re: [Openvpn-devel] [PATCH] Allow management socket over inherited file descriptor

2012-02-26 Thread Alon Bar-Lev
On Sun, Feb 26, 2012 at 7:49 PM, mark wrote: >  From e15b874fdd05e9952e94e36292b57071e96127ed Mon Sep 17 00:00:00 2001 > From: Mark Nunberg > Date: Sun, 26 Feb 2012 09:37:33 -0800 > Subject: [PATCH] Allow management socket over inherited file descriptor > > Allows a direct management channel over

[Openvpn-devel] [PATCH] Allow management socket over inherited file descriptor

2012-02-26 Thread mark
From e15b874fdd05e9952e94e36292b57071e96127ed Mon Sep 17 00:00:00 2001 From: Mark Nunberg List-Post: openvpn-devel@lists.sourceforge.net Date: Sun, 26 Feb 2012 09:37:33 -0800 Subject: [PATCH] Allow management socket over inherited file descriptor Allows a direct management channel over a forked-

Re: [Openvpn-devel] static build

2012-02-26 Thread Alon Bar-Lev
This is my last reply on this thread. What I show you is that without any change I compile static code for arm using cross compiler. I guess I am far more knowledgeable than you to tell me what is right, and I disapprove your comments and language. So the answer to your initial question: yes, open

Re: [Openvpn-devel] [build] Windows build test

2012-02-26 Thread Russell Morris
That does it - it works now, thanks!!! ... Russell On Sat, 02/25/2012 12:58 PM, Alon Bar-Lev wrote: > Never mind. > I guess that mingw is configured as multilib somehow. > I forced all to use /lib. > Can you please try again? > > On Sat, Feb 25, 2012 at 7:28 PM, Alon Bar-Lev wrote:

Re: [Openvpn-devel] static build

2012-02-26 Thread Mr Dash Four
arm-unknown-linux-gnueabi-objdump: image-arm-static/openvpn/sbin/openvpn: Invalid operation Huh? Have you altered the sources/makefiles of openvpn or any of the dependent libraries (lzo, openssh etc) by any chance? I noticed you are applying a single patch to the lzo source, which I had t

Re: [Openvpn-devel] static build

2012-02-26 Thread Alon Bar-Lev
$ git clone https://github.com/alonbl/openvpn-build.git $ cd openvpn.build $ DO_REALLY_STATIC=1 IMAGEROOT=`pwd`/image-arm-static CHOST=arm-unknown-linux-gnueabi CBUILD=x86_64-pc-linux-gnu ./build $ file image-arm-static/openvpn/sbin/openvpn image-arm-static/openvpn/sbin/openvpn: ELF 32-bit LSB exec

Re: [Openvpn-devel] static build

2012-02-26 Thread Mr Dash Four
You can check if executable is static by using arm-unknown-linux-gnueabi-readelf --relocas. The fact that the archive has a lot of files does not mean the openvpn is not static. Well, I don't really know what you understand "static linking" to be, but to me it means that all external functio

Re: [Openvpn-devel] static build

2012-02-26 Thread Alon Bar-Lev
Hello, You can check if executable is static by using arm-unknown-linux-gnueabi-readelf --relocas. The fact that the archive has a lot of files does not mean the openvpn is not static. Anyway it is working at my side, and it is a standard process. You can adjust the script for your needs. Alon.

Re: [Openvpn-devel] static build

2012-02-26 Thread Mr Dash Four
Reason being, I suspect, that the lzo static libraries cannot be found (strange as the compilation succeeded). I need tmp/openvpn/config.log Better to have the complete build output... This was done in mock environment (both the rpm and "normal" build). When I did this from outside,

[Openvpn-devel] [build] tap-windows

2012-02-26 Thread Alon Bar-Lev
Hello, A repository is available[1], stripped down with only tap sources. To build use you need ddk available: > configure > build It builds winxp 32bit and win7 64bit I hope this is what the current installer is doing, as building the tap is kept secret. In the open source package we will prov

Re: [Openvpn-devel] static build

2012-02-26 Thread Alon Bar-Lev
On Sun, Feb 26, 2012 at 2:12 AM, Mr Dash Four wrote: >> To cross compile master to arm in static, do: >> $ git clone git://github.com/alonbl/openvpn-build.git >> $ cd openvpn-build/generic >> $ CHOST="arm-unknown-linux-gnueabi" CBUILD="x86_64-pc-linux-gnu" >> DO_STATIC=1 ./build >> >> It will crea

Re: [Openvpn-devel] static build

2012-02-26 Thread Mr Dash Four
> To cross compile master to arm in static, do: > $ git clone git://github.com/alonbl/openvpn-build.git > $ cd openvpn-build/generic > $ CHOST="arm-unknown-linux-gnueabi" CBUILD="x86_64-pc-linux-gnu" > DO_STATIC=1 ./build > > It will create static dependencies, but dynamic libc, if you want > real