Z góry bardzo dziękuję za pomoc.
Code: Select all
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"
../src/devconnection.c: In function ‘devconnection_execute’:
../src/devconnection.c:293:11: error: too few arguments to function ‘ssocket_client_connect’
293 | if (ssocket_client_connect(dcd.ssd, scfg_string(CFG_STATE_FILE), NULL) ==
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/devconnection.c:29:
../src/supla-socket.h:38:15: note: declared here
38 | unsigned char ssocket_client_connect(void *ssd, const char *state_file,
| ^~~~~~~~~~~~~~~~~~~~~~
Finished building: ../src/lck.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"
make: *** [src/subdir.mk:100: src/devconnection.o] Error 1
make: *** Waiting for unfinished jobs....
In function ‘strncpy0’,
inlined from ‘ini_parse_file’ at ../src/ini.c:49:14:
../src/ini.c:51:5: warning: ‘strncpy’ output may be truncated copying 49 bytes from a string of length 199 [-Wstringop-truncation]
51 | strncpy(dest, src, size - 1);