[syslinux] RE: SYSLINUX 2.09-pre3

Geoffrey Huntley geoff at cam1.com.au
Mon Feb 2 18:52:59 PST 2004


Looks like 2.13.90.0.2 is bugged.

I just took it to 2.13.90.0.18-9 and she compiled [alas with a few warnings]

[tftp at service /mnt/ghost/sys/menu]# make clean
rm -f *.s *.s16 *.o16 *.elf *.com *.a
[tftp at service /mnt/ghost/sys/menu]# make
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -x assembler-with-cpp -E -o startup.s16
startup.S16
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -S -o biosio.s biosio.c
echo '.code16gcc' | cat - biosio.s > biosio.s16
as -o biosio.o16 biosio.s16
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -S -o string.s string.c
echo '.code16gcc' | cat - string.s > string.s16
as -o string.o16 string.s16
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -S -o menu.s menu.c
menu.c: In function `printmenu':
menu.c:89: warning: enumeration value `OPT_INACTIVE' not handled in switch
menu.c:89: warning: enumeration value `OPT_RUN' not handled in switch
menu.c:89: warning: enumeration value `OPT_EXITMENU' not handled in switch
menu.c:89: warning: enumeration value `OPT_RADIOBTN' not handled in switch
menu.c:89: warning: enumeration value `OPT_EXIT' not handled in switch
menu.c: In function `add_item':
menu.c:361: warning: array subscript has type `char'
menu.c:401: warning: enumeration value `OPT_INACTIVE' not handled in switch
menu.c:401: warning: enumeration value `OPT_RUN' not handled in switch
menu.c:401: warning: enumeration value `OPT_EXITMENU' not handled in switch
menu.c:401: warning: enumeration value `OPT_EXIT' not handled in switch
echo '.code16gcc' | cat - menu.s > menu.s16
as -o menu.o16 menu.s16
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -S -o syslinux.s syslinux.c
echo '.code16gcc' | cat - syslinux.s > syslinux.s16
as -o syslinux.o16 syslinux.s16
rm -f libmenu.a
ar cq libmenu.a biosio.o16 string.o16 menu.o16 syslinux.o16
ranlib libmenu.a
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -S -o simple.s simple.c
echo '.code16gcc' | cat - simple.s > simple.s16
as -o simple.o16 simple.s16
as -o startup.o16 startup.s16
ld -m elf_i386 -T com16.ld -o simple.elf startup.o16 simple.o16 libmenu.a
objcopy -O binary simple.elf simple.com
gcc -m32 -funsigned-char -g -W -Wall -march=i386 -falign-functions=0
-falign-jumps=0 -falign-loops=0 -Os -S -o complex.s complex.c
echo '.code16gcc' | cat - complex.s > complex.s16
as -o complex.o16 complex.s16
ld -m elf_i386 -T com16.ld -o complex.elf startup.o16 complex.o16 libmenu.a
objcopy -O binary complex.elf complex.com
rm simple.o16 biosio.s simple.s startup.o16 complex.s16 complex.elf
complex.s simple.s16 simple.elf string.s syslinux.s syslinux.s16 biosio.s16
menu.s16 string.s16 menu.s complex.o16
[tftp at service /mnt/ghost/sys/menu]#


-----Original Message-----
From: H. Peter Anvin [mailto:hpa at zytor.com] 
Sent: Tuesday, February 03, 2004 1:21 PM
To: Geoffrey Huntley
Cc: syslinux at zytor.com
Subject: Re: [syslinux] RE: SYSLINUX 2.09-pre3

Geoffrey Huntley wrote:
> My mistake; 2.13.90.0.2
> 

It works for me with 2.13.90.0.18, 2.11.90.0.8, and 2.14.90.0.6, which
are the versions I have to test with.  I'm inclined to write this off as
a bug in the particular version you happen to have.

	-hpa




More information about the Syslinux mailing list