Jakie są wymagania sprzętowe co do instalacji i czy zadziała na android tv box np od ais z androidem 7 lub z zainstalowanym armbianem?
Kod: Zaznacz cały
$ apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libssl-dev
$ git clone https://github.com/SUPLA/supla-core
Cloning into 'supla-core'...
remote: Enumerating objects: 45588, done.
remote: Counting objects: 100% (11588/11588), done.
remote: Compressing objects: 100% (2054/2054), done.
remote: Total 45588 (delta 9172), reused 11342 (delta 8949), pack-reused 34000
Receiving objects: 100% (45588/45588), 14.76 MiB | 2.29 MiB/s, done.
Resolving deltas: 100% (35748/35748), done.
$ cd supla-core/supla-dev/Release
$ make all
Building file: ../src/accept_loop.cpp
Invoking: Cross G++ Compiler
g++ -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/accept_loop.d" -MT"src/accept_loop.o" -o "src/accept_loop.o" "../src/accept_loop.cpp"
Finished building: ../src/accept_loop.cpp
Building file: ../src/cfg.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/cfg.d" -MT"src/cfg.o" -o "src/cfg.o" "../src/cfg.c"
Finished building: ../src/cfg.c
Building file: ../src/channel-io.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/channel-io.d" -MT"src/channel-io.o" -o "src/channel-io.o" "../src/channel-io.c"
Finished building: ../src/channel-io.c
Building file: ../src/common_dht_read.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/common_dht_read.d" -MT"src/common_dht_read.o" -o "src/common_dht_read.o" "../src/common_dht_read.c"
Finished building: ../src/common_dht_read.c
Building file: ../src/devcfg.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/devcfg.d" -MT"src/devcfg.o" -o "src/devcfg.o" "../src/devcfg.c"
Finished building: ../src/devcfg.c
Building file: ../src/devconnection.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/devconnection.d" -MT"src/devconnection.o" -o "src/devconnection.o" "../src/devconnection.c"
../src/devconnection.c:87:3: warning: implicit declaration of function 'srpc_ds_async_channel_value_changed' is invalid in C99 [-Wimplicit-function-declaration]
srpc_ds_async_channel_value_changed(((TDeviceConnectionData *)_dcd)->srpc,
^
../src/devconnection.c:178:5: warning: implicit declaration of function 'srpc_ds_async_set_channel_result' is invalid in C99 [-Wimplicit-function-declaration]
srpc_ds_async_set_channel_result(dcd->srpc, new_value->ChannelNumber,
^
../src/devconnection.c:189:3: warning: implicit declaration of function 'srpc_ds_async_set_channel_result' is invalid in C99 [-Wimplicit-function-declaration]
srpc_ds_async_set_channel_result(dcd->srpc, new_value->ChannelNumber,
^
../src/devconnection.c:241:5: warning: implicit declaration of function 'srpc_ds_async_registerdevice_c' is invalid in C99 [-Wimplicit-function-declaration]
srpc_ds_async_registerdevice_c(dcd->srpc, &srd);
^
../src/devconnection.c:261:5: warning: implicit declaration of function 'srpc_ds_async_registerdevice_d' is invalid in C99 [-Wimplicit-function-declaration]
srpc_ds_async_registerdevice_d(dcd->srpc, &srd);
^
5 warnings generated.
Finished building: ../src/devconnection.c
Building file: ../src/eh.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/eh.d" -MT"src/eh.o" -o "src/eh.o" "../src/eh.c"
Finished building: ../src/eh.c
Building file: ../src/gpio.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/gpio.d" -MT"src/gpio.o" -o "src/gpio.o" "../src/gpio.c"
Finished building: ../src/gpio.c
Building file: ../src/ini.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/ini.d" -MT"src/ini.o" -o "src/ini.o" "../src/ini.c"
Finished building: ../src/ini.c
Building file: ../src/ipcctrl.cpp
Invoking: Cross G++ Compiler
g++ -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/ipcctrl.d" -MT"src/ipcctrl.o" -o "src/ipcctrl.o" "../src/ipcctrl.cpp"
Finished building: ../src/ipcctrl.cpp
Building file: ../src/ipcsocket.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/ipcsocket.d" -MT"src/ipcsocket.o" -o "src/ipcsocket.o" "../src/ipcsocket.c"
Finished building: ../src/ipcsocket.c
Building file: ../src/lck.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/lck.d" -MT"src/lck.o" -o "src/lck.o" "../src/lck.c"
Finished building: ../src/lck.c
Building file: ../src/log.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/log.d" -MT"src/log.o" -o "src/log.o" "../src/log.c"
Finished building: ../src/log.c
Building file: ../src/mcp23008.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/mcp23008.d" -MT"src/mcp23008.o" -o "src/mcp23008.o" "../src/mcp23008.c"
Finished building: ../src/mcp23008.c
Building file: ../src/pi_2_dht_read.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/pi_2_dht_read.d" -MT"src/pi_2_dht_read.o" -o "src/pi_2_dht_read.o" "../src/pi_2_dht_read.c"
Finished building: ../src/pi_2_dht_read.c
Building file: ../src/pi_2_mmio.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/pi_2_mmio.d" -MT"src/pi_2_mmio.o" -o "src/pi_2_mmio.o" "../src/pi_2_mmio.c"
Finished building: ../src/pi_2_mmio.c
Building file: ../src/proto.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/proto.d" -MT"src/proto.o" -o "src/proto.o" "../src/proto.c"
Finished building: ../src/proto.c
Building file: ../src/safearray.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/safearray.d" -MT"src/safearray.o" -o "src/safearray.o" "../src/safearray.c"
Finished building: ../src/safearray.c
Building file: ../src/srpc.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/srpc.d" -MT"src/srpc.o" -o "src/srpc.o" "../src/srpc.c"
Finished building: ../src/srpc.c
Building file: ../src/sthread.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/sthread.d" -MT"src/sthread.o" -o "src/sthread.o" "../src/sthread.c"
Finished building: ../src/sthread.c
Building file: ../src/supla-dev.cpp
Invoking: Cross G++ Compiler
g++ -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/supla-dev.d" -MT"src/supla-dev.o" -o "src/supla-dev.o" "../src/supla-dev.cpp"
Finished building: ../src/supla-dev.cpp
Building file: ../src/supla-socket.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/supla-socket.d" -MT"src/supla-socket.o" -o "src/supla-socket.o" "../src/supla-socket.c"
Finished building: ../src/supla-socket.c
Building file: ../src/tools.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/tools.d" -MT"src/tools.o" -o "src/tools.o" "../src/tools.c"
Finished building: ../src/tools.c
Building file: ../src/w1.c
Invoking: Cross GCC Compiler
gcc -DNOMYSQL=1 -I/usr/src/openssl/include -O3 -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"src/w1.d" -MT"src/w1.o" -o "src/w1.o" "../src/w1.c"
Finished building: ../src/w1.c
Building target: supla-dev
Invoking: Cross G++ Linker
g++ -L/usr/src/openssl/lib -pthread -lrt -o "supla-dev" ./src/accept_loop.o ./src/cfg.o ./src/channel-io.o ./src/common_dht_read.o ./src/devcfg.o ./src/devconnection.o ./src/eh.o ./src/gpio.o ./src/ini.o ./src/ipcctrl.o ./src/ipcsocket.o ./src/lck.o ./src/log.o ./src/mcp23008.o ./src/pi_2_dht_read.o ./src/pi_2_mmio.o ./src/proto.o ./src/safearray.o ./src/srpc.o ./src/sthread.o ./src/supla-dev.o ./src/supla-socket.o ./src/tools.o ./src/w1.o -lssl -lcrypto
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/devconnection.o: in function `devconnection_channel_valuechanged':
devconnection.c:(.text+0xcc): undefined reference to `srpc_ds_async_channel_value_changed'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/devconnection.o: in function `devconnection_channel_set_value':
devconnection.c:(.text+0x3b0): undefined reference to `srpc_ds_async_set_channel_result'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: devconnection.c:(.text+0x41c): undefined reference to `srpc_ds_async_set_channel_result'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/devconnection.o: in function `devconnection_on_remote_call_received':
devconnection.c:(.text+0x5a4): undefined reference to `srpc_ds_async_set_channel_result'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/devconnection.o: in function `devconnection_register':
devconnection.c:(.text+0x6d0): undefined reference to `srpc_ds_async_registerdevice_d'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: devconnection.c:(.text+0x7a4): undefined reference to `srpc_ds_async_registerdevice_c'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/log.o: in function `supla_vlog':
log.c:(.text+0x104): undefined reference to `__android_log_write'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/log.o: in function `supla_log':
log.c:(.text+0x1e4): undefined reference to `__android_log_write'
/data/data/pl.sviete.dom/files/usr/bin/arm-linux-androideabi-ld: ./src/log.o: in function `supla_write_state_file':
log.c:(.text+0x2e0): undefined reference to `__android_log_write'
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [makefile:58: supla-dev] Error 1
czyżbym o czymś zapomniał wykonując instalację konsolową na androidzie że wyskakuje błąd?