[syslinux] Problems compiling syslinux on Debian 10

Don Cupp doncuppjr at yahoo.com
Wed Oct 19 14:34:01 PDT 2022

go to grub2

On Wednesday, October 19, 2022 at 03:43:09 AM PDT, Tom Lisjac via Syslinux <syslinux at syslinux.org> wrote: 

Hi all, 

Trying build syslinux 6.01, 02 or 03 on Debian 10 (gcc 8.3.0) using sources from http://www.kernel.org/pub/linux/utils/boot/syslinux/ 

The compiles for 6.01 and 02 throw several of these errors before aborting: 

In file included from /home/dev/syslinux/syslinux-6.01/lzo/src/lzo_conf.h:125, 
from /home/dev/syslinux/syslinux-6.01/lzo/src/lzo_init.c:41: 
/home/dev/syslinux/syslinux-6.01/lzo/src/miniacc.h:1666:59: error: variably modified ‘__acc_cta’ at file scope 
# define ACC_COMPILE_TIME_ASSERT_HEADER(e) extern int __acc_cta[1-2*!(e)]; 
syslinux-6.01/mk/build.mk:29: src/lzo_init.o] Error 1 
syslinux-6.01/Makefile:268: lzo] Error 2 
syslinux-6.01/Makefile:240: bios] Error 2 

The 6.03 compile exits after nasm with: 

ld -m elf_i386 -Bsymbolic -pie -E --hash-style=gnu -T /home/dev/syslinux/syslinux-6.03/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \ 
--start-group libcom32.a --whole-archive /home/dev/syslinux/syslinux-6.03/bios/com32/lib/libcom32core.a libldlinux.a --end-group \ 
> ldlinux.map 
ld: ldlinux.elf: not enough room for program headers, try linking with -N 
ld: final link failed: bad value 

syslinux-6.03/core/Makefile:167: ldlinux.elf] Error 1 
syslinux-6.03/Makefile:286: core] Error 2 
syslinux-6.03/Makefile:255: bios] Error 2 

Posting here as I haven't found a solution and need to get a recent version of this package compiled. Any suggestions would be greatly appreciated. 



Syslinux mailing list
Submissions to Syslinux at syslinux.org
Unsubscribe or set options at:

More information about the Syslinux mailing list