Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile secp256k1 error. #9

Open
bitcard opened this issue Nov 20, 2021 · 4 comments
Open

compile secp256k1 error. #9

bitcard opened this issue Nov 20, 2021 · 4 comments

Comments

@bitcard
Copy link

bitcard commented Nov 20, 2021

./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 <input_file> [ ...]
command is one of:
-archs
-create [-arch_blank <arch_type>]
-detailed_info
-extract <arch_type> [-extract <arch_type> ...]
-extract_family <arch_type> [-extract_family <arch_type> ...]
-info
-remove <arch_type> [-remove <arch_type> ...]
-replace <arch_type> <file_name> [-replace <arch_type> <file_name> ...]
-thin <arch_type>
-verify_arch <arch_type> ...
options are one or more of:
-arch <arch_type> <input_file>
-hideARM64
-output <output_file>
-segalign <arch_type>
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
Copy link
Author

bitcard commented Nov 20, 2021

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

@hanomirin
Copy link

hanomirin commented Nov 22, 2021 via email

@bitcard
Copy link
Author

bitcard commented Nov 23, 2021

Thank you for your reply. where is MAC directory? MAC is another repo? I use MacOS, only git clone this repo, and compile it with the guide document.

@hanomirin
Copy link

hanomirin commented Nov 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants