Skip to content

NO_ELEMENTS build is broken #506

Description

@jmecom

To reproduce, follow the README build steps, and then configure with:

$ ./configure --disable-elements --disable-elements-abi

Then make will fail with:

Making all in src
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in secp256k1
/Library/Developer/CommandLineTools/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
  CC       libwallycore_la-psbt.lo
psbt.c:4556:54: error: no member named 'asset' in 'struct wally_tx_output'
 4556 |                 append_signing_data(assets, i, utxo->asset, utxo->asset_len);
      |                                                ~~~~  ^
psbt.c:4556:67: error: no member named 'asset_len' in 'struct wally_tx_output'
 4556 |                 append_signing_data(assets, i, utxo->asset, utxo->asset_len);
      |                                                             ~~~~  ^
psbt.c:4557:54: error: no member named 'value' in 'struct wally_tx_output'
 4557 |                 append_signing_data(values, i, utxo->value, utxo->value_len);
      |                                                ~~~~  ^
psbt.c:4557:67: error: no member named 'value_len' in 'struct wally_tx_output'
 4557 |                 append_signing_data(values, i, utxo->value, utxo->value_len);
      |                                                             ~~~~  ^
psbt.c:4615:23: error: no member named 'genesis_blockhash' in 'struct wally_psbt'
 4615 |                 psbt->genesis_blockhash, sizeof(psbt->genesis_blockhash),
      |                 ~~~~  ^
psbt.c:4615:55: error: no member named 'genesis_blockhash' in 'struct wally_psbt'
 4615 |                 psbt->genesis_blockhash, sizeof(psbt->genesis_blockhash),
      |                                                 ~~~~  ^
6 errors generated.
make[3]: *** [libwallycore_la-psbt.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions