Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

[Android] Issue building nettle #674

@milos1290

Description

@milos1290

Description

/android.sh -f \
            --enable-gnutls \
            --disable-x86 \
            --disable-x86-64 \
            --lts

Fails to build nettle dependency.

Expected behavior
Build passes

Current behavior
Building of nettle fails

Building arm-v7a platform on API level 16

gmp: already built
libiconv: already built
nettle: failed

Logs
nettle/config.log

/* confdefs.h */
...
#define PACKAGE_NAME "nettle"
#define PACKAGE_TARNAME "nettle"
#define PACKAGE_VERSION "3.6"
#define PACKAGE_STRING "nettle 3.6"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define HAVE_LINK_IFUNC 1

configure: exit 1

build.log

checking build system type... i386-apple-darwin20.2.0
checking host system type... arm-unknown-linux-androideabi
checking for -R flag... using -Wl,-rpath,
Searching for libraries
checking /Users/milos/Developer/mobile-ffmpeg/prebuilt/android-arm/gmp/lib... added
checking /Users/milos/Developer/mobile-ffmpeg/prebuilt/android-arm/nettle/lib... not found
checking /usr/local/lib... added
checking /sw/local/lib... not found
checking /sw/lib... not found
checking /usr/gnu/lib... not found
checking /opt/gnu/lib... not found
checking /sw/gnu/lib... not found
checking /usr/freeware/lib... not found
checking /usr/pkg/lib... not found
checking for arm-linux-androideabi-gcc... armv7a-linux-androideabi16-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether armv7a-linux-androideabi16-clang accepts -g... yes
checking for armv7a-linux-androideabi16-clang option to accept ISO C89... none needed
checking for ifunc support... yes
checking whether we are using the GNU C++ compiler... yes
checking whether armv7a-linux-androideabi16-clang++ accepts -g... yes
checking if LD -Wl,--version-script works... yes
checking whether make sets $(MAKE)... yes
checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
checking for arm-linux-androideabi-nm... arm-linux-androideabi-nm
checking for arm-linux-androideabi-objdump... arm-linux-androideabi-objdump
checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking whether ln -s works... yes
checking build system compiler gcc... no
checking build system compiler cc... no
checking build system compiler c89... no
checking build system compiler c99... no
configure: error: Cannot find a build system compiler

Environment

  • Platform: Android
  • Architecture: arm-v7a, arm-v7a-neon, arm64-v8a
  • Source branch: master/development
  • Android Studio version: latest
  • Android NDK version: 21.4.7075529

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions