[dss-developer] Probleme bei der Installation

Manuel Saxer manuel.saxer at me.com
Mon Oct 24 18:47:27 CEST 2011


Am 24.10.2011 um 18:46 schrieb Manuel Saxer:

> Hallo Zusammen
> 
> Auf mein gestriges Problem hin (siehe dss-developer Digest Vol21, Issue11) kam der Tipp, dass ich die aktuelles Version der dSM API Library benötige.
> Ich habe anschliessend gemäss Wiki die Installation nochmals durchgeführt. Mit folgendem Befehl habe ich versucht die neuste dSM Library zu laden:
> 
> git clone git://gitorious.digitalstrom.org/ds485-stack/1.1/ds485-core.git 
> 
> Mit dem entsprechenden Befehl habe ich auch die anderen Librarys geladen. Probleme bekam ich dann bei der letzten der 4, der dSM-API.
> Hier kamen folgende Warnungen:
> 
> root at scientist-Latitude-D630:/etc/dss/dsm-api# make
> [ 33%] Generating dsm-api-v2.c, ../../include/dsm-api-v2/dsm-api.h, ../../include/dsm-api-v2/dsm-api-const.h, dsm-api-py.i, dsm-api-lua.i
> Scanning dependencies of target dsm-api-v2
> [ 66%] Building C object src/lib-v2/CMakeFiles/dsm-api-v2.dir/dsm-api-v2.c.o
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c: In function ‘dsm_api_ds485_message_callback’:
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c:7828: warning: ‘DeviceProperties_set_my_click_response_callback_t’ is deprecated
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c:7839: warning: ‘DeviceProperties_set_my_click_request_callback_t’ is deprecated
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c:7848: warning: ‘DeviceProperties_set_my_action_group_response_callback_t’ is deprecated
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c:7860: warning: ‘DeviceProperties_set_my_action_group_request_callback_t’ is deprecated
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c:7909: warning: ‘DeviceProperties_set_button_zone_response_callback_t’ is deprecated
> /etc/dss/dsm-api/src/lib-v2/dsm-api-v2.c:7921: warning: ‘DeviceProperties_set_button_zone_request_callback_t’ is deprecated
> Linking C shared library ../../lib/libdsm-api-v2.so
> [ 66%] Built target dsm-api-v2
> Scanning dependencies of target libtest
> [100%] Building C object src/lib-v2/CMakeFiles/libtest.dir/test.c.o
> Linking C executable ../../bin/libtest
> [100%] Built target libtest
> root at scientist-Latitude-D630:/etc/dss/dsm-api# 
> 
> Da es "nur" Warnungen waren habe ich daraufhin mit dem "Compiling dSS" weitergemacht. Hier kommen nun auf einmal neue Meldungen welche einen Abbruch des make-Befehls zur folge hatten. 
> 
> root at scientist-Latitude-D630:/etc/dss/dss-mainline# make
> Scanning dependencies of target build_info.h
> [  0%] Built target build_info.h
> Scanning dependencies of target security
> [  0%] Building CXX object core/security/CMakeFiles/security.dir/security.cpp.o
> [  1%] Building CXX object core/security/CMakeFiles/security.dir/user.cpp.o
> [  2%] Building CXX object core/security/CMakeFiles/security.dir/privilege.cpp.o
> Linking CXX static library libsecurity.a
> [  2%] Built target security
> Scanning dependencies of target webservices
> [  3%] Building CXX object webservices/CMakeFiles/webservices.dir/soapC.cpp.o
> [  4%] Building CXX object webservices/CMakeFiles/webservices.dir/webservices.cpp.o
> [  4%] Building CXX object webservices/CMakeFiles/webservices.dir/gs-locks.cpp.o
> [  6%] Building CXX object webservices/CMakeFiles/webservices.dir/soapdssSSLObject.cpp.o
> [  7%] Building CXX object webservices/CMakeFiles/webservices.dir/soapServer.cpp.o
> [  8%] Building CXX object webservices/CMakeFiles/webservices.dir/model_soap.cpp.o
> Linking CXX static library libwebservices.a
> [  8%] Built target webservices
> Scanning dependencies of target mongoose
> [  9%] Building C object external/mongoose/CMakeFiles/mongoose.dir/mongoose.c.o
> Linking C static library libmongoose.a
> [  9%] Built target mongoose
> Scanning dependencies of target simulation
> [  9%] Building CXX object core/sim/CMakeFiles/simulation.dir/dssim.cpp.o
> [ 10%] Building CXX object core/sim/CMakeFiles/simulation.dir/dsmetersim.cpp.o
> [ 12%] Building CXX object core/sim/CMakeFiles/simulation.dir/dsidsim.cpp.o
> [ 12%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/businterfaceadaptor.cpp.o
> [ 13%] Building CXX object core/sim/CMakeFiles/simulation.dir/dsid_js.cpp.o
> [ 14%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/simbusinterface.cpp.o
> [ 14%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/simactionrequestbusinterface.cpp.o
> [ 15%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/simmeteringbusinterface.cpp.o
> [ 17%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/simstructurequerybusinterface.cpp.o
> [ 17%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/simstructuremodifyingbusinterface.cpp.o
> [ 18%] Building CXX object core/sim/CMakeFiles/simulation.dir/businterface/simdevicebusinterface.cpp.o
> Linking CXX static library libsimulation.a
> [ 18%] Built target simulation
> Scanning dependencies of target model
> [ 19%] Building CXX object core/model/CMakeFiles/model.dir/apartment.cpp.o
> [ 20%] Building CXX object core/model/CMakeFiles/model.dir/group.cpp.o
> [ 20%] Building CXX object core/model/CMakeFiles/model.dir/devicecontainer.cpp.o
> [ 21%] Building CXX object core/model/CMakeFiles/model.dir/set.cpp.o
> [ 23%] Building CXX object core/model/CMakeFiles/model.dir/modulator.cpp.o
> [ 23%] Building CXX object core/model/CMakeFiles/model.dir/device.cpp.o
> [ 24%] Building CXX object core/model/CMakeFiles/model.dir/nonaddressablemodelitem.cpp.o
> [ 25%] Building CXX object core/model/CMakeFiles/model.dir/addressablemodelitem.cpp.o
> [ 25%] Building CXX object core/model/CMakeFiles/model.dir/physicalmodelitem.cpp.o
> [ 26%] Building CXX object core/model/CMakeFiles/model.dir/deviceinterface.cpp.o
> [ 28%] Building CXX object core/model/CMakeFiles/model.dir/devicereference.cpp.o
> [ 28%] Building CXX object core/model/CMakeFiles/model.dir/zone.cpp.o
> [ 29%] Building CXX object core/model/CMakeFiles/model.dir/modelevent.cpp.o
> [ 30%] Building CXX object core/model/CMakeFiles/model.dir/scenehelper.cpp.o
> [ 31%] Building CXX object core/model/CMakeFiles/model.dir/busscanner.cpp.o
> [ 31%] Building CXX object core/model/CMakeFiles/model.dir/modelpersistence.cpp.o
> [ 32%] Building CXX object core/model/CMakeFiles/model.dir/modelmaintenance.cpp.o
> Linking CXX static library libmodel.a
> [ 32%] Built target model
> Scanning dependencies of target unix
> [ 34%] Building CXX object unix/CMakeFiles/unix.dir/thread.cpp.o
> [ 34%] Building CXX object unix/CMakeFiles/unix.dir/systeminfo.cpp.o
> Linking CXX static library libunix.a
> [ 34%] Built target unix
> Scanning dependencies of target core
> [ 34%] Building CXX object core/CMakeFiles/core.dir/structuremanipulator.cpp.o
> [ 35%] Building CXX object core/CMakeFiles/core.dir/hasher.cpp.o
> [ 36%] Building CXX object core/CMakeFiles/core.dir/propertysystem.cpp.o
> [ 36%] Building CXX object core/CMakeFiles/core.dir/ds485types.cpp.o
> [ 37%] Building CXX object core/CMakeFiles/core.dir/bonjour.cpp.o
> [ 39%] Building CXX object core/CMakeFiles/core.dir/mutex.cpp.o
> [ 39%] Building CXX object core/CMakeFiles/core.dir/datetools.cpp.o
> [ 40%] Building CXX object core/CMakeFiles/core.dir/jshandler.cpp.o
> [ 41%] Building CXX object core/CMakeFiles/core.dir/sessionmanager.cpp.o
> [ 41%] Building CXX object core/CMakeFiles/core.dir/propertyquery.cpp.o
> [ 42%] Building CXX object core/CMakeFiles/core.dir/eventcollector.cpp.o
> [ 43%] Building CXX object core/CMakeFiles/core.dir/session.cpp.o
> [ 43%] Building CXX object core/CMakeFiles/core.dir/eventsubscriptionsession.cpp.o
> [ 45%] Building CXX object core/CMakeFiles/core.dir/logger.cpp.o
> [ 46%] Building CXX object core/CMakeFiles/core.dir/subsystem.cpp.o
> [ 46%] Building CXX object core/CMakeFiles/core.dir/syncevent.cpp.o
> [ 47%] Building CXX object core/CMakeFiles/core.dir/base.cpp.o
> [ 48%] Building CXX object core/CMakeFiles/core.dir/eventinterpreterplugins.cpp.o
> [ 48%] Building CXX object core/CMakeFiles/core.dir/dss.cpp.o
> /etc/dss/dss-mainline/core/dss.cpp: In member function ‘void dss::DSS::addDefaultInterpreterPlugins()’:
> /etc/dss/dss-mainline/core/dss.cpp:403: warning: ‘EventInterpreterPluginEmail’ is deprecated (declared at /etc/dss/dss-mainline/core/eventinterpreterplugins.h:129)
> [ 50%] Building CXX object core/CMakeFiles/core.dir/backtrace.cpp.o
> [ 51%] Building CXX object core/CMakeFiles/core.dir/event.cpp.o
> [ 51%] Building CXX object core/CMakeFiles/core.dir/setbuilder.cpp.o
> [ 52%] Building CXX object core/CMakeFiles/core.dir/scripting/modeljs.cpp.o
> [ 53%] Building CXX object core/CMakeFiles/core.dir/scripting/propertyscriptextension.cpp.o
> [ 54%] Building CXX object core/CMakeFiles/core.dir/scripting/jssocket.cpp.o
> [ 54%] Building CXX object core/CMakeFiles/core.dir/scripting/scriptobject.cpp.o
> [ 56%] Building CXX object core/CMakeFiles/core.dir/scripting/jslogger.cpp.o
> [ 57%] Building CXX object core/CMakeFiles/core.dir/metering/metering.cpp.o
> [ 57%] Building CXX object core/CMakeFiles/core.dir/metering/series.cpp.o
> [ 58%] Building CXX object core/CMakeFiles/core.dir/metering/seriespersistence.cpp.o
> [ 59%] Building CXX object core/CMakeFiles/core.dir/web/restful.cpp.o
> [ 59%] Building CXX object core/CMakeFiles/core.dir/web/restfulapiwriter.cpp.o
> [ 60%] Building CXX object core/CMakeFiles/core.dir/web/webserverapi.cpp.o
> [ 62%] Building CXX object core/CMakeFiles/core.dir/web/webrequests.cpp.o
> [ 62%] Building CXX object core/CMakeFiles/core.dir/web/webserver.cpp.o
> [ 63%] Building CXX object core/CMakeFiles/core.dir/web/json.cpp.o
> [ 64%] Building CXX object core/CMakeFiles/core.dir/web/handler/simrequesthandler.cpp.o
> [ 64%] Building CXX object core/CMakeFiles/core.dir/web/handler/systemrequesthandler.cpp.o
> [ 65%] Building CXX object core/CMakeFiles/core.dir/web/handler/meteringrequesthandler.cpp.o
> [ 67%] Building CXX object core/CMakeFiles/core.dir/web/handler/structurerequesthandler.cpp.o
> [ 67%] Building CXX object core/CMakeFiles/core.dir/web/handler/eventrequesthandler.cpp.o
> [ 68%] Building CXX object core/CMakeFiles/core.dir/web/handler/propertyrequesthandler.cpp.o
> [ 69%] Building CXX object core/CMakeFiles/core.dir/web/handler/deviceinterfacerequesthandler.cpp.o
> [ 69%] Building CXX object core/CMakeFiles/core.dir/web/handler/circuitrequesthandler.cpp.o
> [ 70%] Building CXX object core/CMakeFiles/core.dir/web/handler/zonerequesthandler.cpp.o
> [ 71%] Building CXX object core/CMakeFiles/core.dir/web/handler/devicerequesthandler.cpp.o
> [ 71%] Building CXX object core/CMakeFiles/core.dir/web/handler/apartmentrequesthandler.cpp.o
> [ 73%] Building CXX object core/CMakeFiles/core.dir/web/handler/setrequesthandler.cpp.o
> [ 74%] Building CXX object core/CMakeFiles/core.dir/web/handler/jsonhelper.cpp.o
> [ 75%] Building CXX object core/CMakeFiles/core.dir/web/handler/subscriptionrequesthandler.cpp.o
> Linking CXX static library libcore.a
> [ 75%] Built target core
> Scanning dependencies of target tests
> [ 75%] Building CXX object tests/CMakeFiles/tests.dir/basetests.cpp.o
> [ 76%] Building CXX object tests/CMakeFiles/tests.dir/datetoolstests.cpp.o
> [ 78%] Building CXX object tests/CMakeFiles/tests.dir/securitytests.cpp.o
> [ 78%] Building CXX object tests/CMakeFiles/tests.dir/eventtests.cpp.o
> [ 79%] Building CXX object tests/CMakeFiles/tests.dir/modeljstests.cpp.o
> [ 80%] Building CXX object tests/CMakeFiles/tests.dir/modeltests.cpp.o
> [ 81%] Building CXX object tests/CMakeFiles/tests.dir/devicetests.cpp.o
> [ 81%] Building CXX object tests/CMakeFiles/tests.dir/propertysystemtests.cpp.o
> [ 82%] Building CXX object tests/CMakeFiles/tests.dir/scriptstest.cpp.o
> [ 84%] Building CXX object tests/CMakeFiles/tests.dir/seriestests.cpp.o
> [ 84%] Building CXX object tests/CMakeFiles/tests.dir/tests.cpp.o
> [ 85%] Building CXX object tests/CMakeFiles/tests.dir/jsloggertests.cpp.o
> [ 86%] Building CXX object tests/CMakeFiles/tests.dir/deviceinterfacerequesthandlertest.cpp.o
> [ 86%] Building CXX object tests/CMakeFiles/tests.dir/jsontests.cpp.o
> [ 87%] Building CXX object tests/CMakeFiles/tests.dir/restfulapitests.cpp.o
> [ 89%] Building CXX object tests/CMakeFiles/tests.dir/jssockettests.cpp.o
> [ 89%] Building CXX object tests/CMakeFiles/tests.dir/jshandlertests.cpp.o
> [ 90%] Building CXX object tests/CMakeFiles/tests.dir/dssimtest.cpp.o
> [ 91%] Building CXX object tests/CMakeFiles/tests.dir/devicerequesthandlertest.cpp.o
> [ 91%] Building CXX object tests/CMakeFiles/tests.dir/circuitrequesthandlertest.cpp.o
> [ 92%] Building CXX object tests/CMakeFiles/tests.dir/eventrequesthandlertest.cpp.o
> Linking CXX static library libtests.a
> [ 92%] Built target tests
> Scanning dependencies of target ds485
> [ 92%] Building CXX object core/ds485/CMakeFiles/ds485.dir/dsbusinterface.cpp.o
> [ 93%] Building CXX object core/ds485/CMakeFiles/ds485.dir/dsbusinterfaceobj.cpp.o
> [ 95%] Building CXX object core/ds485/CMakeFiles/ds485.dir/dsactionrequest.cpp.o
> [ 95%] Building CXX object core/ds485/CMakeFiles/ds485.dir/dsdevicebusinterface.cpp.o
> /etc/dss/dss-mainline/core/ds485/dsdevicebusinterface.cpp: In member function ‘virtual void dss::DSDeviceBusInterface::setDeviceProgMode(const dss::Device&, uint8_t)’:
> /etc/dss/dss-mainline/core/ds485/dsdevicebusinterface.cpp:120: error: ‘DeviceActionRequest_action_programming_mode_on’ was not declared in this scope
> /etc/dss/dss-mainline/core/ds485/dsdevicebusinterface.cpp:123: error: ‘DeviceActionRequest_action_programming_mode_off’ was not declared in this scope
> make[2]: *** [core/ds485/CMakeFiles/ds485.dir/dsdevicebusinterface.cpp.o] Fehler 1
> make[1]: *** [core/ds485/CMakeFiles/ds485.dir/all] Fehler 2
> make: *** [all] Fehler 2
> root at scientist-Latitude-D630:/etc/dss/dss-mainline# 
> 
> 
> Leider kann ich nicht wirklich das Problem erkennen. Könnt Ihr mir hier weiterhelfen?
> Vielen Dank für eure Mühen
> 
> Gruss Manu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20111024/10185af9/attachment-0001.html>


More information about the dss-developer mailing list