On 6 February 2017 at 10:07, Cliff McDiarmid <[email protected]> wrote:
> Sent: Sunday, February 05, 2017 at 9:31 PM
> From: "Pierre Labastie" <[email protected]>
> To: "BLFS Support List" <[email protected]>
> Subject: Re: [blfs-support] unrecognised emulation mode
> 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.
>>
>
>>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.
>
> Thanks Pierre
>
> That's the thing, my LFS is 32bit and hence the linker is, that's what was 
> confusing.
>
> Could I try any flags here to get it to compile?

From what I recall last time I built syslinux, unless you need all the
tools, "make extlinux" should suffice.

Richard
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to