bitshares / bitshares/bitshares-mobile-app

compile secp256k1 error.

Open
#9 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
49
Forks
54
PR merge metrics
No merged PRs in 30d

Description

./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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with build_secp256k1_ios.sh and the generated secp256k1_ios/configure file, then reproduce the make and configure failures shown in the issue. Check why configure begins with m4trace output and why the expected thin-libs directories are absent; done means the script completes for the listed architectures and produces the requested fat libraries and headers.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, shell
Domain
build-system, cryptography, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.