[dss-developer] Is it possible to build DSS (server) on a Raspberry pi or x86 and control digitalstrom devices?

Joachim Hansen jeh_hansen at yahoo.com
Wed Jun 19 12:27:25 CEST 2019


 Is it possible to build DSS (server) on a Raspberry pi or x86 and control digitalstrom devices?
If yes, how is this done?
yoggi

    On Tuesday, June 18, 2019, 12:00:03 PM GMT+2, dss-developer-request at forum.digitalstrom.org <dss-developer-request at forum.digitalstrom.org> wrote:  
 
 Send dss-developer mailing list submissions to
    dss-developer at forum.digitalstrom.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer
or, via email, send a message with subject or body 'help' to
    dss-developer-request at forum.digitalstrom.org

You can reach the person managing the list at
    dss-developer-owner at forum.digitalstrom.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dss-developer digest..."


Today's Topics:

  1. not able to build dss on x64 linux ubuntu 18.04 (holli)


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Jun 2019 10:04:21 +0200
From: holli <holli at holli.at>
To: <dss-developer at forum.digitalstrom.org>
Subject: [dss-developer] not able to build dss on x64 linux ubuntu
    18.04
Message-ID: <3B7C8666-1039-4704-916A-E42B142F1BC7 at contoso.com>
Content-Type: text/plain; charset="utf-8"

Hello,

 

i did setup all correctly I believe but on the make of the dss I receive:

 

ranlib libds-catch-main.a

g++ -DHAVE_CONFIG_H -I. -I../../build -I..? -DDS_SYSCONFDIR='"/home/holli/dSS/sysroot/etc"' -DDS_DATADIR='"/home/holli/dSS/sysroot/share"' -isystem../../external -I../../src -DBOOST_ENABLE_ASSERT_HANDLER -pthread -I/usr/include -I/home/holli/dSS/sysroot/include?? -std=gnu++1z? -Werror=return-type -Werror=int-to-pointer-cast -Wswitch-enum -Wno-unused-parameter? -D_DEBUG -g -Wall -O1? -MT ../src/ds-connector/ds_connector_cat-cat-main.o -MD -MP -MF ../src/ds-connector/.deps/ds_connector_cat-cat-main.Tpo -c -o ../src/ds-connector/ds_connector_cat-cat-main.o `test -f '../src/ds-connector/cat-main.cpp' || echo '../../build/'`../src/ds-connector/cat-main.cpp

mv -f ../src/ds-connector/.deps/ds_connector_cat-cat-main.Tpo ../src/ds-connector/.deps/ds_connector_cat-cat-main.Po

/bin/bash ../libtool? --tag=CXX?? --mode=link g++? -std=gnu++1z? -Werror=return-type -Werror=int-to-pointer-cast -Wswitch-enum -Wno-unused-parameter? -D_DEBUG -g -Wall -O1? -rdynamic? -o ds-connector-cat ../src/ds-connector/ds_connector_cat-cat-main.o libds-connector.a -lssl -lcrypto libds.a -lboost_system -lboost_thread -lboost_chrono -lboost_filesystem -lpthread -ljson-c libds-asio.a libds.a -lboost_system -lboost_thread -lboost_chrono -lboost_filesystem -lpthread -ljson-c libds-crypt.a -lcrypto libds.a -lboost_system -lboost_thread -lboost_chrono -lboost_filesystem -lpthread -ljson-c libds-api.a libds.a -lboost_system -lboost_thread -lboost_chrono -lboost_filesystem -lpthread -ljson-c -L/home/holli/dSS/sysroot/lib -Wl,-rpath=/home/holli/dSS/sysroot/lib -Wl,--as-needed -latomic -Wl,--no-as-needed libds-api.a libds.a -lboost_system -lboost_thread -lboost_chrono -lboost_filesystem -lpthread -ljson-c -ldl

libtool: link: g++ -std=gnu++1z -Werror=return-type -Werror=int-to-pointer-cast -Wswitch-enum -Wno-unused-parameter -D_DEBUG -g -Wall -O1 -rdynamic -o ds-connector-cat ../src/ds-connector/ds_connector_cat-cat-main.o -Wl,-rpath=/home/holli/dSS/sysroot/lib -Wl,--as-needed -Wl,--no-as-needed? libds-connector.a -lssl libds-asio.a libds-crypt.a -lcrypto -L/home/holli/dSS/sysroot/lib -latomic libds-api.a libds.a -lboost_system -lboost_thread -lboost_chrono -lboost_filesystem -lpthread /home/holli/dSS/sysroot/lib/libjson-c.so -ldl -Wl,-rpath -Wl,/home/holli/dSS/sysroot/lib -Wl,-rpath -Wl,/home/holli/dSS/sysroot/lib

libds-connector.a(libds_connector_a-client-bus.o): In function `dsConnector::makeClientBus(boost::asio::io_context&, ds::Conf&, dsConnector::StreamClient&, dsConnector::ClientBusHook&, dsConnector::Subscriptions&)':

/home/holli/BUILD/DigitalStrom/dss-mainline/build-pc/build/../../build/../src/ds-connector/client-bus.cpp:52: undefined reference to `ds::asio::ReconnectTimer::ReconnectTimer(boost::asio::io_context&)'

/home/holli/BUILD/DigitalStrom/dss-mainline/build-pc/build/../../build/../src/ds-connector/client-bus.cpp:52: undefined reference to `ds::asio::Timer::Timer(boost::asio::io_context&)'

collect2: error: ld returned 1 exit status

Makefile:2911: recipe for target 'ds-connector-cat' failed

 

This is with boost 1.66 self build and if I use the conan files ? the build fails as well here but with a different error:

 

/home/holli/BUILD/DigitalStrom/dss-mainline/build-pc/build/../../build/../src/ds/json.cpp:7: undefined reference to `json_object_equal'

collect2: error: ld returned 1 exit status

 

I checked the json-c files ? default was 12 on ubuntu now I?m on 13 and the json_object.h has json_object_equal information ? any help would be great.

 

I must get the dss running on my x64 because since the last update of the dss to 1.16 ? every motion detection action is delayed by 4-10 seconds and from dss support I was told this is because my old dss and I should by a new one?

Nice to roll out a software and bake my house ? no fix ? buy new hardware from us ? so I must get the dss running on my local unix env. To avoid to buy another device which might be not powerful enough in 1 year again?

 

Thanks

Holli

 

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

------------------------------

_______________________________________________
dss-developer mailing list
dss-developer at forum.digitalstrom.org
http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer


End of dss-developer Digest, Vol 93, Issue 2
********************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20190619/4ccf090b/attachment.html>


More information about the dss-developer mailing list