[syslinux] cannot compile simple.c from within Syslinux 6.03

Ferenc Wagner wferi at niif.hu
Tue Sep 8 13:51:13 PDT 2015


"Colbert, Kevin via Syslinux" <syslinux at zytor.com> writes:

> I have upgraded to Syslinux version 6.03, however I am not able to
> compile my custom simple.c menu program from within
> /opt/syslinux-6.03/com32/cmenu (it does compiles under Syslinux 4.05
> when I run "make" in the /opt/syslinux-4.05/com32/cmenu directory).

That's unexpected, as Gene explained.  However, you may want to check
out whether the Lua binding of libmenu.c32 in Syslinux 6.03 is enough
for you, in which case you may be able to avoid compilation altogether.
See com32/lua/test/simplemenu.lua for an example.

> is there an argument that can be passed to "make" that will build the
> simple.c32 file for both "BIOS" and "64-bit EFI"?


Just do a plain make bios or make efi64 at the top level.  After the
first run that will only remake what's necessary.
-- 
Regards,
Feri.


More information about the Syslinux mailing list