Message-ID: <4F4978D2.70706@...1030...> Date: Sun, 26 Feb 2012 00:12:02 +0000 From: Mr Dash Four MIME-Version: 1.0 References: <4F466205.5020006@...1030...> In-Reply-To: Subject: Re: [Openvpn-devel] static build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: openvpn-devel@lists.sourceforge.net > 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 > really static use DO_REALLY_STATIC=1. This build fails at the same point as in my srpm static compilation: checking for lzo1x_1_15_compress in -llzo2... no checking for lzo1x_1_15_compress in -llzo... no configure: error: LZO headers were found but LZO library was not found FATAL: Configure openvpn Reason being, I suspect, that the lzo static libraries cannot be found (strange as the compilation succeeded).