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

make build 编译的出现的问题 #218

Open
xiaoGreaat opened this issue Sep 6, 2018 · 5 comments
Open

make build 编译的出现的问题 #218

xiaoGreaat opened this issue Sep 6, 2018 · 5 comments

Comments

@xiaoGreaat
Copy link

cd cmd/neb; go build -ldflags "-X main.version=1.0.8 -X main.commit=2928567d2871e89e92930ad5c1a27b07905b03f6 -X main.branch=master -X main.compileAt=date +%s" -o ../../neb-2928567d2871e89e92930ad5c1a27b07905b03f6

github.com/nebulasio/go-nebulas/nf/nvm

../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Message::GetScriptOrigin() const’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Isolate::TerminateExecution()’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::V8::ShutdownPlatform()’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Isolate::ThrowException(v8::Localv8::Value)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Script::Run(v8::Localv8::Context)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Object::SetInternalField(int, v8::Localv8::Value)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Message::GetEndColumn(v8::Localv8::Context) const’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Script::Compile(v8::Localv8::Context, v8::Localv8::String, v8::ScriptOrigin*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Isolate::GetHeapStatistics(v8::HeapStatistics*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘memcpy@GLIBC_2.14’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::V8::SetSnapshotDataBlob(v8::StartupData*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Message::GetStartColumn(v8::Localv8::Context) const’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Exception::Error(v8::Localv8::String)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Value::ToInt32(v8::Localv8::Context) const’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Object::DefineOwnProperty(v8::Localv8::Context, v8::Localv8::Name, v8::Localv8::Value, v8::PropertyAttribute)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::ObjectTemplate::New(v8::Isolate*, v8::Localv8::FunctionTemplate)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Context::New(v8::Isolate*, v8::ExtensionConfiguration*, v8::MaybeLocalv8::ObjectTemplate, v8::MaybeLocalv8::Value, v8::DeserializeInternalFieldsCallback)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Isolate::New(v8::Isolate::CreateParams const&)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::JSON::Stringify(v8::Localv8::Context, v8::Localv8::Object, v8::Localv8::String)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::HandleScope::HandleScope(v8::Isolate*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Integer::New(v8::Isolate*, int)’未定义的引用
//usr/local/lib/libv8_libplatform.so:对‘std::__detail::_Prime_rehash_policy::_M_next_bkt(unsigned long) const@GLIBCXX_3.4.18’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::HandleScope::CreateHandle(v8::internal::HeapObject*, v8::internal::Object*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::ArrayBuffer::Allocator::SetProtection(void*, unsigned long, v8::ArrayBuffer::Allocator::Protection)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::TryCatch::StackTrace(v8::Localv8::Context) const’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘vtable for v8::ArrayBuffer::Allocator’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::FunctionTemplate::New(v8::Isolate*, void ()(v8::FunctionCallbackInfov8::Value const&), v8::Localv8::Value, v8::Localv8::Signature, int, v8::ConstructorBehavior)’未定义的引用
//usr/local/lib/libv8_libplatform.so:对‘std::__detail::_Prime_rehash_policy::_M_need_rehash(unsigned long, unsigned long, unsigned long) const@GLIBCXX_3.4.18’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::FunctionTemplate::SetClassName(v8::Localv8::String)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Number::New(v8::Isolate
, double)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Locker::Initialize(v8::Isolate*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Object::SlowGetInternalField(int)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::String::NewStringType, int)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::TryCatch::TryCatch(v8::Isolate*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::ObjectTemplate::SetAccessor(v8::Localv8::String, void ()(v8::Localv8::String, v8::PropertyCallbackInfov8::Value const&), void ()(v8::Localv8::String, v8::Localv8::Value, v8::PropertyCallbackInfo const&), v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::Localv8::AccessorSignature)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::External::New(v8::Isolate*, void*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Value::ToString(v8::Localv8::Context) const’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::V8::InitializeICU(char const*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::ArrayBuffer::Allocator::Free(void*, unsigned long, v8::ArrayBuffer::Allocator::AllocationMode)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::ObjectTemplate::NewInstance(v8::Localv8::Context)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::V8::SetNativesDataBlob(v8::StartupData*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Isolate::GetCurrentContext()’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::ArrayBuffer::Allocator::Reserve(unsigned long)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::V8::InitializePlatform(v8::Platform*)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Template::Set(v8::Localv8::Name, v8::Localv8::Data, v8::PropertyAttribute)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::Object::Get(v8::Localv8::Value)’未定义的引用
../../nf/nvm/native-lib/libnebulasv8.so:对‘v8::V8::ToLocalEmpty()’未定义的引用
collect2: error: ld returned 1 exit status
make: *** [build] 错误 2

@qywang2012
Copy link
Contributor

需要系统先安装v8。
make deploy_lisbs

@xiaoGreaat
Copy link
Author

xiaoGreaat commented Sep 6, 2018

[root@localhost go-nebulas]# .make deploy_lisbs
bash: .make: command not found
[root@localhost go-nebulas]# make deploy_lisbs
make: *** 没有规则可以创建目标“deploy_lisbs”。 @qywang2012

@xiaoGreaat
Copy link
Author

xiaoGreaat commented Sep 6, 2018

请问 有没有官方开发群 @qywang2012

@xiaoGreaat
Copy link
Author

[root@localhost go-nebulas]# make deploy-v8
sudo install nf/nvm/native-lib/*.so /usr/local/lib/
sudo /sbin/ldconfig

@weiht12
Copy link

weiht12 commented Dec 5, 2018

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/
(英文);https://wiki.nebulas.io/zh_CN/latest/ (中文)
Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English) ; https://wiki.nebulas.io/zh_CN/latest/ (Chinese)

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

3 participants