xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

How to solve this problem: *** ERROR: Cannot find tool m4

Open Zzzyyzz opened this issue 1 year ago • 3 comments

root@zhangyi:/clone/xdp-tutorial# make clang: 11.0.0-2~ubuntu20.04.1 libbpf support: submodule ELF support: yes zlib support: yes libxdp support: submodule Configuring libxdp to use our libbpf submodule *** ERROR: Cannot find tool m4

lib

libbpf CC install/lib/libbpf.a INSTALL install/lib/libbpf.a

libxdp CC install/lib/libxdp.a make[2]: *** [Makefile:49:config.mk] 错误 1 make[1]: *** [Makefile:68:install/lib/libxdp.a] 错误 2 make: *** [Makefile:27:lib] 错误 2

Zzzyyzz avatar Jan 31 '24 14:01 Zzzyyzz

Zzzyyzz @.***> writes:

@.***:/clone/xdp-tutorial# make clang: 11.0.0-2~ubuntu20.04.1 libbpf support: submodule ELF support: yes zlib support: yes libxdp support: submodule Configuring libxdp to use our libbpf submodule *** ERROR: Cannot find tool m4

Well, have you tried installing m4? :)

tohojo avatar Jan 31 '24 15:01 tohojo

Thank you. I've solved the problem.  

⊙一日倾城? @.***

 

------------------ 原始邮件 ------------------ 发件人: "Toke @.>; 发送时间: 2024年1月31日(星期三) 晚上11:03 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [xdp-project/xdp-tutorial] How to solve this problem: *** ERROR: Cannot find tool m4 (Issue #392)

Zzzyyzz @.***> writes:

> @.***:/clone/xdp-tutorial# make > clang: 11.0.0-2~ubuntu20.04.1 > libbpf support: submodule > ELF support: yes > zlib support: yes > libxdp support: submodule > Configuring libxdp to use our libbpf submodule > *** ERROR: Cannot find tool m4

Well, have you tried installing m4? :)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Zzzyyzz avatar Jan 31 '24 15:01 Zzzyyzz

Linux: sudo apt install m4

Ali-Raza-Arain avatar Mar 15 '24 15:03 Ali-Raza-Arain