> 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).