OpenVPN-IOS
OpenVPN-IOS copied to clipboard
Help ,i have errors.
When I exec. bash build-openvpn.sh, I got errors like
......
make[2]: *** No rule to make target .gitignore', needed by
all-am'. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Will you give some help?
you check data in folder: OpenVPN-IOS/Submodules #cd OpenVPN-IOS/Submodules #git clone https://github.com/chrisballinger/hans/tree/893ac91eaf080b43170b839b22f9086f0dbc648d #git clone https://github.com/chrisballinger/openvpn/tree/0f77573024e69c34ec8a5cbc0744e126ad73de27
hope to help you!
Thanks! Solved! Old errors have vanished. But I've met new problems. When I build the project with XCode8.2, the latest version, scheme choosing iPhone7 simulator, I've got errors as follows,
ld: warning: ignoring file /Users/a-a-dev/dev/OpenVPN-IOS-master/dependencies/lib/libopenvpn.a, missing required architecture x86_64 in file /Users/a-a-dev/dev/OpenVPN-IOS-master/dependencies/lib/libopenvpn.a (1 slices) Undefined symbols for architecture x86_64: "_openvpn_main", referenced from: ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I add x86_64 to variable ARCHS as ARCHS="armv7 x86_64" in file build-openvpn.sh, it doesn't work. Will you give some advice? 3X!
I guess, because can't link to lib: libopenvpn.a Try one of the following ways
- build app to device not simulator.
- try OpenVPN last version https://github.com/OpenVPN/openvpn
if you can not contact me, I will send you my builds.
I got the same error (I'm building to device with the newest openvpn). Did you find the way around?
Undefined symbols for architecture arm64: "_openvpn_main", referenced from: ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o ld: symbol(s) not found for architecture arm64
I got the same error, too; I think libopenvpn.a don't export the function what "openvpn_main",can you tell me how to solve this error?
clone project, try with device armv7. My project in github is available with device armv7.
This error happens with version openvpn, please try version orther in: https://github.com/OpenVPN/openvpn/releases
Can you send your builds to me ? Whether openvpn needs to apply for an interface to Apple?[email protected],Thanks
I updated lib. Now you can clone project using with device: armv7 arm64 formerly, we need NDA with apple. But, now we need not. Apple have NEPacketTunnelProvider allow open tunnel, link
my device is iphone se , and i get a error :Undefined symbols for architecture x86_64: "_openvpn_main", referenced from: ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation).
Does your lib only support armv7 arm64?
please using device armv7 arm64 not Simulator I only public build support armv7 arm64 , If you want full, contact me by email 2017-06-14 11:07 GMT+07:00 HiNing [email protected]:
my device is iphone se , and i get a error :Undefined symbols for architecture x86_64: "_openvpn_main", referenced from: ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AnhTVc/OpenVPN-IOS/issues/1#issuecomment-308314172, or mute the thread https://github.com/notifications/unsubscribe-auth/AL6ECRSAq-h0UEWXbA47ghbPcGZq0VIwks5sD1yTgaJpZM4MN4cX .
@AnhTVc, I am trying to run the code but facing below errors.
Undefined symbols for architecture arm64: "_append_three_string", referenced from: _add_route in libopenvpn.a(route.o) "_append", referenced from: _openvpn_main in libopenvpn.a(openvpn.o) _write_to_ip_client in libopenvpn.a(route.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Looking forward for your prompt reply.
Regards
please run with device iphone not Simulator
@AnhTVc, How to build with arm64 device?
I have the same link error. Undefined symbols for architecture arm64: "_append_three_string", referenced from: _add_route in libopenvpn.a(route.o) "_append", referenced from: _openvpn_main in libopenvpn.a(openvpn.o) _write_to_ip_client in libopenvpn.a(route.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Looking forward for your reply.
Best Regards
retry with iPhone 5 If necessary, I will send you the build for arm64. Please contact my email
i have also i have tried to build on iphone 6 plus but i wont work can you send me your build at [email protected] Thanks
"_openvpn_main", referenced from: ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
@solanki12 Your problem is with arm64, please give me your email, i will send you lib version for arm64
[email protected] Thanks
@AnhTVc Can you send me the libopenvpn version for arm64 ? Thx ! [email protected]
@AnhTVc I am also looking for libopenvpn version for arm64 . Can you send to [email protected] ...? Thanks...!
@AnhTVc can you send libopenvpn for arm64 to [email protected] Thanks
all version libopenvpn https://drive.google.com/file/d/0B0wnMoPHj0QUTG5xc1hhX183QlU/view?usp=sharing
without NDA, I got an error:
Tue Oct 24 17:10:24 2017 OpenVPN 2.3_git arm-apple-darwin [SSL (OpenSSL)] [MH] [IPv6] built on Oct 24 2017 Tue Oct 24 17:10:24 2017 WARNING: file '/var/containers/Bundle/Application/EAD10AEC-4DC3-4D57-BEBD-C3B61F676451/openvpn.app/ta.key' is group or others accessible Tue Oct 24 17:10:24 2017 tunemu: fork for ppp kext: Operation not permitted Tue Oct 24 17:10:24 2017 Cannot allocate TUN/TAP dev dynamically Tue Oct 24 17:10:24 2017 Exiting due to fatal error
Enviroment: ios 10.3.
Is that NDA's problem?
I think its licence issues openvpn has gnu licence
Regards Alishah Solanki
On 24-Oct-2017, at 2:15 PM, billianne [email protected] wrote:
without NDA, I got an error:
Tue Oct 24 17:10:24 2017 OpenVPN 2.3_git arm-apple-darwin [SSL (OpenSSL)] [MH] [IPv6] built on Oct 24 2017 Tue Oct 24 17:10:24 2017 WARNING: file '/var/containers/Bundle/Application/EAD10AEC-4DC3-4D57-BEBD-C3B61F676451/openvpn.app/ta.key' is group or others accessible Tue Oct 24 17:10:24 2017 tunemu: fork for ppp kext: Operation not permitted Tue Oct 24 17:10:24 2017 Cannot allocate TUN/TAP dev dynamically Tue Oct 24 17:10:24 2017 Exiting due to fatal error
Enviroment: ios 10.3.
Is that NDA's problem?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
please send me the builds [email protected]
@AnhTVc can you send libopenvpn for arm64 to [email protected]? Thanks!
libopenvpn.a are: armv7 arm64. You dont rebuild lib
my device is iphone se , and i get a error :Undefined symbols for architecture x86_64: "_openvpn_main", referenced from: ___31-[VPNWrapper startWithOptions:]_block_invoke in VPNWrapper.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation).
could you send me full source for x86_64 ? My email is [email protected] please ... thanks..