Doesn't matter if i compile from images/sources or just the lib itself I have a compilation error:
[ 59%] Building C object libxtrxll/CMakeFiles/xtrxll.dir/xtrxll_log.c.o
/home/teon/x/images/sources/libxtrxll/xtrxll_base.c:832:12: warning: ‘PPS_CFG_TIME_PPS_EDGE’ defined but not used [-Wunused-const-variable=]
localparam PPS_CFG_TIME_PPS_EDGE = 3;
^~~~~~~~~~~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_base.c:830:12: warning: ‘PPS_CFG_OSC_PPS_EDGE’ defined but not used [-Wunused-const-variable=]
localparam PPS_CFG_OSC_PPS_EDGE = 1;
^~~~~~~~~~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:76:12: warning: ‘ESPI_RDID_0’ defined but not used [-Wunused-const-variable=]
localparam ESPI_RDID_0 = 0x9E;
^~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:73:12: warning: ‘QIO_RST’ defined but not used [-Wunused-const-variable=]
localparam QIO_RST = 0x99; // 0 0 0 0
^~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:72:12: warning: ‘QIO_RSTEN’ defined but not used [-Wunused-const-variable=]
localparam QIO_RSTEN = 0x66; // 0 0 0 0
^~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:70:12: warning: ‘QIO_RDREAR’ defined but not used [-Wunused-const-variable=]
localparam QIO_RDREAR = 0xC8; // 0 0 0 0
^~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:69:12: warning: ‘QIO_WREAR’ defined but not used [-Wunused-const-variable=]
localparam QIO_WREAR = 0xC5; // 0 0 0 0
^~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:68:12: warning: ‘QIO_EX4BYTEA’ defined but not used [-Wunused-const-variable=]
localparam QIO_EX4BYTEA = 0xE9; // 0 0 0 0
^~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:67:12: warning: ‘QIO_EN4BYTEA’ defined but not used [-Wunused-const-variable=]
localparam QIO_EN4BYTEA = 0xB7; // 0 0 0 0
^~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:65:12: warning: ‘QIO_WRECR’ defined but not used [-Wunused-const-variable=]
localparam QIO_WRECR = 0x61; // 0 0 0 1
^~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:63:12: warning: ‘QIO_WRVCR’ defined but not used [-Wunused-const-variable=]
localparam QIO_WRVCR = 0x81; // 0 0 0 1
^~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:61:12: warning: ‘QIO_CLFSR’ defined but not used [-Wunused-const-variable=]
localparam QIO_CLFSR = 0x50; // 0 0 0 2
^~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:60:12: warning: ‘QIO_RFSR’ defined but not used [-Wunused-const-variable=]
localparam QIO_RFSR = 0x70; // 0 0 2 0
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:59:12: warning: ‘QIO_WRLR’ defined but not used [-Wunused-const-variable=]
localparam QIO_WRLR = 0xE5; // 3/4 0 0 1
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:58:12: warning: ‘QIO_RDLR’ defined but not used [-Wunused-const-variable=]
localparam QIO_RDLR = 0xE8; // 3/4 0 1+ 0
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:57:12: warning: ‘QIO_WRSR’ defined but not used [-Wunused-const-variable=]
localparam QIO_WRSR = 0x01; // 0 0 0 1
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:54:12: warning: ‘QIO_PES’ defined but not used [-Wunused-const-variable=]
localparam QIO_PES = 0x75; // 0 0 0 0
^~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:53:12: warning: ‘QIO_PER’ defined but not used [-Wunused-const-variable=]
localparam QIO_PER = 0x7A; // 0 0 0 0
^~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:48:12: warning: ‘QIO_POTP’ defined but not used [-Wunused-const-variable=]
localparam QIO_POTP = 0x22; // 3/4 0 0 1-65
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:47:12: warning: ‘QIO_QCPP_2’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCPP_2 = 0x12; // 3/4 0 0 1-256
^~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:46:12: warning: ‘QIO_QCPP_1’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCPP_1 = 0x32; // 3/4 0 0 1-256
^~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:42:12: warning: ‘QIO_WRDI’ defined but not used [-Wunused-const-variable=]
localparam QIO_WRDI = 0x04; // 0 0 0 0
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:39:12: warning: ‘QIO_ROTP’ defined but not used [-Wunused-const-variable=]
localparam QIO_ROTP = 0x4B; // 3/4 10 1-65 0
^~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:38:12: warning: ‘QIO_QCFR4B_2’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCFR4B_2 = 0xEC; // 4 10 1+ 0
^~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:37:12: warning: ‘QIO_QCFR4B_1’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCFR4B_1 = 0x6C; // 4 10 1+ 0
^~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:36:12: warning: ‘QIO_QCFR4B_0’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCFR4B_0 = 0x0C; // 4 10 1+ 0
^~~~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:34:12: warning: ‘QIO_QCFR_1’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCFR_1 = 0x6B; // 3/4 10 1+ 0
^~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:33:12: warning: ‘QIO_QCFR_0’ defined but not used [-Wunused-const-variable=]
localparam QIO_QCFR_0 = 0x0B; // 3/4 10 1+ 0
^~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:32:12: warning: ‘QIO_RDSFDP’ defined but not used [-Wunused-const-variable=]
localparam QIO_RDSFDP = 0x5A; // 3 8 1+ 0
^~~~~~~~~~
/home/teon/x/images/sources/libxtrxll/xtrxll_flash.c:31:12: warning: ‘QIO_MIORDID’ defined but not used [-Wunused-const-variable=]
localparam QIO_MIORDID = 0xAF; // 0 0 1-3 0
^~~~~~~~~~~
[ 61%] Building C object libxtrxll/CMakeFiles/xtrxll.dir/xtrxll_api.c.o
[ 63%] Linking C shared library libxtrxll.so
[ 65%] Linking C executable test_xtrxdsp_sc32i_iq16
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_ic16i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_ic16i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_conv64_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32i_iq16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_iq16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_ic16i_iq16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_conv64_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32i_iq16_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq12_sc32_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_iq16_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_conv64_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic8i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_conv64_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic8i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq12_sc32_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_conv64_avx_fma'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_ic16i_iq16_avx'
collect2: error: ld returned 1 exit status
make[2]: *** [libxtrxdsp/tests/CMakeFiles/test_xtrxdsp_sc32i_iq16.dir/build.make:85: libxtrxdsp/tests/test_xtrxdsp_sc32i_iq16] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: libxtrxdsp/tests/CMakeFiles/test_xtrxdsp_sc32i_iq16.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 65%] Built target xtrxll
[ 68%] Linking C executable test_filter
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_ic16i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_ic16i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_conv64_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32i_iq16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_iq16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_ic16i_iq16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_sc32i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_conv64_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32i_iq16_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq12_sc32_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_iq16_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_conv64_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic8i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq16_conv64_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_sc32i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic8i_avx'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq12_sc32_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_sc32_conv64_avx_fma'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_iq8_ic16i_sse2'
/usr/bin/ld: ../libxtrxdsp.so.0.0.1: undefined reference to `xtrxdsp_ic16i_iq16_avx'
collect2: error: ld returned 1 exit status
make[2]: *** [libxtrxdsp/tests/CMakeFiles/test_filter.dir/build.make:85: libxtrxdsp/tests/test_filter] Error 1
make[1]: *** [CMakeFiles/Makefile2:150: libxtrxdsp/tests/CMakeFiles/test_filter.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Doesn't matter if i compile from images/sources or just the lib itself I have a compilation error: