[syslinux] Problems compiling syslinux on Debian 10

Didier Spaier didier at slint.fr
Thu Oct 20 01:00:39 PDT 2022

Le 20/10/2022 à 01:38, Tom Lisjac a écrit :
> Hi Tom,
> why not use or re-build the package shipped in Debian 10?
> https://packages.debian.org/buster/syslinux
> Cheers,
> Didier
> --
> Thanks for the suggestion, Didier. Tried their tarball and got a different type of error for 6.04:
> ld -m elf_i386  -T /home/dev/syslinux/syslinux-6.04~git20190206.bf6db5b4/mbr/i386/mbr.ld -e _start -o mbr.elf mbr.o
> objcopy -O binary mbr.elf mbr.bin
> perl /home/dev/syslinux/syslinux-6.04~git20190206.bf6db5b4/mbr/checksize.pl mbr.bin
> mbr.bin: too big (452 > 440)
> make[3]: *** [/home/dev/syslinux/syslinux-6.04~git20190206.bf6db5b4/mbr/Makefile:42: mbr.bin] Error 1
> make[2]: *** [/home/dev/syslinux/syslinux-6.04~git20190206.bf6db5b4/Makefile:288: mbr] Error 2
> make[1]: *** [/home/dev/syslinux/syslinux-6.04~git20190206.bf6db5b4/Makefile:257: bios] Error 2
> make: *** [Makefile:102: all] Error 2
> None of the errors I've seen look like dependency or toolchain issues. At this point it would help to know the best place to find GA releases and if someone can point to a recent version and build environment that will successfully compile it.
> Thanks,
> -Tom

Did you apply the patches in this archive:
If not, please do it.
If yes I suggest that you file a bug on the Debian bug tracker.

Sorry I can't help you beyond that, not running Debian (and havin switched to
GRUB2 for Legacy and EFI booting long ago in Slint, https://slint.fr).


More information about the Syslinux mailing list