Git Product home page Git Product logo

1-click-lux-builder's People

Contributors

216k155 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

1-click-lux-builder's Issues

Compilation error - ‘const class CScript’ has no member named ‘IsWitnessProgram’

Command:
sudo apt-get install git && git clone https://github.com/216k155/1-click-lux-builder && cd 1-click-lux-builder && sudo sh ./build-luxd.sh

Result:

╒════════════════════════════════════════════════════════════════════════════════>>
| Building luxCoin...this may take a few minutes...
╘════════════════════════════════════════════<<<
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wunused-function -Wunused-variable -fpermissive -Wconversion-null -Wmaybe-uninitialized -g -DBOOST_SPIRIT_THREADSAFE -I/home/sujen/lux/src -I/home/sujen/lux/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/home/sujen/lux/src/leveldb/include -I/home/sujen/lux/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/script.d -o obj/script.o script.cpp
In file included from main.h:12:0,
from script.cpp:17:
net.h: In member function ‘void CNode::AskFor(const CInv&, bool)’:
net.h:466:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
net.h:468:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
mapAskFor.insert(std::make_pair(nRequestTime, inv));
^~~~~~~~~
script.cpp: In function ‘const char* GetTxnOutputType(txnouttype)’:
script.cpp:189:12: warning: enumeration value ‘TX_WITNESS_V0_SCRIPTHASH’ not handled in switch [-Wswitch]
switch (t)
^
script.cpp:189:12: warning: enumeration value ‘TX_WITNESS_V0_KEYHASH’ not handled in switch [-Wswitch]
script.cpp:189:12: warning: enumeration value ‘TX_CREATE’ not handled in switch [-Wswitch]
script.cpp:189:12: warning: enumeration value ‘TX_CALL’ not handled in switch [-Wswitch]
script.cpp: In function ‘bool Solver(const CKeyStore&, const CScript&, uint256, int, CScript&, txnouttype&)’:
script.cpp:2438:12: warning: enumeration value ‘TX_WITNESS_V0_SCRIPTHASH’ not handled in switch [-Wswitch]
switch (whichTypeRet)
^
script.cpp:2438:12: warning: enumeration value ‘TX_WITNESS_V0_KEYHASH’ not handled in switch [-Wswitch]
script.cpp:2438:12: warning: enumeration value ‘TX_CREATE’ not handled in switch [-Wswitch]
script.cpp:2438:12: warning: enumeration value ‘TX_CALL’ not handled in switch [-Wswitch]
script.cpp: In function ‘int ScriptSigArgsExpected(txnouttype, const std::vector<std::vector >&)’:
script.cpp:2469:12: warning: enumeration value ‘TX_WITNESS_V0_SCRIPTHASH’ not handled in switch [-Wswitch]
switch (t)
^
script.cpp:2469:12: warning: enumeration value ‘TX_WITNESS_V0_KEYHASH’ not handled in switch [-Wswitch]
script.cpp:2469:12: warning: enumeration value ‘TX_CREATE’ not handled in switch [-Wswitch]
script.cpp:2469:12: warning: enumeration value ‘TX_CALL’ not handled in switch [-Wswitch]
script.cpp: In function ‘bool IsMine(const CKeyStore&, const CScript&)’:
script.cpp:2550:12: warning: enumeration value ‘TX_WITNESS_V0_SCRIPTHASH’ not handled in switch [-Wswitch]
switch (whichType)
^
script.cpp:2550:12: warning: enumeration value ‘TX_WITNESS_V0_KEYHASH’ not handled in switch [-Wswitch]
script.cpp:2550:12: warning: enumeration value ‘TX_CREATE’ not handled in switch [-Wswitch]
script.cpp:2550:12: warning: enumeration value ‘TX_CALL’ not handled in switch [-Wswitch]
script.cpp: In function ‘size_t CountWitnessSigOps(const CScript&, const CScript&, const CScriptWitness*, unsigned int)’:
script.cpp:2850:22: error: ‘const class CScript’ has no member named ‘IsWitnessProgram’
if (scriptPubKey.IsWitnessProgram(witnessversion, witnessprogram)) {
^~~~~~~~~~~~~~~~
script.cpp:2862:23: error: ‘class CScript’ has no member named ‘IsWitnessProgram’
if (subscript.IsWitnessProgram(witnessversion, witnessprogram)) {
^~~~~~~~~~~~~~~~
script.cpp: In function ‘CScript CombineSignatures(CScript, const CTransaction&, unsigned int, txnouttype, const std::vector<std::vector >&, std::vector<std::vector >&, std::vector<std::vector >&)’:
script.cpp:2998:12: warning: enumeration value ‘TX_WITNESS_V0_SCRIPTHASH’ not handled in switch [-Wswitch]
switch (txType)
^
script.cpp:2998:12: warning: enumeration value ‘TX_WITNESS_V0_KEYHASH’ not handled in switch [-Wswitch]
script.cpp:2998:12: warning: enumeration value ‘TX_CREATE’ not handled in switch [-Wswitch]
script.cpp:2998:12: warning: enumeration value ‘TX_CALL’ not handled in switch [-Wswitch]
script.cpp: At global scope:
script.cpp:3111:42: error: no ‘bool CScript::IsPayToWitnessScriptHash() const’ member function declared in class ‘CScript’
bool CScript::IsPayToWitnessScriptHash() const
^~~~~
script.cpp:3121:83: error: no ‘bool CScript::IsWitnessProgram(int&, std::vector&) const’ member function declared in class ‘CScript’
cript::IsWitnessProgram(int& version, std::vector& program) const
^~~~~
script.cpp:3137:6: error: prototype for ‘bool CScript::IsPushOnly(std::vector::const_iterator) const’ does not match any in class ‘CScript’
bool CScript::IsPushOnly(const_iterator pc) const
^~~~~~~
In file included from script.cpp:13:0:
script.h:886:10: error: candidate is: bool CScript::IsPushOnly() const
bool IsPushOnly() const
^~~~~~~~~~
script.cpp:3154:6: error: redefinition of ‘bool CScript::IsPushOnly() const’
bool CScript::IsPushOnly() const
^~~~~~~
In file included from script.cpp:13:0:
script.h:886:10: note: ‘bool CScript::IsPushOnly() const’ previously defined here
bool IsPushOnly() const
^~~~~~~~~~
In file included from util.h:16:0,
from script.h:19,
from script.cpp:13:
tinyformat.h: In static member function ‘static const char* tinyformat::detail::FormatIterator::streamStateFromFormat(std::ostream&, unsigned int&, const char*, int, int)’:
tinyformat.h:785:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:786:9: note: here
case 'x': case 'p':
^~~~
tinyformat.h:791:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:792:9: note: here
case 'e':
^~~~
tinyformat.h:797:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:798:9: note: here
case 'f':
^~~~
tinyformat.h:802:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
out.setf(std::ios::uppercase);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
tinyformat.h:803:9: note: here
case 'g':
^~~~
makefile.unix:213: recipe for target 'obj/script.o' failed
make: *** [obj/script.o] Error 1
╒════════════════════════════════════════════════════════════════════════════════>>
| An error occured, you must fix it to continue!
╘════════════════════════════════════════════<<<

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.