From: Joseph K. <jk...@us...> - 2012-11-25 05:57:39
|
> I couldn't compile libelf on amd64 machine running OpenBSD. LIBELF_ARCH > expands to EM_AMD64 on OpenBSD amd64 architecture which isn't listed in > elfdefinitions.h. The compilation error... On which version of OpenBSD did you notice the error? >From what I can see, OpenBSD has used EM_AMD64 since 2004 at least: see http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/exec_elf.h.diff?r1=1.38;r2=1.39;f=h. The elftoolchain sources build fine on OpenBSD 5.0 as of the writing. Regards, Joseph Koshy |