求助,在ubuntu 22.04.4上编译 buildroot_2020.02.x 失败,错误信息如下:
>>> linux-tools Installing to target
PATH="/root/imx_buildroot_2020.02.x/output/host/bin:/root/imx_buildroot_2020.02.x/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/root/imx_buildroot_2020.02.x/output/host/include -L/root/imx_buildroot_2020.02.x/output/host/lib -Wl,-rpath,/root/imx_buildroot_2020.02.x/output/host/lib" ARCH=arm INSTALL_MOD_PATH=/root/imx_buildroot_2020.02.x/output/target CROSS_COMPILE="/root/imx_buildroot_2020.02.x/output/host/bin/arm-buildroot-linux-gnueabihf-" DEPMOD=/root/imx_buildroot_2020.02.x/output/host/sbin/depmod INSTALL_MOD_STRIP=1 JOBS=9 ARCH=arm DESTDIR=/root/imx_buildroot_2020.02.x/output/target prefix=/usr WERROR=0 NO_LIBAUDIT=1 NO_GTK2=1 NO_LIBPERL=1 NO_LIBPYTHON=1 NO_LIBBIONIC=1 NO_LIBUNWIND=1 NO_LIBNUMA=1 NO_LIBELF=1 NO_DWARF=1 -C /root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf O=/root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf/ install
make[1]: Entering directory '/root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf'
BUILD: Doing 'make -j9' parallel build
Auto-detecting system features:
... dwarf: [ OFF ]
... dwarf_getlocations: [ OFF ]
... glibc: [ on ]
... gtk2: [ OFF ]
... libaudit: [ OFF ]
... libbfd: [ on ]
... libelf: [ OFF ]
... libnuma: [ OFF ]
... numa_num_possible_cpus: [ OFF ]
... libperl: [ OFF ]
... libpython: [ OFF ]
... libslang: [ on ]
... libcrypto: [ on ]
... libunwind: [ OFF ]
... libdw-dwarf-unwind: [ OFF ]
... zlib: [ on ]
... lzma: [ on ]
... get_cpuid: [ OFF ]
... bpf: [ on ]
Makefile.config:360: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
Makefile.config:433: Disabling post unwind, no support found.
Makefile.config:569: Python support disabled by user
SUBDIR Documentation
/root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf/pmu-events/.jevents.o.cmd:1: *** missing separator. Stop.
make[2]: *** [Makefile.perf:461: /root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf/pmu-events/jevents-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....
/root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf/.fixdep.o.cmd:1: *** missing separator. Stop.
make[3]: *** [Makefile:42: /root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf/fixdep-in.o] Error 2
make[2]: *** [/root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/build/Makefile.include:4: fixdep] Error 2
make[1]: *** [Makefile:109: install] Error 2
make[1]: Leaving directory '/root/imx_buildroot_2020.02.x/output/build/linux-origin_master/tools/perf'
make: *** [package/pkg-generic.mk:368: /root/imx_buildroot_2020.02.x/output/build/linux-tools/.stamp_target_installed] Error 2