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

undefined refrences tinyxml #14

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments
Open

undefined refrences tinyxml #14

GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

i did exactly as follow:

1. sudo apt-get install subversion

*** open-zwave: ***
2. svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave
3. sudo apt-get install libudev-dev
4. user@ubuntu1004desktop:~/open-zwave/cpp/build/linux$ make

*** libmicrohttpd: ***
5. svn checkout https://gnunet.org/svn/libmicrohttpd/ libmicrohttpd - it 
doesn't work, since svn doesn't contain all files needed, so download 
libmicrohttpd manually from http://freshmeat.net/projects/libmicrohttpd (direct 
link - http://freshmeat.net/urls/6aaea0ce4467311c086c225d761fd5fa) and unpack 
to libmicrohttpd folder
6. user@ubuntu1004desktop:~/libmicrohttpd$ ./configure
7. user@ubuntu1004desktop:~/libmicrohttpd$ make

*** openzwave-control-panel: ***
8. svn checkout http://openzwave-control-panel.googlecode.com/svn/trunk/ 
openzwave-control-panel
9. modify openzwave-control-panel Makefile (comment Mac-related lines and 
uncomment Linux related)
10. user@ubuntu1004desktop:~/openzwave-control-panel$ make clean
11. user@ubuntu1004desktop:~/openzwave-control-panel$ make



and i get errors to undefined refrence to tinyxml methods, open-zwave is 
working well i tested it on MinOZw from examples

Original issue reported on code.google.com by [email protected] on 15 Feb 2013 at 11:10

@GoogleCodeExporter
Copy link
Author

Same here - I get tons of invalid references to tinyxml when compiling under 
Ubuntu 12.04. The default make target in the tinyxml folder is 'xmltest', and 
there is no xmltest.cpp. I was able to build clean a few days ago when checking 
out fresh code from the repo, but now building a new machine the 
latest-greatest code is broken.

After playing with the Makefile to point the includes to the tinyxml.h files, I 
now get this:

console@ub-12:~/projects/zwave/openzwave-control-panel$ make
g++ -c -Wall -Wno-inline -Wno-format -g -DDEBUG -Werror -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/src/platform/unix -I ../open-zwave/cpp/tinyxml/ -I 
../libmicrohttpd-0.9.25/src/include -o webserver.o webserver.cpp
webserver.cpp: In member function âconst char* 
Webserver::SendStatResponse(MHD_Connection*, const char*, const char*, const 
char*, const char*)â:
webserver.cpp:435:63: error: âstruct OpenZWave::Node::NodeDataâ has no member 
named âm_averageRTTâ
webserver.cpp:436:66: error: âstruct OpenZWave::Node::NodeDataâ has no member 
named âm_averageRTTâ
webserver.cpp: In member function âint Webserver::Handler(MHD_Connection*, 
const char*, const char*, const char*, const char*, size_t*, void**)â:
webserver.cpp:1081:15: error: âControllerCommand_AddControllerâ is not a 
member of âOpenZWave::Driverâ
webserver.cpp:1088:48: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1094:48: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1100:48: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1105:15: error: âControllerCommand_RemoveControllerâ is not a 
member of âOpenZWave::Driverâ
webserver.cpp:1112:48: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1120:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1129:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1138:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1145:48: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1153:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1162:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1171:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1180:49: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1191:57: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
webserver.cpp:1202:57: error: invalid conversion from âvoid 
(*)(OpenZWave::Driver::ControllerState, void*)â to 
âOpenZWave::Driver::pfnControllerCallback_t {aka void 
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, 
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error:   initializing argument 3 of 
âbool OpenZWave::Manager::BeginControllerCommand(uint32, 
OpenZWave::Driver::ControllerCommand, 
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â 
[-fpermissive]
make: *** [webserver.o] Error 1




Original comment by [email protected] on 16 Mar 2013 at 10:46

@GoogleCodeExporter
Copy link
Author

Here is the output when compiling the 'clean' repo code ... hope this helps.
svn info: open-zwave = rev 648, openzwave-control-panel = rev 39


Original comment by [email protected] on 16 Mar 2013 at 10:54

Attachments:

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Any resolution?

Original comment by [email protected] on 4 Aug 2014 at 1:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant