[syslinux] Last call for Syslinux 3.70

H. Peter Anvin hpa at zytor.com
Fri Jun 27 18:38:29 PDT 2008


Gilles Espinasse wrote:
> 
> With LFS-5.1 gcc-3.3.3, binutils-2.15.90.0.3, nasm-0.98.39 or nasm-2.03.01,
> it fail with
> ...
> arch/i386/prefix/libprefix.S: Assembler messages:
> arch/i386/prefix/libprefix.S:297: Error: `( -pm_call_vars_size+( (gdt)-
> pm_call_vars))(%eax,%edi)' is not a valid 16 bit base/index expression
> make[3]: *** [bin/libprefix.o] Error 1
> make[3]: Leaving directory `/usr/src/syslinux-3.70-pre26/gpxe/src'
> make[2]: *** [gpxelinux.0] Error 2
> make[2]: Leaving directory `/usr/src/syslinux-3.70-pre26/gpxe'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/syslinux-3.70-pre26'
> make: *** [/usr/src/log/syslinux-3.70-pre26] Error 2
> 

You're using an old version of binutils, which has a buggy gas (not 
handling 32-bit address expressions in 16-bit mode, even though they're 
legal.)

> With LFS 6-dev gcc-4.2.3, binutils-2.18, nasm-0.98.39 and same
> make clean && make && make installer && make install
> it fail with
> ...
> ls: cannot access win32/syslinux.exe: No such file or directory

You don't have the mingw compiler installed, but you deleted this file 
so it can't be installed...

> On the same gcc-4.2.3, binutils-2.18, nasm-0.98.39 with the instructions
> from doc/distrib.txt
>  make clean && make installer
> 
> cd /usr/src/syslinux-3.70-pre26 && make installer
> make[1]: Entering directory `/usr/src/syslinux-3.70-pre26'
> set -e ; for i in ; do make -r -C $i all ; done
> make -r installer-local
> make[2]: Entering directory `/usr/src/syslinux-3.70-pre26'
> make[2]: Nothing to be done for `installer-local'.
> make[2]: Leaving directory `/usr/src/syslinux-3.70-pre26'
> set -e ; for i in mtools linux extlinux utils com32 sample; do make -r -C $i
> all ; done
> make[2]: Entering directory `/usr/src/syslinux-3.70-pre26/mtools'
> gcc -Wp,-MT,syslinux.o,-MMD,.syslinux.o.d -W -Wall -D_FILE_OFFSET_BITS=64 -g
>  -Os -I. -I.. -I../libfat -I../libinstaller -c -o syslinux.o syslinux.c
> gcc -Wp,-MT,syslxmod.o,-MMD,.syslxmod.o.d -W -Wall -D_FILE_OFFSET_BITS=64 -g
>  -Os -I. -I.. -I../libfat -I../libinstaller -c -o syslxmod.o
> ../libinstaller/syslxmod.c
> make[2]: *** No rule to make target `bootsect_bin.o', needed by `syslinux'.
> Stop.
> make[2]: Leaving directory `/usr/src/syslinux-3.70-pre26/mtools'
> make[1]: *** [installer] Error 2
> make[1]: Leaving directory `/usr/src/syslinux-3.70-pre26'
> make: *** [/usr/src/log_i486/04_misc/syslinux-3.70-pre26] Error 2

This one is a real problem.  Let me dig into it.

	-hpa




More information about the Syslinux mailing list