[syslinux] syslinux 5.00 does not build

Shao Miller sha0.miller at gmail.com
Thu Jan 3 19:21:01 PST 2013


On 1/3/2013 21:19, 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?
>
> Thanks.

I'm sure Matt Fleming did.  I've built it, too.

But what does building an RPM have to do with using the Syslinux 
Makefiles in the .tar archive?  Is not everything built for you already 
in that archive?

- Shao Miller



More information about the Syslinux mailing list