Page 1 of 1

how to building openvpn connect(Android)

Posted: Thu May 08, 2014 4:49 pm
by yagamishi
mkdir -p ~/src/android
cd ~/src
tar xf openvpn3.tar.gz
download dependency boost_1_55_0,openssl-1.0.1g,polarssl-1.3.6,snappy-1.1.1,lz4-r112,lzo-2.06
put these into ~/Downloads
put NDK,SDK to ~/src/android and vi android-sdk-path

now start building
export O3=~/src/openvpn3
cd scripts/android
./build-toolchain
./build-all

Build Android dependencies is ok

cd ~/src/openvpn3/javacli
./build-android
error message:
fatal: Not a git repository (or any of the parent directories): .git

I have not idea,just delete 2 line。
git clean -q -fX .
git clean -q -fd .

run again
./build-android
get error meassage:
not find android/jellybean_hack.cpp android/cpu.cpp

how to fix ?where are these two .cpp?

sorry,My English is very poor

Re: how to building openvpn connect(Android)

Posted: Thu Nov 05, 2015 9:55 am
by gustaf914
Hi yagamishi,

I get following error while I build boost.

error: unknown target CPU 'armv7-a'

Please help me.