snapex7

Build log

host

snapex7 0.1.4 · fail · run snapex7-0.1.4-1791105252960
203 of 203 lines
1Resolving Hex dependencies...2Resolution completed in 0.088s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  interactive_cmd 0.1.47  nerves 2.0.0-pre.28  nerves_discovery 0.1.59  nerves_logging 0.2.410  nerves_runtime 0.13.1311  nerves_system_bbb 2.30.212  nerves_system_br 1.34.413  nerves_system_mangopi_mq_pro 0.17.214  nerves_system_qemu_aarch64 0.4.215  nerves_system_rpi0 2.1.216  nerves_system_rpi4 2.1.217  nerves_system_rpi5 2.1.218  nerves_system_trellis 0.5.019  nerves_system_x86_64 1.34.220  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.121  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.122  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.123  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.124  nerves_toolchain_x86_64_nerves_linux_musl 15.3.125  nerves_uevent 0.1.726  property_table 0.3.427  ring_logger 0.11.728  snapex7 0.1.429  tablet 0.3.330  toolshed 0.5.031  uboot_env 1.0.232All dependencies have been fetched33==> snapex734g++ -c "src/snap7/src/sys/snap_sysutils.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/sys_snap_sysutils.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 35g++ -c "src/snap7/src/sys/snap_msgsock.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/sys_snap_msgsock.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 36g++ -c "src/snap7/src/sys/snap_tcpsrvr.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/sys_snap_tcpsrvr.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 37g++ -c "src/snap7/src/sys/snap_threads.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/sys_snap_threads.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 38g++ -c "src/snap7/src/core/s7_client.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_client.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 39g++ -c "src/snap7/src/core/s7_isotcp.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_isotcp.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 40g++ -c "src/snap7/src/core/s7_partner.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_partner.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 41g++ -c "src/snap7/src/core/s7_peer.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_peer.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 42g++ -c "src/snap7/src/core/s7_server.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_server.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 43g++ -c "src/snap7/src/core/s7_text.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_text.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 44In file included from /usr/include/string.h:548,45                 from /usr/include/c++/13/cstring:42,46                 from src/snap7/src/sys/snap_platform.h:100,47                 from src/snap7/src/sys/snap_msgsock.h:29,48                 from src/snap7/src/sys/snap_tcpsrvr.h:29,49                 from src/snap7/src/core/s7_server.h:29,50                 from src/snap7/src/core/s7_server.cpp:26:51In function ‘void* memcpy(void*, const void*, size_t)’,52    inlined from ‘void TS7Worker::SZLSystemState()’ at src/snap7/src/core/s7_server.cpp:1247:11:53/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading 6 bytes from a region of size 4 [-Wstringop-overread]54   29 |   return __builtin___memcpy_chk (__dest, __src, __len,55      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~56   30 |                                  __glibc_objsize0 (__dest));57      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~58In file included from src/snap7/src/core/s7_server.cpp:27:59src/snap7/src/core/s7_firmware.h: In member function ‘void TS7Worker::SZLSystemState()’:60src/snap7/src/core/s7_firmware.h:36:8: note: source object ‘SZLNotAvail’ of size 461   36 |   byte SZLNotAvail[4] = {62      |        ^~~~~~~~~~~63g++ -c "src/snap7/src/core/s7_micro_client.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/core_s7_micro_client.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 64g++ -c "src/snap7/src/lib/snap7_libmain.cpp" -O3 -fPIC -pedantic -o /work/proj/_build/host/lib/snapex7/ebin/../obj/lib_snap7_libmain.o -Isrc/snap7/build/unix -Isrc/snap7/src/sys -Isrc/snap7/src/core -Isrc/snap7/src/lib 65debug s7: /work/proj/_build/host/lib/snapex7/ebin/../obj/erlcmd.o, src/erlcmd.c66cc -c -I/usr/local/lib/erlang/usr/include -Isrc/snap7/examples/plain-c -L/work/proj/_build/host/lib/snapex7/ebin/../priv -I/work/proj/_build/host/lib/snapex7/ebin/../priv -std=gnu99 -DDEBUG -o /work/proj/_build/host/lib/snapex7/ebin/../obj/erlcmd.o src/erlcmd.c67debug s7: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o, src/s7_client.c68cc -c -I/usr/local/lib/erlang/usr/include -Isrc/snap7/examples/plain-c -L/work/proj/_build/host/lib/snapex7/ebin/../priv -I/work/proj/_build/host/lib/snapex7/ebin/../priv -std=gnu99 -DDEBUG -o /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o src/s7_client.c69debug s7: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_server.o, src/s7_server.c70cc -c -I/usr/local/lib/erlang/usr/include -Isrc/snap7/examples/plain-c -L/work/proj/_build/host/lib/snapex7/ebin/../priv -I/work/proj/_build/host/lib/snapex7/ebin/../priv -std=gnu99 -DDEBUG -o /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_server.o src/s7_server.c71debug s7: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_partner.o, src/s7_partner.c72cc -c -I/usr/local/lib/erlang/usr/include -Isrc/snap7/examples/plain-c -L/work/proj/_build/host/lib/snapex7/ebin/../priv -I/work/proj/_build/host/lib/snapex7/ebin/../priv -std=gnu99 -DDEBUG -o /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_partner.o src/s7_partner.c73g++ -shared -fPIC -o /work/proj/_build/host/lib/snapex7/ebin/../priv/libsnap.so @"filelist.txt" -Lsrc/snap7/build/unix -lpthread -lrt  -O374debug75cc -O3 /work/proj/_build/host/lib/snapex7/ebin/../obj/erlcmd.o /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o -L/work/proj/_build/host/lib/snapex7/ebin/../priv -I/work/proj/_build/host/lib/snapex7/ebin/../priv -lsnap -L/usr/local/lib/erlang/usr/lib -lei  -o /work/proj/_build/host/lib/snapex7/ebin/../priv/s7_client.o76/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_set_connection_type':77s7_client.c:(.text+0x1f72): undefined reference to `Cli_SetConnectionType'78/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_connect_to':79s7_client.c:(.text+0x20e8): undefined reference to `Cli_ConnectTo'80/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_set_connection_params':81s7_client.c:(.text+0x2260): undefined reference to `Cli_SetConnectionParams'82/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_connect':83s7_client.c:(.text+0x22b8): undefined reference to `Cli_Connect'84/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_disconnect':85s7_client.c:(.text+0x22fc): undefined reference to `Cli_Disconnect'86/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_params':87s7_client.c:(.text+0x23ca): undefined reference to `Cli_GetParam'88/usr/bin/ld: s7_client.c:(.text+0x2413): undefined reference to `Cli_GetParam'89/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_set_params':90s7_client.c:(.text+0x255c): undefined reference to `Cli_SetParam'91/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_read_area':92s7_client.c:(.text+0x2806): undefined reference to `Cli_ReadArea'93/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_write_area':94s7_client.c:(.text+0x2b36): undefined reference to `Cli_WriteArea'95/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_db_read':96s7_client.c:(.text+0x2d35): undefined reference to `Cli_DBRead'97/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_db_write':98s7_client.c:(.text+0x2f9b): undefined reference to `Cli_DBWrite'99/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_ab_read':100s7_client.c:(.text+0x3163): undefined reference to `Cli_ABRead'101/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_ab_write':102s7_client.c:(.text+0x3394): undefined reference to `Cli_ABWrite'103/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_eb_read':104s7_client.c:(.text+0x355c): undefined reference to `Cli_EBRead'105/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_eb_write':106s7_client.c:(.text+0x378d): undefined reference to `Cli_EBWrite'107/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_mb_read':108s7_client.c:(.text+0x3955): undefined reference to `Cli_MBRead'109/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_mb_write':110s7_client.c:(.text+0x3b86): undefined reference to `Cli_MBWrite'111/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_tm_read':112s7_client.c:(.text+0x3d4e): undefined reference to `Cli_TMRead'113/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_tm_write':114s7_client.c:(.text+0x3f7f): undefined reference to `Cli_TMWrite'115/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_ct_read':116s7_client.c:(.text+0x4147): undefined reference to `Cli_CTRead'117/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_ct_write':118s7_client.c:(.text+0x437d): undefined reference to `Cli_CTWrite'119/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_read_multi_vars':120s7_client.c:(.text+0x48c5): undefined reference to `Cli_ReadMultiVars'121/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_write_multi_vars':122s7_client.c:(.text+0x509a): undefined reference to `Cli_WriteMultiVars'123/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_list_blocks':124s7_client.c:(.text+0x519f): undefined reference to `Cli_ListBlocks'125/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_list_blocks_of_type':126s7_client.c:(.text+0x535f): undefined reference to `Cli_ListBlocksOfType'127/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_ag_block_info':128s7_client.c:(.text+0x54b8): undefined reference to `Cli_GetAgBlockInfo'129/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_pg_block_info':130s7_client.c:(.text+0x56e5): undefined reference to `Cli_GetPgBlockInfo'131/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_full_upload':132s7_client.c:(.text+0x58ef): undefined reference to `Cli_FullUpload'133/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_upload':134s7_client.c:(.text+0x5aef): undefined reference to `Cli_Upload'135/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_download':136s7_client.c:(.text+0x5d00): undefined reference to `Cli_Download'137/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_delete':138s7_client.c:(.text+0x5e1a): undefined reference to `Cli_Delete'139/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_db_get':140s7_client.c:(.text+0x5fc4): undefined reference to `Cli_DBGet'141/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_db_fill':142s7_client.c:(.text+0x60eb): undefined reference to `Cli_DBFill'143/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_plc_date_time':144s7_client.c:(.text+0x6159): undefined reference to `Cli_GetPlcDateTime'145/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_set_plc_date_time':146s7_client.c:(.text+0x6455): undefined reference to `Cli_SetPlcDateTime'147/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_set_plc_system_date_time':148s7_client.c:(.text+0x64ad): undefined reference to `Cli_SetPlcSystemDateTime'149/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_read_szl':150s7_client.c:(.text+0x6611): undefined reference to `Cli_ReadSZL'151/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_read_szl_list':152s7_client.c:(.text+0x66ee): undefined reference to `Cli_ReadSZLList'153/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_order_code':154s7_client.c:(.text+0x677b): undefined reference to `Cli_GetOrderCode'155/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_cpu_info':156s7_client.c:(.text+0x6801): undefined reference to `Cli_GetCpuInfo'157/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_cp_info':158s7_client.c:(.text+0x6887): undefined reference to `Cli_GetCpInfo'159/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_plc_hot_start':160s7_client.c:(.text+0x68eb): undefined reference to `Cli_PlcHotStart'161/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_plc_cold_start':162s7_client.c:(.text+0x692f): undefined reference to `Cli_PlcColdStart'163/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_plc_stop':164s7_client.c:(.text+0x6973): undefined reference to `Cli_PlcStop'165/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_copy_ram_to_rom':166s7_client.c:(.text+0x69fa): undefined reference to `Cli_CopyRamToRom'167/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_compress':168s7_client.c:(.text+0x6a95): undefined reference to `Cli_Compress'169/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_plc_status':170s7_client.c:(.text+0x6b03): undefined reference to `Cli_GetPlcStatus'171/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_set_session_password':172s7_client.c:(.text+0x6c54): undefined reference to `Cli_SetSessionPassword'173/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_clear_session_password':174s7_client.c:(.text+0x6cac): undefined reference to `Cli_ClearSessionPassword'175/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_protection':176s7_client.c:(.text+0x6d06): undefined reference to `Cli_GetProtection'177/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_iso_exchange_buffer':178s7_client.c:(.text+0x6e93): undefined reference to `Cli_IsoExchangeBuffer'179/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_exec_time':180s7_client.c:(.text+0x6f1d): undefined reference to `Cli_GetExecTime'181/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_last_error':182s7_client.c:(.text+0x6f97): undefined reference to `Cli_GetLastError'183/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_pdu_length':184s7_client.c:(.text+0x7019): undefined reference to `Cli_GetPduLength'185/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `handle_get_connected':186s7_client.c:(.text+0x7093): undefined reference to `Cli_GetConnected'187/usr/bin/ld: /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o: in function `main':188s7_client.c:(.text+0x72d9): undefined reference to `Cli_Create'189/usr/bin/ld: s7_client.c:(.text+0x7390): undefined reference to `Cli_Destroy'190collect2: error: ld returned 1 exit status191make: *** [src/Makefile:173: /work/proj/_build/host/lib/snapex7/ebin/../priv/s7_client.o] Error 1192make: *** Waiting for unfinished jobs....193rm -f "filelist.txt"194rm /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_server.o /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_partner.o /work/proj/_build/host/lib/snapex7/ebin/../obj/erlcmd.o /work/proj/_build/host/lib/snapex7/ebin/../obj/s7_client.o195could not compile dependency :snapex7, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile snapex7 --force", update it with "mix deps.update snapex7" or clean it with "mix deps.clean snapex7"196==> nerves_compatibility_test197** (Mix) Could not compile with "make" (exit status: 2).198You need to have gcc and make installed. If you are using199Ubuntu or any other Debian-based system, install the packages200"build-essential". Also install "erlang-dev" package if not201included in your Erlang/OTP version. If you're on Fedora, run202"dnf group install 'Development Tools'".203