libbpf / libbpf-bootstrap

Scaffolding for BPF application development with libbpf and BPF CO-RE
BSD 3-Clause "New" or "Revised" License
1.09k stars 294 forks source link

error: could not compile `gimli` (lib) #273

Open xqjcool opened 5 months ago

xqjcool commented 5 months ago

Running make in the examples/c directory gets stuck at "Compiling gimli". After a long wait, it indicates that it cannot compile gimli.

[root@xqjcool c]# make Compiling gimli v0.29.0 Building [===============> ] 18/29: gimli

[root@xqjcool ~]# cd libbpf-bootstrap/examples/c [root@xqjcool c]# make Compiling cpp_demangle v0.4.3 Compiling gimli v0.29.0 error: could not compilegimli` (lib)

`

danielocfb commented 5 months ago

You'll have to share why it can't compile.

xqjcool commented 5 months ago

system: ` [root@xqjcool ~]# uname -a Linux xqjcool 5.14.0-247.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 27 19:22:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

` After git clone, I execute make under libbpf-bootstrap/examples/c.

Is there some log files which can show the reason why it cant't compile ?