[syslinux] SYSLINUX doesn't build on RedHat 4

H. Peter Anvin hpa at zytor.com
Fri Dec 14 10:50:17 PST 2007


H. Peter Anvin wrote:
> Ole Holm Nielsen wrote:
>> I grabbed the new SYSLINUX 3.54, but it refuses to build on my RedHat RHEL4
>> system:
>>
>> # make
>> set -e ; for i in mbr  ; do make DATE=0x47606c42 HEXDATE=0x47606c42 -C $i all ; done
>> make[1]: Entering directory `/scratch/syslinux-3.54/mbr'
>> gcc -m32 -ffreestanding  -march=i386 -Wa,-a=mbr.lst -c -o mbr.o mbr.S
>> as: option `-alternate' doesn't allow an argument
>> make[1]: *** [mbr.o] Error 1
>> make[1]: Leaving directory `/scratch/syslinux-3.54/mbr'
>> make: *** [all] Error 2
>>
>> RHEL4 has this GCC compiler:
>> # gcc --version
>> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)
>>
>> Is there any fix or workaround ?
>>
> 
> It's an issue with gas, not with gcc.
> 
> If you remove the -Wa,-a... argument from mbr/Makefile you can probably 
> get it to build.  -a is supposed to be list file, not "-alternate".
> 

Anyway... the obvious workaround is to use "make installer" (see 
distrib.doc).  You shouldn't need to rebuild the distributed binaries on 
an old system.

	-hpa




More information about the Syslinux mailing list