<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Hi,</div><div><br></div><div>devel/elfutils is missing a declaration for Elf64_Lib in <font color="#000000">elfutils/gelf.h — this causes emulators/qemu to fail to build</font></div><div><font color="#000000"><br></font></div><div>Editing /usr/local/include/elfutils/gelf.h <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">with the following made a difference:</span><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br></span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">-typedef Elf64_Lib GElf_Lib;</span></div><div>+typedef uint64_t Elf64_Lib;</div><div><div>+typedef Elf64_Lib GElf_Lib;</div></div></div><div><br></div><div>Also a patch for qemu dport:</div><div><br></div><div><div>diff --git a/emulators/qemu/Makefile.DragonFly b/emulators/qemu/Makefile.DragonFly</div><div>index 20af42e30a1..c273fcd5dd6 100644</div><div>--- a/emulators/qemu/Makefile.DragonFly</div><div>+++ b/emulators/qemu/Makefile.DragonFly</div><div>@@ -54,3 +54,6 @@ dfly-install:</div><div> ${STAGEDIR}${PREFIX}/bin/qemu-arm</div><div> .endif</div><div><br></div><div>+CFLAGS+=-I/usr/local/include -I/usr/local/include/elfutils</div><div>+LDFLAGS+=-L/usr/local/lib/elfutils -Wl,-rpath,/usr/local/lib/elfutils</div><div>+</div></div><div><br></div><div>Autumn</div></body></html>