nbs-dex / nbs-mobile-app

MIT License
0 stars 0 forks source link

compile secp256k1 error #1

Open bitcard opened 3 years ago

bitcard commented 3 years ago

./build_secp256k1_ios.sh Cloning into 'secp256k1_ios'... remote: Enumerating objects: 2615, done. remote: Total 2615 (delta 0), reused 0 (delta 0), pack-reused 2615 Receiving objects: 100% (2615/2615), 1.10 MiB | 260.00 KiB/s, done. Resolving deltas: 100% (1865/1865), done. make: No rule to make target distclean'. Stop. building thin libraries... [arm64] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [armv7s] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [x86_64] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [i386] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [armv7] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. building fat binaries... ./build_secp256k1_ios.sh: line 86: cd: /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/btspp_output/thin-libs/arm64/lib: No such file or directory error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: no input files specified usage: lipo [ ...] command is one of: -archs -create [-arch_blank ] -detailed_info -extract [-extract ...] -extract_family [-extract_family ...] -info -remove [-remove ...] -replace [-replace ...] -thin -verify_arch ... options are one or more of: -arch -hideARM64 -output -segalign cp: /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_ios/btspp_output/thin-libs/arm64/include: No such file or directory done. target dir: secp256k1_ios/btspp_output/fat-libs

how to fix it? thank you.

bitcard commented 3 years ago

build for android is same error:

./build_secp256k1_android.sh Cloning into 'secp256k1_android'... remote: Enumerating objects: 2615, done. remote: Total 2615 (delta 0), reused 0 (delta 0), pack-reused 2615 Receiving objects: 100% (2615/2615), 1.10 MiB | 180.00 KiB/s, done. Resolving deltas: 100% (1865/1865), done. make: No rule to make target distclean'. Stop. building all arch libraries... [arm64] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [armv7] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [x86] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: No rule to make target install'. Stop. [x86_64] building... /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: syntax error near unexpected token (' /Volumes/T7Touch/github/crypto/bitshares-mobile-app/shell/secp256k1_android/configure: line 1: m4trace:configure.ac:2: -1- AC_INIT([libsecp256k1], [0.1])' make: *** No rule to make target `install'. Stop. done. target dir: secp256k1_android/btspp_output