I am buildig the latest flex-build from github.
By cross-compiling via docker, I managed to build an image.
However, when trying to build the same image of flex-build on the LX2160A itself, I get the error after a while:
Building pktgen_dpdk ...
The Meson build system
Version: 1.0.1
Source dir: /root/flexbuild/components_lsdk2506/apps/networking/pktgen_dpdk
Build dir: /root/flexbuild/components_lsdk2506/apps/networking/pktgen_dpdk/build_debian_arm64
Build type: cross build
Program cat found: YES (/usr/bin/cat)
Project name: pktgen
Project version: 23.06.1
C compiler for the host machine: gcc -march=armv8-a+crc+crypto -fstack-protector-strong -O2 --sysroot=/root/flexbuild/build_lsdk2506/rfs/rootfs_lsdk2506_debian_server_arm64 (gcc 12.2.0 "gcc (Debian 12.2.0-14+deb12u1) 12.2.0")
C linker for the host machine: gcc -march=armv8-a+crc+crypto -fstack-protector-strong -O2 --sysroot=/root/flexbuild/build_lsdk2506/rfs/rootfs_lsdk2506_debian_server_arm64 ld.bfd 2.40
C compiler for the build machine: ccache cc (gcc 12.2.0 "cc (Debian 12.2.0-14+deb12u1) 12.2.0")
C linker for the build machine: cc ld.bfd 2.40
Build machine cpu family: aarch64
Build machine cpu: aarch64
Host machine cpu family: aarch64
Host machine cpu: aarch64
Target machine cpu family: aarch64
Target machine cpu: aarch64
Compiler for C supports arguments -mavx: NO
Compiler for C supports arguments -mavx2: NO
Compiler for C supports arguments -Wno-pedantic: YES
Compiler for C supports arguments -Wno-format-truncation: YES
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Found CMake: NO
Run-time dependency libdpdk found: NO
meson.build:70:1: ERROR: Dependency lookup for libdpdk with method 'pkgconfig' failed: Could not generate cargs for libdpdk:
Package jansson was not found in the pkg-config search path.
Perhaps you should add the directory containing `jansson.pc'
to the PKG_CONFIG_PATH environment variable
Package 'jansson', required by 'libdpdk', not found