代码拉取完成,页面将自动刷新
【24.03】5.10 sdk缺少libmnl.h文件
一、缺陷信息
内核信息: 5.10
缺陷归属组件:
缺陷归属的版本:
缺陷简述:
同时影响 ethtool ltp测试用例的编译
【环境信息】
硬件信息
【问题复现步骤】,请描述具体的操作步骤
# 先配置好sd
git clone https://gitee.com/src-openeuler/ethtool.git -b openEuler-24.03-LTS
cd ethtool
tar -xf ethtool-6.6.tar.xz
cd ethtool-6.6
./configure --host=${CROSS_COMPILE%-} --build=$(gcc -dumpmachine)
make
2203-lts-sp3可以构建成功
【实际结果】,请描述出问题的结果和影响
cd ./tmp_extract/ethtool* && \
./configure --host=${CROSS_COMPILE%-} --build=$(gcc -dumpmachine) && \
make && \
make test-cmdline
configure: loading site script /home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/site-config-aarch64-openeuler-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-openeuler-linux-strip... aarch64-openeuler-linux-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for aarch64-openeuler-linux-gcc... aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix accepts -g... yes
checking for aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix option to accept ISO C89... none needed
checking whether aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix... gcc3
checking how to run the C preprocessor... aarch64-openeuler-linux-gcc -E -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix needs -traditional... no
checking for aarch64-openeuler-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking whether C compiler accepts -std=gnu11... yes
checking for ANSI C header files... yes
checking for socket... yes
checking for bash-completion directory... ${prefix}/share/bash-completion/completions
checking for aarch64-openeuler-linux-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libmnl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ethtool.spec
config.status: creating ethtool.8
config.status: creating ethtool-config.h
config.status: ethtool-config.h is unchanged
config.status: executing depfiles commands
make[1]: Entering directory '/home/zzy/openeuler/mugen/testcases/embedded-test/third_party_packages_test/oe_test_ethtool_test_001/tmp_extract/ethtool-6.6'
make all-am
make[2]: Entering directory '/home/zzy/openeuler/mugen/testcases/embedded-test/third_party_packages_test/oe_test_ethtool_test_001/tmp_extract/ethtool-6.6'
depbase=`echo netlink/netlink.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
aarch64-openeuler-linux-gcc -mlittle-endian -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux --no-sysroot-suffix -DHAVE_CONFIG_H -I. -I./uapi -I/home/zzy/openeuler/image/0428/aarch64/qemu-aarch64/sdk/sysroots/aarch64-openeuler-linux/usr/include -Wall -Wextra -D_POSIX_C_SOURCE=200809L -O2 -pipe -g -feliminate-unused-debug-types -std=gnu11 -MT netlink/netlink.o -MD -MP -MF $depbase.Tpo -c -o netlink/netlink.o netlink/netlink.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from netlink/netlink.c:10:
netlink/netlink.h:10:10: fatal error: libmnl/libmnl.h: No such file or directory
10 | #include <libmnl/libmnl.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1422: netlink/netlink.o] Error 1
make[2]: Leaving directory '/home/zzy/openeuler/mugen/testcases/embedded-test/third_party_packages_test/oe_test_ethtool_test_001/tmp_extract/ethtool-6.6'
make[1]: *** [Makefile:881: all] Error 2
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等
缺陷详情参考链接:
缺陷分析指导链接:
https:xxx
Hi saarloos, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Yocto, and any of the maintainers: @ilisimin , @fanglinxu , @Wayne Ren
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论