Skip to content

Instantly share code, notes, and snippets.

@wankdanker
Created April 21, 2015 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wankdanker/9338b776d360e6a319bd to your computer and use it in GitHub Desktop.
Save wankdanker/9338b776d360e6a319bd to your computer and use it in GitHub Desktop.
make: Entering directory `/home/dverweire/projects/node/node-odbc/build'
CXX(target) Release/obj.target/odbc_bindings/src/odbc.o
../src/odbc.cpp: In static member function ‘static void ODBC::Init(v8::Handle<v8::Object>)’:
../src/odbc.cpp:65:16: warning: unused variable ‘isolate’ [-Wunused-variable]
v8::Isolate* isolate = v8::Isolate::GetCurrent();
../node_modules/nan/nan_new.h: In instantiation of ‘typename NanIntern::Factory<T>::return_t NanNew(A0) [with T = v8::Integer; A0 = long int; typename NanIntern::Factory<T>::return_t = v8::Local<v8::Integer>]’:
../src/odbc.cpp:386:18: required from here
../node_modules/nan/nan_new.h:209:41: error: call of overloaded ‘New(long int&)’ is ambiguous
return NanIntern::Factory<T>::New(arg0);
^
../node_modules/nan/nan_new.h:209:41: note: candidates are:
In file included from ../node_modules/nan/nan_new.h:190:0,
from ../node_modules/nan/nan.h:80,
from ../src/odbc.h:23,
from ../src/odbc.cpp:25:
../node_modules/nan/nan_implementation_12_inl.h:115:1: note: static NanIntern::IntegerFactory<T>::return_t NanIntern::IntegerFactory<T>::New(int32_t) [with T = v8::Integer; NanIntern::IntegerFactory<T>::return_t = v8::Local<v8::Integer>; int32_t = int]
IntegerFactory<T>::New(int32_t value) {
^
In file included from ../node_modules/nan/nan.h:80:0,
from ../src/odbc.h:23,
from ../src/odbc.cpp:25:
../node_modules/nan/nan_new.h:110:26: note: static NanIntern::IntegerFactory<T>::return_t NanIntern::IntegerFactory<T>::New(uint32_t) [with T = v8::Integer; NanIntern::IntegerFactory<T>::return_t = v8::Local<v8::Integer>; uint32_t = unsigned int]
static inline return_t New(uint32_t value);
^
In file included from ../node_modules/nan/nan.h:80:0,
from ../src/odbc.h:23,
from ../src/odbc.cpp:25:
../node_modules/nan/nan_new.h: In function ‘typename NanIntern::Factory<T>::return_t NanNew(A0) [with T = v8::Integer; A0 = long int; typename NanIntern::Factory<T>::return_t = v8::Local<v8::Integer>]’:
../node_modules/nan/nan_new.h:210:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Release/obj.target/odbc_bindings/src/odbc.o] Error 1
make: Leaving directory `/home/dverweire/projects/node/node-odbc/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/dverweire/.nvm/versions/io.js/v1.8.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:169:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1009:12)
gyp ERR! System Linux 3.13.0-30-generic
gyp ERR! command "/home/dverweire/.nvm/versions/io.js/v1.8.1/bin/iojs" "/home/dverweire/.nvm/versions/io.js/v1.8.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/dverweire/projects/node/node-odbc
gyp ERR! node -v v1.8.1
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.13.0-30-generic
npm ERR! argv "/home/dverweire/.nvm/versions/io.js/v1.8.1/bin/iojs" "/home/dverweire/.nvm/versions/io.js/v1.8.1/bin/npm" "install"
npm ERR! node v1.8.1
npm ERR! npm v2.8.3
npm ERR! code ELIFECYCLE
npm ERR! odbc@0.6.13 preinstall: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the odbc@0.6.13 preinstall script 'node-gyp configure build'.
npm ERR! This is most likely a problem with the odbc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls odbc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/dverweire/projects/node/node-odbc/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment