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

Build errors!! #186

Open
hysystem opened this issue Sep 21, 2018 · 8 comments
Open

Build errors!! #186

hysystem opened this issue Sep 21, 2018 · 8 comments
Labels
build dev-FIXED fixed in `dev` branch, will be merged with master upon release
Milestone

Comments

@hysystem
Copy link

on_a-chainparams.o -MD -MP -MF .deps/libbitcoin_common_a-chainparams.Tpo -c -o libbitcoin_common_a-chainparams.o test -f 'chainparams.cpp' || echo './'chainparams.cpp
chainparams.cpp: In constructor ‘CMainParams::CMainParams()’:
chainparams.cpp:52:19: error: ‘struct Consensus::Params’ has no member named ‘fPowAllowMinDifficultyBlocks’
consensus.fPowAllowMinDifficultyBlocks = false;
^
chainparams.cpp: In constructor ‘CTestNetParams::CTestNetParams()’:
chainparams.cpp:228:19: error: ‘struct Consensus::Params’ has no member named ‘fPowAllowMinDifficultyBlocks’
consensus.fPowAllowMinDifficultyBlocks = true;
^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-builtin-declaration-mismatch" [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [libbitcoin_common_a-chainparams.o] Error 1
make[2]: Leaving directory /data/zclassic/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /data/zclassic/src'
make: *** [all-recursive] Error 1

@nimbosa nimbosa added the build label Sep 22, 2018
@nimbosa
Copy link
Member

nimbosa commented Sep 22, 2018

hi @iasoo, are you using the latest master here on github? if not, please pull from the latest changes, Thanks!

@nimbosa
Copy link
Member

nimbosa commented Sep 22, 2018

also, what Operating System (and version) are you using?

@hysystem
Copy link
Author

LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.5.1804 (Core)
Release: 7.5.1804
Codename: Core
@nimbosa

@hysystem
Copy link
Author

hysystem commented Sep 22, 2018

git status

On branch master
nothing to commit, working directory clean

git pull
Already up-to-date.

I using using the latest maste!

@hysystem
Copy link
Author

./zcutil/fetch-params.sh

Zcash - fetch-params.sh

This script will fetch the Zcash zkSNARK parameters and verify their
integrity with sha256sum.

If they already exist locally, it will exit now and do nothing else.
@nimbosa

@hysystem
Copy link
Author

gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)

@nixtechie49
Copy link

Got the same error during build command.

@nimbosa
Copy link
Member

nimbosa commented Sep 22, 2018

  1. need to backport deprecate policy from/for v1.1.1 #187 & doc + policy: use bionic instead of xenial #188 should fix this on xenial, it must be too old by now and bionic is the new LTS, reference client now uses Ubuntu 18.04.1 LTS, we just might make it official and documentation will be updated properly, CentOS builds however are not yet documented, as far as i know

  2. deprecate policy must also be updated

i must have overlooked these as i was working on the Overwinter branch v1.1.1, fixes will follow shortly, thanks for reporting this

@nimbosa nimbosa added this to the v1.1.1 milestone Sep 30, 2018
@nimbosa nimbosa added the dev-FIXED fixed in `dev` branch, will be merged with master upon release label Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build dev-FIXED fixed in `dev` branch, will be merged with master upon release
Projects
None yet
Development

No branches or pull requests

3 participants