Open GoogleCodeExporter opened 9 years ago
Latest versions of the programs needed and added changes
in Makefile change LIBZWAVE path from "$(OPENZWAVE)/cpp/lib/linux/*.a" to
"$(OPENZWAVE)/cpp/build/*.a" and add to LIBS list " -lrt removed mac and added
linux.
When run make on Mint Linux 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Werror -Wno-format -g -DDEBUG -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/src/include -o ozwcp.o ozwcp.cpp
ozwcp.cpp: In member function ‘void MyNode::updatePoll(char*, char*)’:
ozwcp.cpp:317:30: error: format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘std::vector<char*>::size_type {aka long unsigned
int}’ [-Werror=format=]
ids.size(), polls.size());
^
ozwcp.cpp:317:30: error: format ‘%d’ expects argument of type ‘int’,
but argument 4 has type ‘std::vector<bool>::size_type {aka long unsigned
int}’ [-Werror=format=]
cc1plus: all warnings being treated as errors
make: *** [ozwcp.o] Error 1
Any idea
Original comment by roy.sven...@gmail.com
on 28 Nov 2014 at 11:15
Apparently there were modifications to open-zwave project that changed stucture
of some objects. Just put "//" in front of mentioned lines, as they are only
there for information.
Original comment by oleksii.g@gmail.com
on 9 Dec 2014 at 5:10
Hi, I am having linker errors on Mac: Here is my Makefile https://gist.github.com/rbaindourov/41c8fb7034ab2db2c5f2b8fb4c36fc3d
Here are my build errors:
RBAINDOU-M-4116:open-zwave-control-panel robert$ make
g++ -arch i386 -arch x86_64 -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/src/include -o webserver.o webserver.cpp
webserver.cpp:111:13: warning: 'MHD_create_response_from_data' is deprecated: MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer() [-Wdeprecated-declarations]
response = MHD_create_response_from_data(strlen(data), (void *)data, free ? MHD_YES : MHD_NO, copy ? MHD_YES : MHD_NO);
^
../libmicrohttpd/src/include/microhttpd.h:2068:1: note: 'MHD_create_response_from_data' has been explicitly marked deprecated here
MHD_create_response_from_data (size_t size,
^
webserver.cpp:168:15: warning: 'MHD_create_response_from_data' is deprecated: MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer() [-Wdeprecated-declarations]
response = MHD_create_response_from_data(0, (void *)"", MHD_NO, MHD_NO);
^
../libmicrohttpd/src/include/microhttpd.h:2068:1: note: 'MHD_create_response_from_data' has been explicitly marked deprecated here
MHD_create_response_from_data (size_t size,
^
webserver.cpp:177:15: warning: 'MHD_create_response_from_data' is deprecated: MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer() [-Wdeprecated-declarations]
response = MHD_create_response_from_data(len, (void *)s, MHD_YES, MHD_NO); // free
^
../libmicrohttpd/src/include/microhttpd.h:2068:1: note: 'MHD_create_response_from_data' has been explicitly marked deprecated here
MHD_create_response_from_data (size_t size,
^
webserver.cpp:992:79: warning: format specifies type 'unsigned int' but the argument has type 'pthread_t' (aka '_opaque_pthread_t *') [-Wformat]
fprintf(stderr, "Inboud Request: %x: %s: \"%s\" conn=%x size=%lu *ptr=%x\n", pthread_self(), method, url, conn, *up_data_size, *ptr);
~~ ^~~~~~~~~~~~~~
webserver.cpp:992:108: warning: format specifies type 'unsigned int' but the argument has type 'struct MHD_Connection *' [-Wformat]
fprintf(stderr, "Inboud Request: %x: %s: \"%s\" conn=%x size=%lu *ptr=%x\n", pthread_self(), method, url, conn, *up_data_size, *ptr);
~~ ^~~~
webserver.cpp:992:129: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
fprintf(stderr, "Inboud Request: %x: %s: \"%s\" conn=%x size=%lu *ptr=%x\n", pthread_self(), method, url, conn, *up_data_size, *ptr);
~~ ^~~~
6 warnings generated.
Undefined symbols for architecture i386:
"_MHD_add_response_header", referenced from:
web_send_file(MHD_Connection*, char const*, int, bool) in webserver-e27e80.o
web_send_data(MHD_Connection*, char const*, int, bool, bool, char const*) in webserver-e27e80.o
"_MHD_create_post_processor", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_MHD_create_response_from_callback", referenced from:
web_send_file(MHD_Connection*, char const*, int, bool) in webserver-e27e80.o
"_MHD_create_response_from_data", referenced from:
web_send_file(MHD_Connection*, char const*, int, bool) in webserver-e27e80.o
web_send_data(MHD_Connection*, char const*, int, bool, bool, char const*) in webserver-e27e80.o
"_MHD_destroy_post_processor", referenced from:
Webserver::Free(MHD_Connection*, void**, MHD_RequestTerminationCode) in webserver-e27e80.o
"_MHD_destroy_response", referenced from:
web_send_file(MHD_Connection*, char const*, int, bool) in webserver-e27e80.o
web_send_data(MHD_Connection*, char const*, int, bool, bool, char const*) in webserver-e27e80.o
"_MHD_post_process", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_MHD_queue_response", referenced from:
web_send_file(MHD_Connection*, char const*, int, bool) in webserver-e27e80.o
web_send_data(MHD_Connection*, char const*, int, bool, bool, char const*) in webserver-e27e80.o
"_MHD_start_daemon", referenced from:
Webserver::Webserver(int, char*) in webserver-e27e80.o
"_MHD_stop_daemon", referenced from:
Webserver::~Webserver() in webserver-e27e80.o
"_SUCnodeId", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"nodeBasicStr(unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"valueTypeStr(OpenZWave::ValueID::ValueType)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"valueGenreStr(OpenZWave::ValueID::ValueGenre)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"controllerErrorStr(OpenZWave::Driver::ControllerError)", referenced from:
web_controller_update(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError, void*) in webserver-e27e80.o
"cclassStr(unsigned char)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"TiXmlString::assign(char const*, unsigned long)", referenced from:
TiXmlString::operator=(char const*) in webserver-e27e80.o
"TiXmlString::nullrep_", referenced from:
TiXmlString::quit() in webserver-e27e80.o
"TiXmlElement::SetAttribute(char const*, char const*)", referenced from:
Webserver::web_get_groups(int, TiXmlElement*) in webserver-e27e80.o
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
newstat(char const*, char const*, unsigned int) in webserver-e27e80.o
newstat(char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
...
"TiXmlElement::SetAttribute(char const*, int)", referenced from:
Webserver::web_get_groups(int, TiXmlElement*) in webserver-e27e80.o
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"TiXmlElement::TiXmlElement(char const*)", referenced from:
Webserver::web_get_groups(int, TiXmlElement*) in webserver-e27e80.o
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
newstat(char const*, char const*, unsigned int) in webserver-e27e80.o
newstat(char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
...
"TiXmlDocument::TiXmlDocument()", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"TiXmlDeclaration::TiXmlDeclaration(char const*, char const*, char const*)", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"MyNode::getRemoved()", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"MyNode::updatePoll(char*, char*)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"MyNode::nodechanged", referenced from:
MyNode::getAnyChanged() in webserver-e27e80.o
MyNode::setChanged(bool) in webserver-e27e80.o
"MyNode::updateGroup(unsigned char, unsigned char, char*)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"MyNode::getValueCount()", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"MyNode::setAllChanged(bool)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"MyNode::lookup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"MyNode::removed", referenced from:
MyNode::getRemovedCount() in webserver-e27e80.o
"MyNode::getGroup(unsigned char)", referenced from:
Webserver::web_get_groups(int, TiXmlElement*) in webserver-e27e80.o
"MyNode::getValue(unsigned char)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"MyNode::nodecount", referenced from:
MyNode::getNodeCount() in webserver-e27e80.o
"OpenZWave::Manager::RemoveNode(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::s_instance", referenced from:
OpenZWave::Manager::Get() in webserver-e27e80.o
"OpenZWave::Manager::CreateScene()", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeName(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeType(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::HealNetwork(unsigned int, bool)", referenced from:
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeAwake(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::PressButton(OpenZWave::ValueID const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::RemoveScene(unsigned char)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::SetNodeName(unsigned int, unsigned char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::TestNetwork(unsigned int, unsigned int)", referenced from:
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::WriteConfig(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::CreateButton(unsigned int, unsigned char, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::DeleteButton(unsigned int, unsigned char, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetAllScenes(unsigned char**)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeBasic(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueHelp(OpenZWave::ValueID const&)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeFailed(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::RemoveDriver(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::ActivateScene(unsigned char)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::AddSceneValue(unsigned char, OpenZWave::ValueID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetSceneLabel(unsigned char)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueLabel(OpenZWave::ValueID const&)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueUnits(OpenZWave::ValueID const&)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::HasNodeFailed(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::ReleaseButton(OpenZWave::ValueID const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::SetSceneLabel(unsigned char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::SetSceneValue(unsigned char, OpenZWave::ValueID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::SceneGetValues(unsigned char, std::__1::vector<OpenZWave::ValueID, std::__1::allocator<OpenZWave::ValueID> >*)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeLocation(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::HealNetworkNode(unsigned int, unsigned char, bool)", referenced from:
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeZWavePlus(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::IsValueReadOnly(OpenZWave::ValueID const&)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::RefreshNodeInfo(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::ReplicationSend(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::ResetController(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::SetNodeLocation(unsigned int, unsigned char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::TestNetworkNode(unsigned int, unsigned char, unsigned int)", referenced from:
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::CreateNewPrimary(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeNeighbors(unsigned int, unsigned char, unsigned char**)", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueAsString(OpenZWave::ValueID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::RemoveFailedNode(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::RemoveSceneValue(unsigned char, OpenZWave::ValueID const&)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::AssignReturnRoute(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeQueryStage(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeRoleString(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeStatistics(unsigned int, unsigned char, OpenZWave::Node::NodeData*)", referenced from:
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueListItems(OpenZWave::ValueID const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::ReplaceFailedNode(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeProductName(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::RequestNodeDynamic(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetDriverStatistics(unsigned int, OpenZWave::Driver::DriverData*)", referenced from:
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeBeamingDevice(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeRoutingDevice(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::SendNodeInformation(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::TransferPrimaryRole(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeSecurityDevice(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::ReceiveConfiguration(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::RequestNetworkUpdate(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::DeleteAllReturnRoutes(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetNodePlusTypeString(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueListSelection(OpenZWave::ValueID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeListeningDevice(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::SceneGetValueAsString(unsigned char, OpenZWave::ValueID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)", referenced from:
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"OpenZWave::Manager::GetValueFloatPrecision(OpenZWave::ValueID const&, unsigned char*)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::RequestAllConfigParams(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::CancelControllerCommand(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeDeviceTypeString(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::GetNodeManufacturerName(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::RequestNodeNeighborUpdate(unsigned int, unsigned char)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::IsNodeFrequentListeningDevice(unsigned int, unsigned char)", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"OpenZWave::Manager::AddNode(unsigned int, bool)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::SetValue(OpenZWave::ValueID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::isPolled(OpenZWave::ValueID const&)", referenced from:
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
"OpenZWave::Manager::AddDriver(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, OpenZWave::Driver::ControllerInterface const&)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"OpenZWave::Manager::SoftReset(unsigned int)", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"TiXmlNode::LinkEndChild(TiXmlNode*)", referenced from:
Webserver::web_get_groups(int, TiXmlElement*) in webserver-e27e80.o
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
newstat(char const*, char const*, unsigned int) in webserver-e27e80.o
newstat(char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
...
"TiXmlNode::TiXmlNode(TiXmlNode::NodeType)", referenced from:
TiXmlText::TiXmlText(char const*) in webserver-e27e80.o
"TiXmlNode::~TiXmlNode()", referenced from:
TiXmlText::TiXmlText(char const*) in webserver-e27e80.o
TiXmlDocument::~TiXmlDocument() in webserver-e27e80.o
"TiXmlDocument::Print(__sFILE*, int) const", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"TiXmlDocument::SaveFile(char const*) const", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"vtable for TiXmlDocument", referenced from:
TiXmlDocument::~TiXmlDocument() in webserver-e27e80.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for TiXmlText", referenced from:
TiXmlText::TiXmlText(char const*) in webserver-e27e80.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"_cmode", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"_debug", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendSceneResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
"_done", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_glock", referenced from:
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_homeId", referenced from:
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendTestHealResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_main", referenced from:
implicit entry/start for main executable
"_needsave", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_nlock", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
"_nodeId", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
"_nodes", referenced from:
Webserver::web_get_groups(int, TiXmlElement*) in webserver-e27e80.o
Webserver::web_get_values(int, TiXmlElement*) in webserver-e27e80.o
Webserver::SendTopoResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendStatResponse(MHD_Connection*, char const*, char const*, char const*, char const*) in webserver-e27e80.o
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
Webserver::Handler(MHD_Connection*, char const*, char const*, char const*, char const*, unsigned long*, void**) in webserver-e27e80.o
(maybe you meant: __ZN8rapidxml8xml_nodeIcE16remove_all_nodesEv)
"_noop", referenced from:
Webserver::SendPollResponse(MHD_Connection*) in webserver-e27e80.o
ld: symbol(s) not found for architecture i386
webserver.cpp:111:13: warning: 'MHD_create_response_from_data' is deprecated: MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer() [-Wdeprecated-declarations]
response = MHD_create_response_from_data(strlen(data), (void *)data, free ? MHD_YES : MHD_NO, copy ? MHD_YES : MHD_NO);
^
../libmicrohttpd/src/include/microhttpd.h:2068:1: note: 'MHD_create_response_from_data' has been explicitly marked deprecated here
MHD_create_response_from_data (size_t size,
^
webserver.cpp:168:15: warning: 'MHD_create_response_from_data' is deprecated: MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer() [-Wdeprecated-declarations]
response = MHD_create_response_from_data(0, (void *)"", MHD_NO, MHD_NO);
^
../libmicrohttpd/src/include/microhttpd.h:2068:1: note: 'MHD_create_response_from_data' has been explicitly marked deprecated here
MHD_create_response_from_data (size_t size,
^
webserver.cpp:177:15: warning: 'MHD_create_response_from_data' is deprecated: MHD_create_response_from_data() is deprecated, use MHD_create_response_from_buffer() [-Wdeprecated-declarations]
response = MHD_create_response_from_data(len, (void *)s, MHD_YES, MHD_NO); // free
^
../libmicrohttpd/src/include/microhttpd.h:2068:1: note: 'MHD_create_response_from_data' has been explicitly marked deprecated here
MHD_create_response_from_data (size_t size,
^
webserver.cpp:992:79: warning: format specifies type 'unsigned int' but the argument has type 'pthread_t' (aka '_opaque_pthread_t *') [-Wformat]
fprintf(stderr, "Inboud Request: %x: %s: \"%s\" conn=%x size=%lu *ptr=%x\n", pthread_self(), method, url, conn, *up_data_size, *ptr);
~~ ^~~~~~~~~~~~~~
webserver.cpp:992:108: warning: format specifies type 'unsigned int' but the argument has type 'struct MHD_Connection *' [-Wformat]
fprintf(stderr, "Inboud Request: %x: %s: \"%s\" conn=%x size=%lu *ptr=%x\n", pthread_self(), method, url, conn, *up_data_size, *ptr);
~~ ^~~~
webserver.cpp:992:129: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat]
fprintf(stderr, "Inboud Request: %x: %s: \"%s\" conn=%x size=%lu *ptr=%x\n", pthread_self(), method, url, conn, *up_data_size, *ptr);
~~ ^~~~
6 warnings generated.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [webserver.o] Error 1
RBAINDOU-M-4116:open-zwave-control-panel robert$
Original issue reported on code.google.com by
oleksii.g@gmail.com
on 25 Sep 2014 at 12:59