libbpf-bootstrap icon indicating copy to clipboard operation
libbpf-bootstrap copied to clipboard

error: could not compile `gimli` (lib)

Open xqjcool opened this issue 1 year ago • 2 comments

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)

`

xqjcool avatar May 20 '24 01:05 xqjcool

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

danielocfb avatar May 20 '24 16:05 danielocfb

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 ?

xqjcool avatar May 22 '24 18:05 xqjcool