I thougt somebody might like to know - I got a fresh copy of 4.04 from http://www.kernel.org/ - when building on a 32bit system, the build fails at first. I had to do a "make spotless" to get a successful build. make[2]: Entering directory `/home/per/workspace/syslinux-4.04/diag/geodsp' ./mk-lba-img lba.img ./mk-lba-img: ./mk-lba-img: cannot execute binary file make[2]: *** [lba.img] Error 126 make[2]: Leaving directory `/home/per/workspace/syslinux-4.04/diag/geodsp' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/per/workspace/syslinux-4.04/diag' make: *** [all] Error 2 ./mk-lba-img is a 64bit executable, presumably left by a previous build. /Per Jessen, Z?rich
Gilles Espinasse
2011-Nov-26 09:29 UTC
[syslinux] Building syslinux 4.04 on a 32bit system
----- Original Message ----- From: "Per Jessen" <per at computer.org> To: <syslinux at zytor.com> Sent: Saturday, November 26, 2011 9:55 AM Subject: [syslinux] Building syslinux 4.04 on a 32bit system> I thougt somebody might like to know - I got a fresh copy of 4.04 from > http://www.kernel.org/ - when building on a 32bit system, the build > fails at first. I had to do a "make spotless" to get a successful > build. >doc/distrib.txt explain why it is recommended to compile only installer in most cases. On a 32bits system, it was working for me with 4.0.4-pre1{3,4} (which were precompiled by a broken compiler) to compile again ldlinux.asm using make spotless && make I have actually no reason to recompile final 4.0.4 ldlinux.asm. Gilles