You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to get the following errors installing on a raspberry pi2 with raspian and razberry z wave controller.
Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp: In member function ‘std::string OpenZWave::CommandClass::ExtractValue(const uint8_, uint8_, uint8_, uint8) const’:
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:411:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:411:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:419:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:419:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp: In member function ‘virtual void OpenZWave::CommandClass::ReadXML(const TiXmlElement_)’:
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:185:6: warning: ‘instance’ may be used uninitialized in this function [-Wuninitialized]
../deps/open-zwave/cpp/src/platform/unix/EventImpl.cpp: In member function ‘void OpenZWave::EventImpl::Set()’:
../deps/open-zwave/cpp/src/platform/unix/EventImpl.cpp:92:81: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘int’ [-Wformat]
CXX(target) Release/obj.target/libopenzwave/deps/open-zwave/cpp/src/platform/unix/FileOpsImpl.o
CXX(target) Release/obj.target/libopenzwave/deps/open-zwave/cpp/src/platform/unix/LogImpl.o
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp: In member function ‘std::string OpenZWave::LogImpl::GetTimeStampString()’:
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:251:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:251:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp: In member function ‘std::string OpenZWave::LogImpl::GetThreadId()’:
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:291:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘pthread_t {aka long unsigned int}’ [-Wformat]
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:291:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘pthread_t {aka long unsigned int}’ [-Wformat]
../deps/open-zwave/cpp/hidapi/linux/hid.c: In function ‘get_device_string’:
../deps/open-zwave/cpp/hidapi/linux/hid.c:308:6: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
AR(target) Release/obj.target/deps/open-zwave/libopenzwave.a
COPY Release/libopenzwave.a
CXX(target) Release/obj.target/openzwave/src/openzwave.o
../src/openzwave.cc:36:24: error: expected class-name before ‘{’ token
../src/openzwave.cc:37:33: error: ‘Arguments’ does not name a type
../src/openzwave.cc:37:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:38:37: error: ‘Arguments’ does not name a type
../src/openzwave.cc:38:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:39:40: error: ‘Arguments’ does not name a type
../src/openzwave.cc:39:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:40:38: error: ‘Arguments’ does not name a type
../src/openzwave.cc:40:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:41:38: error: ‘Arguments’ does not name a type
../src/openzwave.cc:41:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:42:41: error: ‘Arguments’ does not name a type
../src/openzwave.cc:42:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:43:37: error: ‘Arguments’ does not name a type
../src/openzwave.cc:43:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:44:38: error: ‘Arguments’ does not name a type
../src/openzwave.cc:44:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:45:39: error: ‘Arguments’ does not name a type
../src/openzwave.cc:45:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:46:40: error: ‘Arguments’ does not name a type
../src/openzwave.cc:46:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:47:41: error: ‘Arguments’ does not name a type
../src/openzwave.cc:47:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:48:39: error: ‘Arguments’ does not name a type
../src/openzwave.cc:48:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:49:39: error: ‘Arguments’ does not name a type
../src/openzwave.cc:49:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:54:1: error: ‘uv_async_t’ does not name a type
../src/openzwave.cc: In function ‘void {anonymous}::cb(const OpenZWave::Notification_, void_)’:
../src/openzwave.cc:149:17: error: ‘async’ was not declared in this scope
../src/openzwave.cc:149:22: error: ‘uv_async_send’ was not declared in this scope
../src/openzwave.cc: At global scope:
../src/openzwave.cc:155:23: error: variable or field ‘async_cb_handler’ declared void
../src/openzwave.cc:155:23: error: ‘uv_async_t’ was not declared in this scope
../src/openzwave.cc:155:35: error: ‘handle’ was not declared in this scope
../src/openzwave.cc:155:43: error: expected primary-expression before ‘int’
../src/openzwave.cc:728:1: error: expected ‘}’ at end of input
../src/openzwave.cc:84:24: warning: ‘{anonymous}::znodes_mutex’ defined but not used [-Wunused-variable]
../src/openzwave.cc:87:17: warning: ‘{anonymous}::homeid’ defined but not used [-Wunused-variable]
openzwave.target.mk:98: recipe for target 'Release/obj.target/openzwave/src/openzwave.o' failed
make: *** [Release/obj.target/openzwave/src/openzwave.o] Error 1
make: Leaving directory '/home/peter/node_modules/openzwave/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.18.7-v7+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/peter/node_modules/openzwave
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.18.7-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "openzwave"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the openzwave package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls openzwave
npm ERR! There is likely additional logging output above.
The text was updated successfully, but these errors were encountered:
I seem to get the following errors installing on a raspberry pi2 with raspian and razberry z wave controller.
Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp: In member function ‘std::string OpenZWave::CommandClass::ExtractValue(const uint8_, uint8_, uint8_, uint8) const’:
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:411:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:411:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:419:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:419:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp: In member function ‘virtual void OpenZWave::CommandClass::ReadXML(const TiXmlElement_)’:
../deps/open-zwave/cpp/src/command_classes/CommandClass.cpp:185:6: warning: ‘instance’ may be used uninitialized in this function [-Wuninitialized]
../deps/open-zwave/cpp/src/platform/unix/EventImpl.cpp: In member function ‘void OpenZWave::EventImpl::Set()’:
../deps/open-zwave/cpp/src/platform/unix/EventImpl.cpp:92:81: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘int’ [-Wformat]
CXX(target) Release/obj.target/libopenzwave/deps/open-zwave/cpp/src/platform/unix/FileOpsImpl.o
CXX(target) Release/obj.target/libopenzwave/deps/open-zwave/cpp/src/platform/unix/LogImpl.o
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp: In member function ‘std::string OpenZWave::LogImpl::GetTimeStampString()’:
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:251:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:251:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘long int’ [-Wformat]
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp: In member function ‘std::string OpenZWave::LogImpl::GetThreadId()’:
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:291:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘pthread_t {aka long unsigned int}’ [-Wformat]
../deps/open-zwave/cpp/src/platform/unix/LogImpl.cpp:291:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘pthread_t {aka long unsigned int}’ [-Wformat]
../deps/open-zwave/cpp/hidapi/linux/hid.c: In function ‘get_device_string’:
../deps/open-zwave/cpp/hidapi/linux/hid.c:308:6: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
AR(target) Release/obj.target/deps/open-zwave/libopenzwave.a
COPY Release/libopenzwave.a
CXX(target) Release/obj.target/openzwave/src/openzwave.o
../src/openzwave.cc:36:24: error: expected class-name before ‘{’ token
../src/openzwave.cc:37:33: error: ‘Arguments’ does not name a type
../src/openzwave.cc:37:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:38:37: error: ‘Arguments’ does not name a type
../src/openzwave.cc:38:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:39:40: error: ‘Arguments’ does not name a type
../src/openzwave.cc:39:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:40:38: error: ‘Arguments’ does not name a type
../src/openzwave.cc:40:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:41:38: error: ‘Arguments’ does not name a type
../src/openzwave.cc:41:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:42:41: error: ‘Arguments’ does not name a type
../src/openzwave.cc:42:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:43:37: error: ‘Arguments’ does not name a type
../src/openzwave.cc:43:48: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:44:38: error: ‘Arguments’ does not name a type
../src/openzwave.cc:44:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:45:39: error: ‘Arguments’ does not name a type
../src/openzwave.cc:45:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:46:40: error: ‘Arguments’ does not name a type
../src/openzwave.cc:46:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:47:41: error: ‘Arguments’ does not name a type
../src/openzwave.cc:47:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:48:39: error: ‘Arguments’ does not name a type
../src/openzwave.cc:48:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:49:39: error: ‘Arguments’ does not name a type
../src/openzwave.cc:49:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
../src/openzwave.cc:54:1: error: ‘uv_async_t’ does not name a type
../src/openzwave.cc: In function ‘void {anonymous}::cb(const OpenZWave::Notification_, void_)’:
../src/openzwave.cc:149:17: error: ‘async’ was not declared in this scope
../src/openzwave.cc:149:22: error: ‘uv_async_send’ was not declared in this scope
../src/openzwave.cc: At global scope:
../src/openzwave.cc:155:23: error: variable or field ‘async_cb_handler’ declared void
../src/openzwave.cc:155:23: error: ‘uv_async_t’ was not declared in this scope
../src/openzwave.cc:155:35: error: ‘handle’ was not declared in this scope
../src/openzwave.cc:155:43: error: expected primary-expression before ‘int’
../src/openzwave.cc:728:1: error: expected ‘}’ at end of input
../src/openzwave.cc:84:24: warning: ‘{anonymous}::znodes_mutex’ defined but not used [-Wunused-variable]
../src/openzwave.cc:87:17: warning: ‘{anonymous}::homeid’ defined but not used [-Wunused-variable]
openzwave.target.mk:98: recipe for target 'Release/obj.target/openzwave/src/openzwave.o' failed
make: *** [Release/obj.target/openzwave/src/openzwave.o] Error 1
make: Leaving directory '/home/peter/node_modules/openzwave/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.18.7-v7+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/peter/node_modules/openzwave
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.18.7-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "openzwave"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the openzwave package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls openzwave
npm ERR! There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: