[syslinux] [PATCH wip.makefixes 0/3] Build fixes for current syslinux

Josh Triplett josh at joshtriplett.org
Sat Apr 17 12:35:33 PDT 2021


I was attempting to build the latest version of syslinux from git. The
version at HEAD didn't build, so I tried the version on the
wip.makefixes branch. In the course of trying to build that version, I
ran into a few issues; these patches address some of those.

With these patches, the build gets further, though it still fails with
undefined references to `opendir`, `readdir`, and `closedir`, referenced
from `com32/modules/dir.c`.

/home/josh/src/syslinux/com32/modules/dir.c:80: undefined reference to `opendir'
ld: /home/josh/src/syslinux/com32/modules/dir.c:86: undefined reference to `readdir'
ld: /home/josh/src/syslinux/com32/modules/dir.c:110: undefined reference to `closedir'
ld: /home/josh/src/syslinux/com32/modules/dir.c:148: undefined reference to `closedir'

Josh Triplett (3):
  Mark e820_types as extern in header to avoid duplicate symbol
  Mark tcp_conn_ops as extern in header to avoid duplicate symbol
  Pass --wide to readelf to avoid truncating symbol names

 com32/gplinclude/memory.h | 2 +-
 core/export.pl            | 2 +-
 core/include/core_pxe.h   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.31.0



More information about the Syslinux mailing list