Z-wave wrapper compile problem

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
jdr0berts
Starting Member
Starting Member
Posts: 16
Joined: Fri Apr 13, 2012 1:17 pm

Z-wave wrapper compile problem

Post by jdr0berts »

I'm trying to build the z-wave wrapper - I've followed the instructions as per the wiki, as was well until:

Code: Select all

$ cd ~/domotiga/wrappers/domozwave
$ ln -s ~/install/open-zwave-read-only ./open-zwave
$ make
Which failed to compile with the following errors:

Code: Select all

g++ -c -Wall -Wno-format -g -DDEBUG -fPIC -I open-zwave/cpp/src -I open-zwave/cpp/src/command_classes/ -I open-zwave/cpp/src/value_classes/ -I open-zwave/cpp/src/platform/ -I open-zwave/cpp/tinyxml/ -I open-zwave/cpp/build/linux/ -I default/ -o DomoZWave.o DomoZWave.cpp
DomoZWave.cpp: In function ‘void OnNotification(const OpenZWave::Notification*, void*)’:
DomoZWave.cpp:1437:8: error: ‘Type_MsgComplete’ is not a member of ‘OpenZWave::Notification’
DomoZWave.cpp:1462:8: error: ‘Type_Error’ is not a member of ‘OpenZWave::Notification’
DomoZWave.cpp:1465:64: error: ‘const class OpenZWave::Notification’ has no member named ‘GetErrorCode’
DomoZWave.cpp: In function ‘const char* DomoZWave_GetDriverStatistics(int32)’:
DomoZWave.cpp:3227:79: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_SOFCnt’
DomoZWave.cpp:3227:94: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_ACKWaiting’
DomoZWave.cpp:3227:113: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_readAborts’
DomoZWave.cpp:3227:132: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_badChecksum’
DomoZWave.cpp:3227:152: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_readCnt’
DomoZWave.cpp:3227:168: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_writeCnt’
DomoZWave.cpp:3227:185: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_CANCnt’
DomoZWave.cpp:3227:200: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_NAKCnt’
DomoZWave.cpp:3227:215: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_ACKCnt’
DomoZWave.cpp:3227:230: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_OOFCnt’
DomoZWave.cpp:3227:245: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_dropped’
DomoZWave.cpp:3227:261: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_retries’
DomoZWave.cpp:3227:277: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_controllerReadCnt’
DomoZWave.cpp:3227:303: error: ‘struct OpenZWave::Driver::DriverData’ has no member named ‘s_controllerWriteCnt’
make: *** [DomoZWave.o] Error 1
Sadly, my coding skills are long since gone, so I'm a little stuck - I have the latest versions of domotiga and open-zwave from svn.

Thanks
James
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: Z-wave wrapper compile problem

Post by wwolkers »

There's already an open issue about this: http://www.domotiga.nl/issues/213, patch is included, but needs to be tested.
It compiles cleanly though.
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Z-wave wrapper compile problem

Post by uAlex73 »

The patch works fine here, but i won't submit it yet into the SVN. One of the main developers of open-zwave will submit new code changes end-of-this-week or weekend which should stabilize the open-zwave code more. After this is done, i will submit it into the SVN (it requires people to upgrade their open-zwave and remove the zwcfg*xml).
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

open-zwave wrapper r598+ will not compile

Post by uAlex73 »

Today an updated open-zwave revision 598+ has been submitted, which isn't backwards compatible. The DomotiGa DomoZWave wrapper has to be updated and will be done in the next 1-1.5 weeks. Until then, please use r591 (command to checkout: svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave -r 591).

http://domotiga.nl/issues/222
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
Post Reply

Return to “DomotiGa Forum”