On 9.2.2015 1:04, Alexey Orishko wrote:
Hi guys,

I've got a latest LFS SVN-20150208 built, but instead of grub I have
to use syslinux-6.03. I'm building a pure 64-bit system, so I can't
use 32-bit ELF extlinux provided in the package.

Unfortunately building extlinux installer failed with NASM in BLFS
Version 2015-02-07, however I was able to build it successfully with
old BLFS-7.5 setup.

Nasm old version was 2.11.03 and the new one is 2.11.06 with quite a
lot of differences...

make bios clean
make bios  (failed)

...
nasm -f elf -Ox  -g -F dwarf -DDATE_STR="''" \
     -DHEXDATE="0x54d7efa1" \
     -Di386 \
     -I/sources/syslinux-6.03/core/ \
     -l ldlinux.lsr -o ldlinux.o -MP -MD ./.ldlinux.o.d
/sources/syslinux-6.03/core/ldlinux.asm
diskstart.inc:438: error: symbol references not supported in
preprocess-only mode
diskstart.inc:438: error: non-constant value given to `%if'
diskstart.inc:439: error: symbol references not supported in
preprocess-only mode
diskstart.inc:439: error: non-constant value given to `%assign'
/sources/syslinux-6.03/core/ldlinux.asm:26: fatal: unable to open
include file `head.inc'
/sources/syslinux-6.03/core/Makefile:156: recipe for target 'ldlinux.o' failed
make[3]: *** [ldlinux.o] Error 1
make[3]: Leaving directory '/sources/syslinux-6.03/bios/core'
/sources/syslinux-6.03/Makefile:285: recipe for target 'core' failed
make[2]: *** [core] Error 2
make[2]: Leaving directory '/sources/syslinux-6.03/bios'
/sources/syslinux-6.03/Makefile:254: recipe for target 'bios' failed
make[1]: *** [bios] Error 2
make[1]: Leaving directory '/sources/syslinux-6.03'
Makefile:103: recipe for target 'bios' failed
make: *** [bios] Error 2

Have anyone tried to build extlinux with the latest svn?

BR Alexey


There's something wrong with nasm-2.11.06. It works fine with nasm-2.11.05 which I've been using for some time now. I suggest you do the same or check if nasm repository has a fix.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to