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

Colbert, Kevin kevin.colbert at hpe.com
Tue Sep 8 11:27:02 PDT 2015


Hello All,

This is my first time requesting help, so please bear with me. I don't upgrade Syslinux very often (only when the need arises), until now I have been using version 4.05. However, I have recently acquired several UEFI servers that are in need of being able to do OS installations via pxelinux.  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).  My PXE server is running RHEL 5.8 x86_64 with the latest updates. I am compiling simple.c with gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55).  I see that the Syslinux "installer" can be built for both the "BIOS" and "64-bit EFI" by running "make bios efi64 installer", is there an argument that can be passed to "make" that will build the simple.c32 file for both "BIOS" and "64-bit EFI"?  I have read through all the documentation that I can find on the web as well as what is in the Syslinux "doc" directory, but I haven't been able to find any reference to how build simple.c32 when using version 6.03.  If I run "make" from the /opt/syslinux-6.03/com32/cmenu directory, I get the following: 

[root at SWVT-LINUX cmenu]# make
Makefile:27: /elf.mk: No such file or directory
make: *** No rule to make target `/elf.mk'.  Stop.

Any help that you can provide will be deeply appreciated.

Thank you sincerely,

Kevin Colbert



More information about the Syslinux mailing list