Applying the patch that Daniel gave me, I had a failed hunk, but went ahead and tried to finish it out anyway, however: "make all" results in this:
dcerouter_64258:/home/linuxmce/source/trunk/src/ZWave# make all
g++ -c -I.. -I../DCE -DKDE_LMCE -DDEBUG -DTHREAD_LOG -DLOG_ALL_QUERIES -I/opt/libxine1-pluto/include -I/opt/linphone-1.3.5/include -I/usr/include/mysql -Wall -fPIC -ggdb3 Main.cpp -o Main.o
In file included from ../db_wrapper/db_wrapper.h:112,
from ../PlutoUtils/DBHelper.h:23,
from ../pluto_main/Database_pluto_main.h:3,
from ../pluto_main/Table_Device.h:21,
from ../DCE/DeviceData_Router.h:25,
from ../DCE/DCERouter.h:28,
from Main.cpp:8:
../db_wrapper/db_wrapper_mysql.h:7:25: error: mysql/mysql.h: No such file or directory
../PlutoUtils/DBHelper.h:36: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../PlutoUtils/DBHelper.h:36: error: expected ‘;’ before ‘*’ token
../PlutoUtils/DBHelper.h: In constructor ‘PlutoSqlResult::PlutoSqlResult()’:
../PlutoUtils/DBHelper.h:37: error: class ‘PlutoSqlResult’ does not have any field named ‘r’
../PlutoUtils/DBHelper.h: In member function ‘void PlutoSqlResult::ClearResults()’:
../PlutoUtils/DBHelper.h:44: error: ‘r’ was not declared in this scope
../PlutoUtils/DBHelper.h:46: error: ‘mysql_free_result’ was not declared in this scope
../PlutoUtils/DBHelper.h: At global scope:
../PlutoUtils/DBHelper.h:64: error: ISO C++ forbids declaration of ‘MYSQL’ with no type
../PlutoUtils/DBHelper.h:64: error: expected ‘;’ before ‘*’ token
../PlutoUtils/DBHelper.h:164: error: ‘MYSQL’ has not been declared
../PlutoUtils/DBHelper.h:180: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../PlutoUtils/DBHelper.h:180: error: expected ‘;’ before ‘*’ token
../PlutoUtils/DBHelper.h:225: error: expected `;' before ‘int’
../PlutoUtils/DBHelper.h: In constructor ‘DBHelper::DBHelper()’:
../PlutoUtils/DBHelper.h:74: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h: In constructor ‘DBHelper::DBHelper(std::string, std::string, std::string, std::string, int)’:
../PlutoUtils/DBHelper.h:97: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h: In destructor ‘virtual DBHelper::~DBHelper()’:
../PlutoUtils/DBHelper.h:111: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:112: error: ‘mysql_close’ was not declared in this scope
../PlutoUtils/DBHelper.h:113: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h: In member function ‘bool DBHelper::DBConnect(bool)’:
../PlutoUtils/DBHelper.h:133: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:137: error: ‘mysql_close’ was not declared in this scope
../PlutoUtils/DBHelper.h:140: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:142: error: ‘mysql_init’ was not declared in this scope
../PlutoUtils/DBHelper.h:151: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:151: error: ‘mysql_real_connect’ was not declared in this scope
../PlutoUtils/DBHelper.h:154: error: ‘mysql_error’ was not declared in this scope
../PlutoUtils/DBHelper.h: In member function ‘void DBHelper::SetConnection(int*)’:
../PlutoUtils/DBHelper.h:166: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h: In member function ‘std::string DBHelper::md5(std::string)’:
../PlutoUtils/DBHelper.h:173: error: ‘MYSQL_ROW’ was not declared in this scope
../PlutoUtils/DBHelper.h:173: error: expected `;' before ‘row’
../PlutoUtils/DBHelper.h:174: error: ‘class PlutoSqlResult’ has no member named ‘r’
../PlutoUtils/DBHelper.h:174: error: ‘db_wrapper_query_result’ was not declared in this scope
../PlutoUtils/DBHelper.h:174: error: ‘row’ was not declared in this scope
../PlutoUtils/DBHelper.h:174: error: ‘class PlutoSqlResult’ has no member named ‘r’
../PlutoUtils/DBHelper.h:174: error: ‘mysql_fetch_row’ was not declared in this scope
../PlutoUtils/DBHelper.h:177: error: ‘row’ was not declared in this scope
../PlutoUtils/DBHelper.h: In member function ‘int DBHelper::threaded_db_wrapper_query(std::string, bool, bool)’:
../PlutoUtils/DBHelper.h:232: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:232: error: ‘mysql_query’ was not declared in this scope
../PlutoUtils/DBHelper.h:237: error: ‘mysql_error’ was not declared in this scope
../PlutoUtils/DBHelper.h:261: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:261: error: ‘mysql_affected_rows’ was not declared in this scope
../PlutoUtils/DBHelper.h: In member function ‘int DBHelper::threaded_db_wrapper_query_withID(std::string, bool)’:
../PlutoUtils/DBHelper.h:273: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:273: error: ‘mysql_query’ was not declared in this scope
../PlutoUtils/DBHelper.h:276: error: ‘mysql_error’ was not declared in this scope
../PlutoUtils/DBHelper.h:300: error: ‘m_pDB’ was not declared in this scope
../PlutoUtils/DBHelper.h:300: error: ‘mysql_insert_id’ was not declared in this scope
make: *** [Main.o] Error 1