You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running APP_ABI=armeabi make -C external or APP_ABI=x86 make -C external compiling of xz fails with the error
ISO C99... unsupported
configure: error: No C99 compiler was found.
When removing lzma (xz) it will fail while compiling zstd with the error
In file included from common/entropy_common.c:38:0:
common/mem.h:22:37: fatal error: string.h: No such file or directory
#include <string.h> /* memcpy */
When removing zstd it will fail while compiling openssl with the error
In file included from cryptlib.c:117:0:
cryptlib.h:62:21: fatal error: stdlib.h: No such file or directory
# include <stdlib.h>
I was able to get xz, zstd and openssl to compile correctly by making my own NDK toolchains
However then configuring of Tor fails with the error
checking for libevent directory... configure: WARNING: Could not find a linkable libevent. If you have it installed somewhere unusual, you can specify an explicit path using --with-libevent-dir
The external/lib directory exists and contains the libevent.a file. I'm not sure how to debug this further so any help would be appreciated. If I can provide more informations please let me know.
Best regards
The text was updated successfully, but these errors were encountered:
stoically
changed the title
Can't build on Ubuntu/Debian
Can't build on Ubuntu/Debian with NDK 16
Dec 13, 2017
Hi,
thanks for your work on orbot/tor-android!
Tested on Ubuntu 16.04.3 LTS (4.4.0-103-generic x86_x64) and Debian 9 (4.9.0-4-amd64 x86_64)
Android Studio Version: 3.0.1
Android NDK Version: 16.1.4479499
Android SDK Platform Tools Version: 27.0.0
Android SDK Tools: 26.1.1
Installed APIs: 16, 23, 27
Installed packages: ant autotools-dev automake autogen autoconf libtool gettext-base autopoint
When running
APP_ABI=armeabi make -C external
orAPP_ABI=x86 make -C external
compiling ofxz
fails with the errorWhen removing
lzma
(xz) it will fail while compilingzstd
with the errorWhen removing
zstd
it will fail while compilingopenssl
with the errorI was able to get xz, zstd and openssl to compile correctly by making my own NDK toolchains
and instructing the Makefile to use them by replacing
with
and
with
However then configuring of Tor fails with the error
The
external/lib
directory exists and contains thelibevent.a
file. I'm not sure how to debug this further so any help would be appreciated. If I can provide more informations please let me know.Best regards
The text was updated successfully, but these errors were encountered: