Hallo Sathya,
/usr/lib64 existiert. Ich habe die Dateien da reinkopiert und die links angelegt. Jetzt startet die compilierung. Allerdings komme ich dann auf Fehler:
…
mv -f ScriptEngine/.deps/libscriptengine_a-php_sapi.Tpo ScriptEngine/.deps/libscriptengine_a-php_sapi.Po
g++ -DHAVE_CONFIG_H -I. -I… -Wall -std=c++11 -DFORTIFY_SOURCE=2 -DGCRYPT_NO_DEPRECATED -I/usr/include/php7-homegear -I/usr/include/php7-homegear/main -I/usr/include/php7-homegear/sapi -I/usr/include/php7-homegear/TSRM -I/usr/include/php7-homegear/Zend -I/usr/include/php7-homegear/php -I/usr/include/php7-homegear/php/main -I/usr/include/php7-homegear/php/sapi -I/usr/include/php7-homegear/php/TSRM -I/usr/include/php7-homegear/php/Zend -DLINUXSYSTEM -g -O2 -MT ScriptEngine/libscriptengine_a-ScriptEngineClient.o -MD -MP -MF ScriptEngine/.deps/libscriptengine_a-ScriptEngineClient.Tpo -c -o ScriptEngine/libscriptengine_a-ScriptEngineClient.o test -f 'ScriptEngine/ScriptEngineClient.cpp' || echo './'
ScriptEngine/ScriptEngineClient.cpp
ScriptEngine/ScriptEngineServer.cpp: In constructor âScriptEngine::ScriptEngineServer::ScriptEngineServer()â:
ScriptEngine/ScriptEngineServer.cpp:39:69: error: no matching function for call to âBaseLib::IQueue::IQueue(std::unique_ptrBaseLib::SharedObjects::pointer, int)â
ScriptEngineServer::ScriptEngineServer() : IQueue(GD::bl.get(), 1000)
^
ScriptEngine/ScriptEngineServer.cpp:39:69: note: candidate is:
In file included from /usr/include/homegear-base/BaseLib.h:75:0,
from ScriptEngine/ScriptEngineClientData.h:34,
from ScriptEngine/ScriptEngineProcess.h:34,
from ScriptEngine/ScriptEngineServer.h:35,
from ScriptEngine/ScriptEngineServer.cpp:31:
/usr/include/homegear-base/IQueue.h:52:2: note: BaseLib::IQueue::IQueue(BaseLib::SharedObjects*, uint32_t, uint32_t)
IQueue(SharedObjects* baseLib, uint32_t queueCount, uint32_t bufferSize);
^
/usr/include/homegear-base/IQueue.h:52:2: note: candidate expects 3 arguments, 2 provided
g++ -DHAVE_CONFIG_H -I. -I… -Wall -std=c++11 -DFORTIFY_SOURCE=2 -DGCRYPT_NO_DEPRECATED -I/usr/include/php7-homegear -I/usr/include/php7-homegear/main -I/usr/include/php7-homegear/sapi -I/usr/include/php7-homegear/TSRM -I/usr/include/php7-homegear/Zend -I/usr/include/php7-homegear/php -I/usr/include/php7-homegear/php/main -I/usr/include/php7-homegear/php/sapi -I/usr/include/php7-homegear/php/TSRM -I/usr/include/php7-homegear/php/Zend -DLINUXSYSTEM -g -O2 -MT ScriptEngine/libscriptengine_a-ScriptEngineClientData.o -MD -MP -MF ScriptEngine/.deps/libscriptengine_a-ScriptEngineClientData.Tpo -c -o ScriptEngine/libscriptengine_a-ScriptEngineClientData.o test -f 'ScriptEngine/ScriptEngineClientData.cpp' || echo './'
ScriptEngine/ScriptEngineClientData.cpp
ScriptEngine/ScriptEngineServer.cpp: In member function âvoid ScriptEngine::ScriptEngineServer::mainThread()â:
ScriptEngine/ScriptEngineServer.cpp:871:34: error: âclass BaseLib::FileDescriptorManagerâ has no member named âlockâ
GD::bl->fileDescriptorManager.lock();
^
ScriptEngine/ScriptEngineServer.cpp:890:34: error: âclass BaseLib::FileDescriptorManagerâ has no member named âunlockâ
GD::bl->fileDescriptorManager.unlock();
^
mv -f ScriptEngine/.deps/libscriptengine_a-PhpEvents.Tpo ScriptEngine/.deps/libscriptengine_a-PhpEvents.Po
g++ -DHAVE_CONFIG_H -I. -I… -Wall -std=c++11 -DFORTIFY_SOURCE=2 -DGCRYPT_NO_DEPRECATED -I/usr/include/php7-homegear -I/usr/include/php7-homegear/main -I/usr/include/php7-homegear/sapi -I/usr/include/php7-homegear/TSRM -I/usr/include/php7-homegear/Zend -I/usr/include/php7-homegear/php -I/usr/include/php7-homegear/php/main -I/usr/include/php7-homegear/php/sapi -I/usr/include/php7-homegear/php/TSRM -I/usr/include/php7-homegear/php/Zend -DLINUXSYSTEM -g -O2 -MT ScriptEngine/libscriptengine_a-ScriptEngineProcess.o -MD -MP -MF ScriptEngine/.deps/libscriptengine_a-ScriptEngineProcess.Tpo -c -o ScriptEngine/libscriptengine_a-ScriptEngineProcess.o test -f 'ScriptEngine/ScriptEngineProcess.cpp' || echo './'
ScriptEngine/ScriptEngineProcess.cpp
Makefile:707: recipe for target ‘ScriptEngine/libscriptengine_a-ScriptEngineServer.o’ failed
make[2]: *** [ScriptEngine/libscriptengine_a-ScriptEngineServer.o] Error 1
make[2]: *** Waiting for unfinished jobs…
ScriptEngine/ScriptEngineClient.cpp: In constructor âScriptEngine::ScriptEngineClient::ScriptEngineClient()â:
ScriptEngine/ScriptEngineClient.cpp:46:69: error: no matching function for call to âBaseLib::IQueue::IQueue(std::unique_ptrBaseLib::SharedObjects::pointer, int)â
ScriptEngineClient::ScriptEngineClient() : IQueue(GD::bl.get(), 1000)
^
ScriptEngine/ScriptEngineClient.cpp:46:69: note: candidate is:
In file included from /usr/include/homegear-base/BaseLib.h:75:0,
from ScriptEngine/…/RPC/RPCMethod.h:37,
from ScriptEngine/ScriptEngineClient.h:35,
from ScriptEngine/ScriptEngineClient.cpp:31:
/usr/include/homegear-base/IQueue.h:52:2: note: BaseLib::IQueue::IQueue(BaseLib::SharedObjects*, uint32_t, uint32_t)
IQueue(SharedObjects* baseLib, uint32_t queueCount, uint32_t bufferSize);
^
/usr/include/homegear-base/IQueue.h:52:2: note: candidate expects 3 arguments, 2 provided
ScriptEngine/ScriptEngineClient.cpp: In member function âvoid ScriptEngine::ScriptEngineClient::start()â:
ScriptEngine/ScriptEngineClient.cpp:204:34: error: âclass BaseLib::FileDescriptorManagerâ has no member named âlockâ
GD::bl->fileDescriptorManager.lock();
^
ScriptEngine/ScriptEngineClient.cpp:206:34: error: âclass BaseLib::FileDescriptorManagerâ has no member named âunlockâ
GD::bl->fileDescriptorManager.unlock();
^
Makefile:721: recipe for target ‘ScriptEngine/libscriptengine_a-ScriptEngineClient.o’ failed
make[2]: *** [ScriptEngine/libscriptengine_a-ScriptEngineClient.o] Error 1
mv -f ScriptEngine/.deps/libscriptengine_a-ScriptEngineClientData.Tpo ScriptEngine/.deps/libscriptengine_a-ScriptEngineClientData.Po
mv -f ScriptEngine/.deps/libscriptengine_a-ScriptEngineProcess.Tpo ScriptEngine/.deps/libscriptengine_a-ScriptEngineProcess.Po
make[2]: Leaving directory '/download/local_Software/homegear/homegear_0.6.7-1574/Homegear-master/src’
Makefile:393: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/download/local_Software/homegear/homegear_0.6.7-1574/Homegear-master’
Makefile:324: recipe for target ‘all’ failed
make: *** [all] Error 2
Wenn ich den Pfad wie von Dir beschrieben ergänze und dann make aufrufe, laufe ich ebenfalls in Fehler:
make all-recursive
make[1]: Entering directory '/download/local_Software/homegear/homegear_0.6.7-1574/Homegear-master’
Making all in src
make[2]: Entering directory '/download/local_Software/homegear/homegear_0.6.7-1574/Homegear-master/src’
g++ -DHAVE_CONFIG_H -I. -I… -Wall -std=c++11 -DFORTIFY_SOURCE=2 -DGCRYPT_NO_DEPRECATED -I/usr/include/php7-homegear -I/usr/include/php7-homegear/main -I/usr/include/php7-homegear/sapi -I/usr/include/php7-homegear/TSRM -I/usr/include/php7-homegear/Zend -I/usr/include/php7-homegear/php -I/usr/include/php7-homegear/php/main -I/usr/include/php7-homegear/php/sapi -I/usr/include/php7-homegear/php/TSRM -I/usr/include/php7-homegear/php/Zend -DLINUXSYSTEM -g -O2 -MT ScriptEngine/libscriptengine_a-ScriptEngineServer.o -MD -MP -MF ScriptEngine/.deps/libscriptengine_a-ScriptEngineServer.Tpo -c -o ScriptEngine/libscriptengine_a-ScriptEngineServer.o test -f 'ScriptEngine/ScriptEngineServer.cpp' || echo './'
ScriptEngine/ScriptEngineServer.cpp
ScriptEngine/ScriptEngineServer.cpp: In constructor âScriptEngine::ScriptEngineServer::ScriptEngineServer()â:
ScriptEngine/ScriptEngineServer.cpp:39:69: error: no matching function for call to âBaseLib::IQueue::IQueue(std::unique_ptrBaseLib::SharedObjects::pointer, int)â
ScriptEngineServer::ScriptEngineServer() : IQueue(GD::bl.get(), 1000)
^
ScriptEngine/ScriptEngineServer.cpp:39:69: note: candidate is:
In file included from /usr/include/homegear-base/BaseLib.h:75:0,
from ScriptEngine/ScriptEngineClientData.h:34,
from ScriptEngine/ScriptEngineProcess.h:34,
from ScriptEngine/ScriptEngineServer.h:35,
from ScriptEngine/ScriptEngineServer.cpp:31:
/usr/include/homegear-base/IQueue.h:52:2: note: BaseLib::IQueue::IQueue(BaseLib::SharedObjects*, uint32_t, uint32_t)
IQueue(SharedObjects* baseLib, uint32_t queueCount, uint32_t bufferSize);
^
/usr/include/homegear-base/IQueue.h:52:2: note: candidate expects 3 arguments, 2 provided
ScriptEngine/ScriptEngineServer.cpp: In member function âvoid ScriptEngine::ScriptEngineServer::mainThread()â:
ScriptEngine/ScriptEngineServer.cpp:871:34: error: âclass BaseLib::FileDescriptorManagerâ has no member named âlockâ
GD::bl->fileDescriptorManager.lock();
^
ScriptEngine/ScriptEngineServer.cpp:890:34: error: âclass BaseLib::FileDescriptorManagerâ has no member named âunlockâ
GD::bl->fileDescriptorManager.unlock();
^
Makefile:707: recipe for target ‘ScriptEngine/libscriptengine_a-ScriptEngineServer.o’ failed
make[2]: *** [ScriptEngine/libscriptengine_a-ScriptEngineServer.o] Error 1
make[2]: Leaving directory '/download/local_Software/homegear/homegear_0.6.7-1574/Homegear-master/src’
Makefile:393: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/download/local_Software/homegear/homegear_0.6.7-1574/Homegear-master’
Makefile:324: recipe for target ‘all’ failed
make: *** [all] Error 2
Gruß,
Frank