-
Notifications
You must be signed in to change notification settings - Fork 32
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
Node 0.9.x compilation problems #17
Comments
This repo doesn't seem to be active any more, but there's a fork at |
Same problem here with node v0.10.5
Failed at the [email protected] preinstall script. |
I tried installing leveldb directly instead of as a dependency on databank-leveldb, and noticed this warning:
so maybe the error is legitimate, but still bad news for node users. i'll try the my8bird repo. |
The my8bird repo gives the same error.
|
I'm having the exact same problem, with Ubuntu 12.04 and OSX running node
|
You know what, this might just be a casting issue. See: lloyd/node-memwatch#27 |
Getting errors & some deprecation warnings compiling against the Node 0.9 tree:
CXX(target) Release/obj.target/leveldb/src/cpp/comparator.o
../src/cpp/comparator.cc: In function 'void node_leveldb::UnrefComparator(v8::Persistentv8::Value, void_)':
../src/cpp/comparator.cc:157:3: warning: 'static void_ v8::External::Unwrap(v8::Handlev8::Value)' is deprecated (declared at /home/rektide/archive/node/deps/v8/include/v8.h:4741) [-Wdeprecated-declarations]
CXX(target) Release/obj.target/leveldb/src/cpp/handle.o
In file included from ../src/cpp/handle.cc:18:0:
../src/cpp/options.h: In function 'void node_leveldb::UnpackOptions(v8::Handlev8::Value, leveldb::Options&, v8::Persistentv8::Value_)':
../src/cpp/options.h:70:63: warning: 'static void_ v8::External::Unwrap(v8::Handlev8::Value)' is deprecated (declared at /home/rektide/archive/node/deps/v8/include/v8.h:4741) [-Wdeprecated-declarations]
../src/cpp/options.h: In function 'void node_leveldb::UnpackReadOptions(v8::Handlev8::Value, leveldb::ReadOptions&)':
../src/cpp/options.h:98:61: warning: 'static void* v8::External::Unwrap(v8::Handlev8::Value)' is deprecated (declared at /home/rektide/archive/node/deps/v8/include/v8.h:4741) [-Wdeprecated-declarations]
../src/cpp/handle.cc: In static member function 'static void node_leveldb::JHandle::GetSnapshotAsync::UnrefSnapshot(v8::Persistentv8::Value, void_)':
../src/cpp/handle.cc:426:62: warning: 'static void_ v8::External::Unwrap(v8::Handlev8::Value)' is deprecated (declared at /home/rektide/archive/node/deps/v8/include/v8.h:4741) [-Wdeprecated-declarations]
../src/cpp/handle.cc: In static member function 'static v8::Handlev8::Value node_leveldb::JHandle::New(const v8::Arguments&)':
../src/cpp/handle.cc:611:59: warning: 'static void* v8::External::Unwrap(v8::Handlev8::Value)' is deprecated (declared at /home/rektide/archive/node/deps/v8/include/v8.h:4741) [-Wdeprecated-declarations]
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::ReadAsync]':
../src/cpp/handle.cc:235:38: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::WriteAsync]':
../src/cpp/handle.cc:295:39: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::GetIteratorAsync]':
../src/cpp/handle.cc:341:45: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::GetSnapshotAsync]':
../src/cpp/handle.cc:401:45: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::GetPropertyAsync]':
../src/cpp/handle.cc:469:45: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::GetApproximateSizesAsync]':
../src/cpp/handle.cc:537:53: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::OpenAsync]':
../src/cpp/handle.cc:145:30: required from 'static v8::Handlev8::Value node_leveldb::JHandle::OpenAsync::Hook(const v8::Arguments&) [with T = node_leveldb::JHandle::OpenAsync]'
../src/cpp/handle.cc:592:61: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::DestroyAsync]':
../src/cpp/handle.cc:145:30: required from 'static v8::Handlev8::Value node_leveldb::JHandle::OpenAsync::Hook(const v8::Arguments&) [with T = node_leveldb::JHandle::DestroyAsync]'
../src/cpp/handle.cc:593:67: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In instantiation of 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::RepairAsync]':
../src/cpp/handle.cc:145:30: required from 'static v8::Handlev8::Value node_leveldb::JHandle::OpenAsync::Hook(const v8::Arguments&) [with T = node_leveldb::JHandle::RepairAsync]'
../src/cpp/handle.cc:594:65: required from here
../src/cpp/handle.cc:78:59: error: no matches converting function 'AsyncCallback' to type 'uv_after_work_cb {aka void ()(struct uv_work_s, int)}'
../src/cpp/handle.cc:86:34: error: candidate is: template static void node_leveldb::JHandle::OpAsync::AsyncCallback(uv_work_t_)
../src/cpp/handle.cc: In static member function 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::RepairAsync]':
../src/cpp/handle.cc:79:3: warning: control reaches end of non-void function [-Wreturn-type]
../src/cpp/handle.cc: In static member function 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::DestroyAsync]':
../src/cpp/handle.cc:79:3: warning: control reaches end of non-void function [-Wreturn-type]
../src/cpp/handle.cc: In static member function 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::OpenAsync]':
../src/cpp/handle.cc:79:3: warning: control reaches end of non-void function [-Wreturn-type]
../src/cpp/handle.cc: In static member function 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T_) [with T = node_leveldb::JHandle::GetApproximateSizesAsync]':
../src/cpp/handle.cc:79:3: warning: control reaches end of non-void function [-Wreturn-type]
../src/cpp/handle.cc: In static member function 'static v8::Handlev8::Value node_leveldb::JHandle::OpAsync::AsyncEnqueue(T*) [with T = node_leveldb::JHandle::GetPropertyAsync]':
../src/cpp/handle.cc:79:3: warning: control reaches end of non-void function [-Wreturn-type]
The text was updated successfully, but these errors were encountered: