xdp-project / xdp-tutorial

XDP tutorial
2.33k stars 562 forks source link

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

Open Zzzyyzz opened 5 months ago

Zzzyyzz commented 5 months ago

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

tohojo commented 5 months ago

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? :)

Zzzyyzz commented 5 months ago

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: @.***>

Ali-Raza-Arain commented 3 months ago

Linux: sudo apt install m4