bitshares / bitshares-mobile-app

This is the mobile app for bitshares blockchain
https://play.google.com/store/apps/details?id=org.bitshares.app&hl=en
MIT License
48 stars 56 forks source link

compile secp256k1 error. #9

Open bitcard opened 2 years ago

bitcard commented 2 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 targetinstall'. 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 targetinstall'. 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 2 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 targetinstall'. 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 commented 2 years ago

Please copy it to the MAC directory to run

------------------ 原始邮件 ------------------ 发件人: "bitshares/bitshares-mobile-app" @.>; 发送时间: 2021年11月20日(星期六) 晚上11:43 @.>; @.***>; 主题: Re: [bitshares/bitshares-mobile-app] compile secp256k1 error. (Issue #9)

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

bitcard commented 2 years ago

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 commented 2 years ago

The repository is cloned to run under the macOS path, not in the /Volume xxx directory.

------------------ Original ------------------ From: bitcard @.> Date: Tue,Nov 23,2021 9:39 AM To: bitshares/bitshares-mobile-app @.> Cc: YANG @.>, Comment @.> Subject: Re: [bitshares/bitshares-mobile-app] compile secp256k1 error. (Issue#9)

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.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.