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

compile error #75

Open
merkleID opened this issue Sep 18, 2018 · 6 comments
Open

compile error #75

merkleID opened this issue Sep 18, 2018 · 6 comments

Comments

@merkleID
Copy link

Hi,
I am experiencing a compile break on ubuntu 16.04-update and git fetch updated.

nohup log file says:

make[2]: Leaving directory '/root/git/multichain/src/secp256k1'
CXXLD libbitcoinconsensus.la
/usr/bin/ar: u' modifier ignored since D' is the default (see `U')
CXX multichain/multichaind-multichaind.o
CXX rpc/multichaind-rpclist.o
CXX chainparams/multichaind-buildgenesis.o
CXX protocol/multichaind-filter.o
In file included from protocol/filter.cpp:4:0:
./v8/v8engine.h:8:16: fatal error: v8.h: No such file or directory
compilation terminated.
Makefile:4322: recipe for target 'protocol/multichaind-filter.o' failed
make[1]: *** [protocol/multichaind-filter.o] Error 1
make[1]: Leaving directory '/root/git/multichain/src'
Makefile:560: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

I posted the same compile error yesterday on multichain Q&A site, but it was under ubuntu 18.04, so I gave it a chance to compile also under ubuntu 16.04 but same error happens.

Thanks,
Luca

@medeirosfalante
Copy link

@lucaonelogin you installed v8 Engine ?

@medeirosfalante
Copy link

@lucaonelogin you did get it ?

@peanuts007
Copy link

I have installed the v8 Engine but I fail now:
CXX protocol/multichaind-filter.o
In file included from protocol/filter.cpp:8:0:
./v8/v8filter.h:86:5: error: ‘Global’ in namespace ‘v8’ does not name a type
v8::Globalv8::Context m_context;
^
./v8/v8filter.h:87:5: error: ‘Global’ in namespace ‘v8’ does not name a type
v8::Globalv8::Function m_filterFunction;

I have repoduced this error under ubuntu 14.04 64bit.

@peanuts007
Copy link

I have looked at the master: https://github.com/MultiChain/multichain/blob/master/README.md
Will try Build Google's V8 locally
Please use the instructions in V8.md to build and install V8 for use by MultiChain.
and see if this resolves the problem.

@virtimus
Copy link

virtimus commented Dec 8, 2018

I've just stucked on v8 compile ("ninja -C $RELEASE" step) on errors like:

In file included from ../../third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:149: ../../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.h:34:21: error: explicitly defaulted copy assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] ParseTreePattern& operator=(ParseTreePattern const&) = default; ^ ../../third_party/antlr4/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.h:97:13: note: copy assignment operator of 'ParseTreePattern' is implicitly deleted because field 'patternRuleIndex' is of const-qualified type 'const int' const int patternRuleIndex; ^ 4 errors generated.

@virtimus
Copy link

virtimus commented Dec 8, 2018

Would be good to have some docker image for source compilation ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants