[syslinux] Building extlinux (Syslinux 6.03-pre11)

Alexey Orishko alexey.orishko at gmail.com
Wed May 14 15:49:06 PDT 2014


On Tue, May 13, 2014 at 11:52 PM, Gene Cumm <gene.cumm at gmail.com> wrote:

>   make bios clean
>   make bios installer
>
> This should satisfy your goal.

bash$ git clone git://git.zytor.com/syslinux/syslinux.git syslinux-6.03-pre11
bash$ cd syslinux-6.03-pre11
bash$ make bios clean
...

bash$ make bios installer

make -r -C /sources/syslinux-6.03-pre11 -f
/sources/syslinux-6.03-pre11/Makefile
SRC="/sources/syslinux-6.03-pre11" \
    OBJ=/sources/syslinux-6.03-pre11
objdir=/sources/syslinux-6.03-pre11 bios installer
make[1]: Entering directory '/sources/syslinux-6.03-pre11'
make -r -C /sources/syslinux-6.03-pre11/bios -f
/sources/syslinux-6.03-pre11/Makefile
SRC="/sources/syslinux-6.03-pre11" \
    objdir=/sources/syslinux-6.03-pre11/bios
OBJ=/sources/syslinux-6.03-pre11/bios HAVE_FIRMWARE=1 \
    FIRMWARE=BIOS \
    ARCH=i386 LDLINUX=ldlinux.c32 installer
make[2]: Entering directory '/sources/syslinux-6.03-pre11/bios'
set -e; for i in libinstaller mtools linux extlinux utils; \
    do make -r -C $i SRC="/sources/syslinux-6.03-pre11/$i"
OBJ="/sources/syslinux-6.03-pre11/bios/$i" \
    -f /sources/syslinux-6.03-pre11/$i/Makefile all; done
make[3]: Entering directory '/sources/syslinux-6.03-pre11/bios/libinstaller'
make[3]: *** No rule to make target
'/sources/syslinux-6.03-pre11/bios/libinstaller/../core/ldlinux.bss',
needed by 'bootsect_bin.c'.  Stop.
make[3]: Leaving directory '/sources/syslinux-6.03-pre11/bios/libinstaller'
/sources/syslinux-6.03-pre11/Makefile:310: recipe for target 'installer' failed
make[2]: *** [installer] Error 2
make[2]: Leaving directory '/sources/syslinux-6.03-pre11/bios'
/sources/syslinux-6.03-pre11/Makefile:255: recipe for target 'bios' failed
make[1]: *** [bios] Error 2
make[1]: Leaving directory '/sources/syslinux-6.03-pre11'
Makefile:103: recipe for target 'bios' failed
make: *** [bios] Error 2


extlinux.txt doesn't say anything about building installer
building.txt doesn't say anything about clean target
there is no help target either, which is quite useful while building
linux kernel...
A few lines could really clarify the procedure (unless the goal to
discourage people from building it).

The working sequence for code from git was:
make bios clean
make bios

After last step above I've got installer built.
So, is building.txt correct?

Another question, is it possible to provide an installer for 64-bit
linux in default package? (for whose, who has no 32-bit libraries
available)
Or maybe to get statically linked 32bit instead, if it would work on
pure 64bit system.

Regards,
Alexey


More information about the Syslinux mailing list