sudo apt-get install build-essential sudo apt-get build-dep gcc-multilib sudo apt-get install gcc-multilib sudo apt-get install nasm sudo apt-get install uuid-dev I run #make spotless #make but it consistently fails at make[3]: Entering directory `/syslinux-6.03/efi32/efi' Building gnu-efi for ia32 /syslinux-6.03/efi/check-gnu-efi.sh ia32 /syslinux-6.03/efi32 Failed to build gnu-efi. Execute the following command for full details: build-gnu-efi.sh ia32 /syslinux-6.03/efi32 make[3]: *** [/syslinux-6.03/efi32/lib/libefi.a] Error 1 make[3]: Leaving directory `/syslinux-6.03/efi32/efi' make[2]: *** [efi] Error 2 make[2]: Leaving directory `/syslinux-6.03/efi32' make[1]: *** [efi32] Error 2 make[1]: Leaving directory `/syslinux-6.03' make: *** [all] Error 2 Do I have to install anything else? does this problem sound familiar? Thanks
On Sun, Dec 21, 2014 at 12:21:32PM -0800, Patrick Masotta wrote:> sudo apt-get install build-essential > sudo apt-get build-dep gcc-multilib > sudo apt-get install gcc-multilib > > sudo apt-get install nasm > sudo apt-get install uuid-dev > > I run > #make spotless > #make > > but it consistently fails at > > make[3]: Entering directory `/syslinux-6.03/efi32/efi' > Building gnu-efi for ia32 > /syslinux-6.03/efi/check-gnu-efi.sh ia32 /syslinux-6.03/efi32 > Failed to build gnu-efi. Execute the following command for full details: > > build-gnu-efi.sh ia32 /syslinux-6.03/efi32 > > make[3]: *** [/syslinux-6.03/efi32/lib/libefi.a] Error 1 > make[3]: Leaving directory `/syslinux-6.03/efi32/efi' > make[2]: *** [efi] Error 2 > make[2]: Leaving directory `/syslinux-6.03/efi32' > make[1]: *** [efi32] Error 2 > make[1]: Leaving directory `/syslinux-6.03' > make: *** [all] Error 2 > > Do I have to install anything else? does this problem sound familiar?FWIW git source plus patch from Philippe Coval from 2014-12-17 did just build fine twice an "apt-get system". Groeten Geert Stappers -- Leven en laten leven
On Mon, Dec 22, 2014 at 12:18:56AM +0100, Geert Stappers wrote:> On Sun, Dec 21, 2014 at 12:21:32PM -0800, Patrick Masotta wrote: > > sudo apt-get install build-essential > > sudo apt-get build-dep gcc-multilib > > sudo apt-get install gcc-multilib nasm uuid-dev > > > > $ make spotless > > $ make > > > > but it consistently fails at > > > > make[3]: Entering directory `/syslinux-6.03/efi32/efi' > > Building gnu-efi for ia32 > > /syslinux-6.03/efi/check-gnu-efi.sh ia32 /syslinux-6.03/efi32 > > Failed to build gnu-efi. Execute the following command for full details: > > > > build-gnu-efi.sh ia32 /syslinux-6.03/efi32 > > > > make[3]: *** [/syslinux-6.03/efi32/lib/libefi.a] Error 1 > > make[3]: Leaving directory `/syslinux-6.03/efi32/efi' > > make[2]: *** [efi] Error 2 > > make[2]: Leaving directory `/syslinux-6.03/efi32' > > make[1]: *** [efi32] Error 2 > > make[1]: Leaving directory `/syslinux-6.03' > > make: *** [all] Error 2 > > > > Do I have to install anything else? does this problem sound familiar? > > FWIW git source plus patch from Philippe Coval from 2014-12-17 > did just build fine twice an "apt-get system". >The reason for that succesfull build seems to be building from a git clone. At least has the git submodule repository git://git.code.sf.net/p/gnu-efi/code to be present. That in other words: When not build from git I can reproduce the reported build error. Place where it breaks is in efi/build-gnu-efi.sh at: ( cd ../.. git submodule update --init ) There are no checks on being in a "git checkout". This patch makes the problem more visible: --- syslinux-git/efi/check-gnu-efi.sh 2014-12-21 23:59:17.516158849 +0100 +++ syslinux-plain/efi/check-gnu-efi.sh 2014-12-22 09:14:53.537346017 +0100 @@ -25,7 +25,7 @@ # Syslinux disables built-in implicit rules. export MAKEFLAGS - ../../efi/build-gnu-efi.sh $ARCH "$objdir" > /dev/null 2>&1 + ../../efi/build-gnu-efi.sh $ARCH "$objdir" > /dev/null if [ $? -ne 0 ]; then printf "Failed to build gnu-efi. " printf "Execute the following command for full details: \n\n" Groeten Geert Stappers -- Leven en laten leven ------------- volgend deel ------------ Een niet-tekst bijlage is gescrubt... Naam: signature.asc Type: application/pgp-signature Grootte: 836 bytes Omschrijving: Digital signature URL : <http://www.zytor.com/pipermail/syslinux/attachments/20141222/85160568/attachment.sig>
> On Sun, Dec 21, 2014 at 12:21:32PM -0800, Patrick Masotta wrote: > > sudo apt-get install build-essential > > sudo apt-get build-dep gcc-multilib > > sudo apt-get install gcc-multilib > > > > sudo apt-get install nasm > > sudo apt-get install uuid-dev > > > > I run > > #make spotless > > #make > > > > but it consistently fails at > > > > make[3]: Entering directory `/syslinux-6.03/efi32/efi' > > Building gnu-efi for ia32 > > /syslinux-6.03/efi/check-gnu-efi.sh ia32 /syslinux-6.03/efi32 > > Failed to build gnu-efi. Execute the following command for full details: > > > > build-gnu-efi.sh ia32 /syslinux-6.03/efi32 > > > > make[3]: *** [/syslinux-6.03/efi32/lib/libefi.a] Error 1 > > make[3]: Leaving directory `/syslinux-6.03/efi32/efi' > > make[2]: *** [efi] Error 2 > > make[2]: Leaving directory `/syslinux-6.03/efi32' > > make[1]: *** [efi32] Error 2 > > make[1]: Leaving directory `/syslinux-6.03' > > make: *** [all] Error 2 > > > > Do I have to install anything else? does this problem sound familiar?For some reason I have not received the original email from Patrick Masotta in my inbox, so I am using the first reply sent by Geert in order to actually reply to the OP... The problem is probably gnu-efi and/or git. BTW, the official upstream gnu-efi git repo has changed its tree (since the official release of Syslinux 6.03), so there is a chance the build could fail anyway. To build the gnu-efi submodule in Syslinux without git, you would need some extra patch (e.g as in Mageia or similar). FWIW and FIY, other possible (partially optional) dependencies (that are probably not related to the particular error message in this case): dosfstools, mtools, gptfdisk, perl, python2, upx, asciidoc. Regards, Ady.