oj@oj-turner:~$ which halcompile /usr/bin/halcompile oj@oj-turner:~$ sudo litexcnc install_driver [sudo] Passwort für oj: INFO: Installing libjson-c-dev... OK:1 http://ftp.halifax.rwth-aachen.de/ubuntu jammy InRelease Holen:2 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates InRelease [114 kB] Holen:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Ign:4 https://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com vera InRelease Holen:5 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-backports InRelease [99,8 kB] OK:6 https://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com vera Release Holen:7 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/main i386 Packages [400 kB] Holen:9 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/main amd64 Packages [791 kB] Holen:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [41,6 kB] Holen:11 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [13,3 kB] Holen:12 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/main Translation-en [176 kB] Holen:13 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/main amd64 DEP-11 Metadata [97,1 kB] Holen:14 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/main amd64 c-n-f Metadata [12,0 kB] Holen:15 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/restricted amd64 Packages [515 kB] Holen:16 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/restricted i386 Packages [26,0 kB] Holen:17 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/restricted Translation-en [78,7 kB] Holen:18 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/universe amd64 Packages [781 kB] Holen:19 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/universe i386 Packages [557 kB] Holen:20 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/universe Translation-en [134 kB] Holen:21 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [258 kB] Holen:22 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/universe amd64 c-n-f Metadata [14,6 kB] Holen:23 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/multiverse amd64 Packages [8.020 B] Holen:24 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/multiverse Translation-en [2.448 B] Holen:25 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B] Holen:26 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [432 B] Holen:27 http://ftp.halifax.rwth-aachen.de/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [11,4 kB] Es wurden 4.242 kB in 3 s geholt (1.658 kB/s). Paketlisten werden gelesen… Fertig Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig libjson-c-dev ist schon die neueste Version (0.15-3~ubuntu1.22.04.1). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 18 nicht aktualisiert. INFO: Compiling LitexCNC driver... Compiling realtime litexcnc.c litexcnc.c: In function ‘litexcnc_register’: litexcnc.c:250:9: warning: format not a string literal and no format arguments [-Wformat-security] 250 | rtapi_snprintf(fpga->name, sizeof(fpga->name), json_object_get_string(board_name)); | ^~~~~~~~~~~~~~ In file included from litexcnc.c:33: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ litexcnc.c:322:5: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 322 | LITEXCNC_PRINT_NO_DEVICE(" - Write buffer: %d bytes)\n", LITEXCNC_BOARD_DATA_WRITE_SIZE(litexcnc)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ litexcnc.c:332:5: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 332 | LITEXCNC_PRINT_NO_DEVICE(" - Read buffer: %d bytes)\n", LITEXCNC_BOARD_DATA_READ_SIZE(litexcnc)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:50:81: note: in expansion of macro ‘LITEXCNC_NAME’ 50 | (fmt, device, args...) rtapi_print_msg(RTAPI_MSG_ERR, LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ litexcnc.c:359:9: note: in expansion of macro ‘LITEXCNC_ERR’ 359 | LITEXCNC_ERR("error %d exporting read function %s\n", r, name); | ^~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘char *’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:50:81: note: in expansion of macro ‘LITEXCNC_NAME’ 50 | (fmt, device, args...) rtapi_print_msg(RTAPI_MSG_ERR, LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ litexcnc.c:359:9: note: in expansion of macro ‘LITEXCNC_ERR’ 359 | LITEXCNC_ERR("error %d exporting read function %s\n", r, name); | ^~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:50:81: note: in expansion of macro ‘LITEXCNC_NAME’ 50 | (fmt, device, args...) rtapi_print_msg(RTAPI_MSG_ERR, LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ litexcnc.c:359:9: note: in expansion of macro ‘LITEXCNC_ERR’ 359 | LITEXCNC_ERR("error %d exporting read function %s\n", r, name); | ^~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:50:81: note: in expansion of macro ‘LITEXCNC_NAME’ 50 | (fmt, device, args...) rtapi_print_msg(RTAPI_MSG_ERR, LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ litexcnc.c:367:9: note: in expansion of macro ‘LITEXCNC_ERR’ 367 | LITEXCNC_ERR("error %d exporting read function %s\n", r, name); | ^~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘char *’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:50:81: note: in expansion of macro ‘LITEXCNC_NAME’ 50 | (fmt, device, args...) rtapi_print_msg(RTAPI_MSG_ERR, LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ litexcnc.c:367:9: note: in expansion of macro ‘LITEXCNC_ERR’ 367 | LITEXCNC_ERR("error %d exporting read function %s\n", r, name); | ^~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:50:81: note: in expansion of macro ‘LITEXCNC_NAME’ 50 | (fmt, device, args...) rtapi_print_msg(RTAPI_MSG_ERR, LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ litexcnc.c:367:9: note: in expansion of macro ‘LITEXCNC_ERR’ 367 | LITEXCNC_ERR("error %d exporting read function %s\n", r, name); | ^~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/watchdog.c: In function ‘litexcnc_watchdog_prepare_write’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘hal_u32_t’ {aka ‘unsigned int’} [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:49:61: note: in expansion of macro ‘LITEXCNC_NAME’ 49 | #define LITEXCNC_PRINT(fmt, device, args...) rtapi_print(LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/watchdog.c:113:13: note: in expansion of macro ‘LITEXCNC_PRINT’ 113 | LITEXCNC_PRINT( | ^~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long int’ [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:49:61: note: in expansion of macro ‘LITEXCNC_NAME’ 49 | #define LITEXCNC_PRINT(fmt, device, args...) rtapi_print(LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/watchdog.c:113:13: note: in expansion of macro ‘LITEXCNC_PRINT’ 113 | LITEXCNC_PRINT( | ^~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%ld’ expects a matching ‘long int’ argument [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:49:61: note: in expansion of macro ‘LITEXCNC_NAME’ 49 | #define LITEXCNC_PRINT(fmt, device, args...) rtapi_print(LITEXCNC_NAME "/%s: " fmt, device, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/watchdog.c:113:13: note: in expansion of macro ‘LITEXCNC_PRINT’ 113 | LITEXCNC_PRINT( | ^~~~~~~~~~~~~~ In file included from litexcnc.c:423: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/gpio.c: In function ‘litexcnc_gpio_out_init’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/gpio.c:37:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 37 | rtapi_snprintf(name, sizeof(name), "%s.gpio.%02d.out", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld /usr/local/lib/python3.10/dist-packages/litexcnc/driver/gpio.c:48:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 48 | rtapi_snprintf(name, sizeof(name), "%s.gpio.%02d.invert_output", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld /usr/local/lib/python3.10/dist-packages/litexcnc/driver/gpio.c: In function ‘litexcnc_gpio_in_init’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/gpio.c:92:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 92 | rtapi_snprintf(name, sizeof(name), "%s.gpio.%02d.in", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld /usr/local/lib/python3.10/dist-packages/litexcnc/driver/gpio.c:93:82: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 93 | _snprintf(name_inverted, sizeof(name_inverted), "%s.gpio.%02d.in-not", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld In file included from litexcnc.c:424: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/pwm.c: In function ‘litexcnc_pwm_init’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/pwm.c:80:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 80 | rtapi_snprintf(base_name, sizeof(base_name), "%s.pwm.%02d", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld In file included from litexcnc.c:425: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c: In function ‘litexcnc_stepgen_init’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:95:77: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 95 | rtapi_snprintf(base_name, sizeof(base_name), "%s.stepgen.%02d", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld In file included from litexcnc.c:33: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c: In function ‘litexcnc_stepgen_prepare_write’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:359:13: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 359 | LITEXCNC_PRINT_NO_DEVICE("Stepgen: data sent to FPGA %llu, %llu, %lu, %lu, %lu \n", | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:359:13: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 359 | LITEXCNC_PRINT_NO_DEVICE("Stepgen: data sent to FPGA %llu, %llu, %lu, %lu, %lu \n", | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:359:13: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 359 | LITEXCNC_PRINT_NO_DEVICE("Stepgen: data sent to FPGA %llu, %llu, %lu, %lu, %lu \n", | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:359:13: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 359 | LITEXCNC_PRINT_NO_DEVICE("Stepgen: data sent to FPGA %llu, %llu, %lu, %lu, %lu \n", | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:33:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 33 | #define LITEXCNC_NAME "litexcnc" | ^~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/litexcnc.h:43:61: note: in expansion of macro ‘LITEXCNC_NAME’ 43 | #define LITEXCNC_PRINT_NO_DEVICE(fmt, args...) rtapi_print(LITEXCNC_NAME ": " fmt, ## args) | ^~~~~~~~~~~~~ /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:359:13: note: in expansion of macro ‘LITEXCNC_PRINT_NO_DEVICE’ 359 | LITEXCNC_PRINT_NO_DEVICE("Stepgen: data sent to FPGA %llu, %llu, %lu, %lu, %lu \n", | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from litexcnc.c:425: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c: In function ‘litexcnc_stepgen_process_read’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:428:66: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 428 | rtapi_print("Apply time exceeding limits (too short): %llu, %llu, %llu \n", | ~~~^ | | | long long unsigned int | %lu 429 | litexcnc->wallclock->memo.wallclock_ticks, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:428:72: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 428 | pi_print("Apply time exceeding limits (too short): %llu, %llu, %llu \n", | ~~~^ | | | long long unsigned int | %lu 429 | litexcnc->wallclock->memo.wallclock_ticks, 430 | litexcnc->stepgen.memo.apply_time, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:428:78: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 428 | i_print("Apply time exceeding limits (too short): %llu, %llu, %llu \n", | ~~~^ | | | long long unsigned int | %lu ...... 431 | next_apply_time | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:434:25: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 434 | rtapi_print("%llu \n", next_apply_time); | ~~~^ ~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:442:65: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 442 | rtapi_print("Apply time exceeding limits (too long): %llu, %llu, %llu \n", | ~~~^ | | | long long unsigned int | %lu 443 | litexcnc->wallclock->memo.wallclock_ticks, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:442:71: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 442 | api_print("Apply time exceeding limits (too long): %llu, %llu, %llu \n", | ~~~^ | | | long long unsigned int | %lu 443 | litexcnc->wallclock->memo.wallclock_ticks, 444 | litexcnc->stepgen.memo.apply_time, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:442:77: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 442 | pi_print("Apply time exceeding limits (too long): %llu, %llu, %llu \n", | ~~~^ | | | long long unsigned int | %lu ...... 445 | next_apply_time | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:528:44: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 528 | rtapi_print("Timings: %.6f, %llu, %llu, %lu, %llu \n", | ~~~^ | | | long long unsigned int | %lu 529 | *(litexcnc->stepgen.hal->pin.period_s), 530 | litexcnc->wallclock->memo.wallclock_ticks, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:528:50: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 528 | rtapi_print("Timings: %.6f, %llu, %llu, %lu, %llu \n", | ~~~^ | | | long long unsigned int | %lu ...... 531 | litexcnc->stepgen.memo.apply_time, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:528:55: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 528 | rtapi_print("Timings: %.6f, %llu, %llu, %lu, %llu \n", | ~~^ | | | long unsigned int | %u ...... 532 | instance->data.fpga_time, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:528:61: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 528 | rtapi_print("Timings: %.6f, %llu, %llu, %lu, %llu \n", | ~~~^ | | | long long unsigned int | %lu ...... 533 | next_apply_time | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:560:60: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 560 | rtapi_print("Stepgen speed feedback result: %llu, %llu, %.6f, %.6f, %.6f, %.6f \n", | ~~~^ | | | long long unsigned int | %lu 561 | litexcnc->wallclock->memo.wallclock_ticks, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/local/lib/python3.10/dist-packages/litexcnc/driver/stepgen.c:560:66: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 560 | rtapi_print("Stepgen speed feedback result: %llu, %llu, %.6f, %.6f, %.6f, %.6f \n", | ~~~^ | | | long long unsigned int | %lu 561 | litexcnc->wallclock->memo.wallclock_ticks, 562 | next_apply_time, | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} In file included from litexcnc.c:426: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/encoder.c: In function ‘litexcnc_encoder_init’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/encoder.c:74:77: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 74 | rtapi_snprintf(base_name, sizeof(base_name), "%s.encoder.%02d", litexcnc->fpga->name, i); | ~~~^ ~ | | | | int size_t {aka long unsigned int} | %02ld litexcnc.c: In function ‘litexcnc_register’: litexcnc.c:199:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 199 | fread(buffer, filelen, 1, fileptr); // Read in the entire file | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking litexcnc.so cp litexcnc.so /usr/lib/linuxcnc/modules/ Compiling realtime litexcnc_eth.c litexcnc_eth.c: In function ‘litexcnc_eth_read’: litexcnc_eth.c:251:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 251 | fprintf(stderr, "Unexpected read length: %d, expected %d\n", count, this->read_buffer_size); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld litexcnc_eth.c: In function ‘init_board’: litexcnc_eth.c:323:100: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘struct json_object *’ [-Wformat=] 323 | colorcnc: ERROR: failed to connect to board on ip-address '%s'\n", ip_address); | ~^ ~~~~~~~~~~ | | | | char * struct json_object * In file included from litexcnc_eth.c:449: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/etherbone.c: In function ‘eb_read8’: /usr/local/lib/python3.10/dist-packages/litexcnc/driver/etherbone.c:153:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 153 | fprintf(stderr, "Unexpected read length: %d, expected %d\n", count, (16+size)); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld Linking litexcnc_eth.so cp litexcnc_eth.so /usr/lib/linuxcnc/modules/ Compiling realtime litexcnc_debug.c Linking litexcnc_debug.so cp litexcnc_debug.so /usr/lib/linuxcnc/modules/ Compiling realtime pos2vel.c pos2vel.c: In function ‘rtapi_app_main’: pos2vel.c:161:54: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 161 | rtapi_print_msg(RTAPI_MSG_INFO, "PID: installed %d pos2vel converters\n", pos2vel->data.num_instances); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld Linking pos2vel.so cp pos2vel.so /usr/lib/linuxcnc/modules/ INFO: LitexCNC driver installed oj@oj-turner:~$ halrun halcmd: loadrt litexcnc Note: Using POSIX realtime litexcnc: dlopen: /usr/lib/linuxcnc/modules/litexcnc.so: undefined symbol: json_object_array_length :1: waitpid failed /usr/bin/rtapi_app litexcnc :1: /usr/bin/rtapi_app exited without becoming ready :1: insmod for litexcnc failed, returned -1 halcmd: