On 05/02/2017 16:20, Cliff McDiarmid wrote: > Hi > > Trying to compile Syslinux-6.0.3 I'm getting the following error near the end > as the linker is employed: > > ld: unrecognised emulation mode: elf_x86_64 > Supported emulations: elf_i386 i386linux elf_iamcu elf32_x86_64 > /mnt/home/cliffys/Downloads/syslinux-6.03/com32/lib/Makefile:93: recipe for > target 'libcom32.elf' failed > make[4]: *** [libcom32.elf] Error 1 > make[4]: Leaving directory > '/mnt/home/cliffys/Downloads/syslinux-6.03/efi64/com32/lib' > /mnt/home/cliffys/Downloads/syslinux-6.03/com32/Makefile:7: recipe for target > 'lib' failed > make[3]: *** [lib] Error 2 > make[3]: Leaving directory > '/mnt/home/cliffys/Downloads/syslinux-6.03/efi64/com32' > /mnt/home/cliffys/Downloads/syslinux-6.03/Makefile:285: recipe for target > 'com32' failed > make[2]: *** [com32] Error 2 > make[2]: Leaving directory '/mnt/home/cliffys/Downloads/syslinux-6.03/efi64' > /mnt/home/cliffys/Downloads/syslinux-6.03/Makefile:269: recipe for target > 'efi64' failed > make[1]: *** [efi64] Error 2 > make[1]: Leaving directory '/mnt/home/cliffys/Downloads/syslinux-6.03' > Makefile:103: recipe for target 'all' failed > > Any hints here as to how I can get this through? > > I've tried CFLAGS and trying to change the linkers' emulation mode, but I'm > not fully understanding what's happening here. >
Hi, I do not know syslinux, but from the directory names, it looks like it is trying to build some 32 bit code. If your tool chain is 64 bit only, it cannot work. If you do not need EFI, you may try to disable it, since the "com32" directory seems to be in the "efi64" one. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
