Git Product home page Git Product logo

Comments (11)

rjeli avatar rjeli commented on June 20, 2024 2

i have no idea how autoconf works
but i fix by commenting out

libbitcoin_a_LIBADD = $(LIBSECP256K1)

from btcdeb.

BowTiedDeployer avatar BowTiedDeployer commented on June 20, 2024 1

i have no idea how autoconf works but i fix by commenting out

libbitcoin_a_LIBADD = $(LIBSECP256K1)

Can confirm, it works by deleting that line.

from btcdeb.

kallewoof avatar kallewoof commented on June 20, 2024 1

I will be able to examine this closer soon, hopefully. Sorry for the delay.

from btcdeb.

halseth avatar halseth commented on June 20, 2024

Having same issue.

from btcdeb.

BowTiedDeployer avatar BowTiedDeployer commented on June 20, 2024

ld: in libbitcoin.a(libsecp256k1.la), archive member 'libsecp256k1.la' with length 880 is not mach-o or llvm bitcode file 'libbitcoin.a' for architecture arm64

Had the same problem using Mac Os with arm64 architecture.
Works using a Linux VM. I am using Parallels Desktop.

Answered it here as well #116 (comment)

from btcdeb.

kallewoof avatar kallewoof commented on June 20, 2024

I have a machine to examine this now. I think the most straightforward action here is to do a rebase onto latest stable bitcoin core, which should fix this issue, I think. That's not trivial, but I will try to do it asap. Apologies about the delay.

from btcdeb.

kallewoof avatar kallewoof commented on June 20, 2024

I have pushed a fix for this in #129. Please re-try on latest master.

from btcdeb.

halseth avatar halseth commented on June 20, 2024

Just tried latest master, fails with a different issue now (M1 macOS 13.3.1):

$ make
  CXX      btcdeb-instance.o
  CXX      btcdeb-functions.o
  CXX      btcdeb-btcdeb.o
  CXX      debugger/libbitcoin_deb_a-hash.o
  CXX      debugger/libbitcoin_deb_a-interpreter.o
  CXX      debugger/libbitcoin_deb_a-script.o
  AR       libbitcoin_deb.a
  CXX      libbitcoin_a-arith_uint256.o
  CXX      libbitcoin_a-base58.o
  CXX      libbitcoin_a-bech32.o
  CXX      consensus/libbitcoin_a-merkle.o
  CXX      crypto/libbitcoin_a-hmac_sha512.o
  CXX      crypto/libbitcoin_a-ripemd160.o
  CXX      crypto/libbitcoin_a-sha1.o
  CXX      crypto/libbitcoin_a-sha256.o
  CXX      crypto/libbitcoin_a-sha512.o
  CXX      libbitcoin_a-hash.o
  CXX      primitives/libbitcoin_a-transaction.o
  CXX      libbitcoin_a-pubkey.o
  CXX      script/libbitcoin_a-interpreter.o
  CXX      script/libbitcoin_a-script.o
  CXX      script/libbitcoin_a-script_error.o
  CXX      support/libbitcoin_a-cleanse.o
  CXX      support/libbitcoin_a-lockedpool.o
  CXX      libbitcoin_a-uint256.o
  CXX      util/libbitcoin_a-spanparsing.o
  CXX      util/libbitcoin_a-strencodings.o
  CXX      libbitcoin_a-value.o
  AR       libbitcoin.a
  CC       secp256k1/src/bench.o
In file included from secp256k1/src/bench.c:129:
secp256k1/src/modules/recovery/bench_impl.h:10:10: fatal error: '../include/secp256k1_recovery.h' file not found
#include "../include/secp256k1_recovery.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [secp256k1/src/bench.o] Error 1
make: *** [all-recursive] Error 1

from btcdeb.

kallewoof avatar kallewoof commented on June 20, 2024

Is this on a clean branch?

Can you do

$ ./autogen.sh
$ ./configure
$ make clean
$ make

and see if that works?

from btcdeb.

halseth avatar halseth commented on June 20, 2024

Is this on a clean branch?

You're right, I had som artifacts lingering from earlier build attempts. Deleting all those and starting from a clean branch made it compile 👍

from btcdeb.

kallewoof avatar kallewoof commented on June 20, 2024

@xsats I'm going to close this as I think the problem is solved. Please respond or open a new issue if you have any issues still on latest master.

from btcdeb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.