[syslinux] syslinux 5.00 does not build

Matt Fleming matt at console-pimps.org
Fri Jan 4 03:46:35 PST 2013


On Thu, 2013-01-03 at 21:19 -0500, László Házy wrote:
> I am trying to build an RPM starting from the TAR archive. The relevant 
> error is:
> 
> make[1]: Entering directory 
> `/tmp1/Software/rpmbuild/BUILD/syslinux-5.00/libinstaller'
> perl bin2c.pl syslinux_bootsect < ../core/ldlinux.bss > bootsect_bin.c
> perl bin2c.pl syslinux_ldlinux 512 < ../core/ldlinux.sys > ldlinux_bin.c
> perl bin2c.pl syslinux_mbr < ../mbr/mbr.bin > mbr_bin.c
> perl bin2c.pl syslinux_gptmbr < ../mbr/gptmbr.bin > gptmbr_bin.c
> make[1]: *** No rule to make target 
> `../com32/elflink/ldlinux/ldlinux.c32', needed by `ldlinuxc32_bin.c'.  Stop.
> make[1]: Leaving directory 
> `/tmp1/Software/rpmbuild/BUILD/syslinux-5.00/libinstaller'
> make: *** [installer] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.48441 (%build)
> 
> 
> Sure enough, syslinux-5.00/libinstaller/Makefile contains
> 
>     ldlinuxc32_bin.c: ../com32/elflink/ldlinux/ldlinux.c32 bin2c.pl
>          $(PERL) bin2c.pl syslinux_ldlinuxc32 < $< > $@
> 
> However, there is no ../com32/elflink/ldlinux/ldlinux.c32 in the TAR 
> archive.
> 
> Did anybody ever check that syslinux 5.00 actually builds? Any 
> suggestions? Just comment out the rule in the Makefile?

Of course the build was checked. How do you think the release was
*created*?

rpmbuild must be invoking 'make clean ; make installer', which does
indeed produce the above error.

This is now fixed in git, thanks.

-- 
Matt Fleming, Intel Open Source Technology Center



More information about the Syslinux mailing list