On May 13, 2014 4:04 PM, "Ady" <ady-sf at hotmail.com> wrote:> > On Tue, May 13, 2014 at 7:51 PM, Ady <ady-sf at hotmail.com> wrote:> > > I wonder why the already built-in binaries are not enough / adequate.> > I don't believe it can be used as is: > > bash# file syslinux > > syslinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),dynamically> > linked (uses shared libs), for GNU/Linux 2.6.32, > > BuildID[sha1]=0xe82a9430ce7456cfea7bcc877fa694740296c2a8, stripped > > > > bash# ./syslinux > > bash: ./syslinux: No such file or directory > > > > I have a minimal 64-bit system, where 32-bit libraries are not present.> I don't see how that explains why you can't use the pre-compiled > binaries. From your own emails, you don't seem to be looking to > (re)build a Syslinux package, but rather trying to use the extlinux > installer (to install EXTLINUX on a specific device).This alone does. 32b libraries or a 64b binary. --Gene
On May 13, 2014 5:49 PM, "Gene Cumm" <gene.cumm at gmail.com> wrote:> > On May 13, 2014 4:04 PM, "Ady" <ady-sf at hotmail.com> wrote: > > > > On Tue, May 13, 2014 at 7:51 PM, Ady <ady-sf at hotmail.com> wrote: > > > > > I wonder why the already built-in binaries are not enough /adequate.> > > > I don't believe it can be used as is: > > > > bash# file syslinux > > > syslinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),dynamically> > > linked (uses shared libs), for GNU/Linux 2.6.32, > > > BuildID[sha1]=0xe82a9430ce7456cfea7bcc877fa694740296c2a8, stripped > > > > > > bash# ./syslinux > > > bash: ./syslinux: No such file or directory > > > > > > I have a minimal 64-bit system, where 32-bit libraries are notpresent.> > > I don't see how that explains why you can't use the pre-compiled > > > binaries. From your own emails, you don't seem to be looking to > > (re)build a Syslinux package, but rather trying to use the extlinux > > installer (to install EXTLINUX on a specific device). > > This alone does. 32b libraries or a 64b binary.Alexey: make bios clean make bios installer This should satisfy your goal. --Gene
On May 13, 2014 5:52 PM, "Gene Cumm" <gene.cumm at gmail.com> wrote:> > On May 13, 2014 5:49 PM, "Gene Cumm" <gene.cumm at gmail.com> wrote: > > > > On May 13, 2014 4:04 PM, "Ady" <ady-sf at hotmail.com> wrote: > > > > > > On Tue, May 13, 2014 at 7:51 PM, Ady <ady-sf at hotmail.com> wrote: > > > > > > > I wonder why the already built-in binaries are not enough /adequate.> > > > > > I don't believe it can be used as is: > > > > > > bash# file syslinux > > > > syslinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),dynamically> > > > linked (uses shared libs), for GNU/Linux 2.6.32, > > > > BuildID[sha1]=0xe82a9430ce7456cfea7bcc877fa694740296c2a8, stripped > > > > > > > > bash# ./syslinux > > > > bash: ./syslinux: No such file or directory > > > > > > > > I have a minimal 64-bit system, where 32-bit libraries are notpresent.> > > > > I don't see how that explains why you can't use the pre-compiled > > > > > binaries. From your own emails, you don't seem to be looking to > > > (re)build a Syslinux package, but rather trying to use the extlinux > > > installer (to install EXTLINUX on a specific device). > > > > This alone does. 32b libraries or a 64b binary. > > Alexey: > > make bios clean > make bios installer>From a freshly extracted binary/source tarball> This should satisfy your goal.--Gene
On 05/13/2014 02:52 PM, Gene Cumm wrote:> > Alexey: > > make bios clean > make bios installer > > This should satisfy your goal. >I don't *think* you want the bit "bios" in there... -hpa
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