Reinier Kleipool
2017-Aug-24 09:00 UTC
[syslinux] cmenu.c32 Symbol not found luaL_checklstring
Hello everyone, I am trying to PXE boot my Acer Aspire G3-773G laptop. It uses UEFI, so I load 64bit syslinux.efi (v6.03) and it automatically loads ldlinux.e64. All is fine. But when I want to use cmenu.c32 (with UI cmenu.c32 in the config file), the loader downloads: * cmenu.c32 * libmenu.c32 * libcom32.c32 * libutil.c32 Then syslinux reports: "unable to load cmenu.c32: symbol not found luaL_checklstring". This sysbol is defined in liblua.c32, that is present in the TFTP directory. The TFTP log file however does not show any attempt to load this library.... How to fix this??? syslinux.efi: 6.03 (EFI; 20151222) Kind regards, Reinier Kleipool
(Non-subscriber) On Thu, Aug 24, 2017 at 5:00 AM, Reinier Kleipool via Syslinux <syslinux at zytor.com> wrote:> Hello everyone, > > I am trying to PXE boot my Acer Aspire G3-773G laptop. It uses UEFI, so I > load 64bit syslinux.efi (v6.03) and it automatically loads ldlinux.e64. All > is fine. > But when I want to use cmenu.c32 (with UI cmenu.c32 in the config file), the > loader downloads:Why cmenu.c32 and not menu.c32 or vesamenu.c32? iirc, cmenu.c32's menu is hard-coded into the file and not reusing the existing config.> * cmenu.c32 > * libmenu.c32 > * libcom32.c32 > * libutil.c32 > Then syslinux reports: "unable to load cmenu.c32: symbol not found > luaL_checklstring". > This sysbol is defined in liblua.c32, that is present in the TFTP directory. > The TFTP log file however does not show any attempt to load this library.... > > How to fix this???I've never used cmenu.c32 myself.> syslinux.efi: 6.03 (EFI; 20151222)I'm doubting 6.04-pre1 would help in this case.> Kind regards, > Reinier Kleipool-- -Gene
Ferenc Wágner
2017-Aug-28 08:11 UTC
[syslinux] cmenu.c32 Symbol not found luaL_checklstring
Reinier Kleipool via Syslinux <syslinux at zytor.com> writes:> But when I want to use cmenu.c32 (with UI cmenu.c32 in the config > file), the loader downloads: > * cmenu.c32 > * libmenu.c32 > * libcom32.c32 > * libutil.c32 > Then syslinux reports: "unable to load cmenu.c32: symbol not found > luaL_checklstring". > This sysbol is defined in liblua.c32, that is present in the TFTP > directory. The TFTP log file however does not show any attempt to load > this library....cmenu.c32 is a Lua library, use it from a Lua script. See simplemenu.lua in the Syslinux source tree for an example. -- Feri
Reinier Kleipool
2017-Aug-28 11:19 UTC
[syslinux] cmenu.c32 Symbol not found luaL_checklstring
Thanks Ferenc! This is the answer. A nice menu is shown now I use menu.c32. I save a lua menu for later, menu.c32 works just fine for now. The documentation may be a little confusing on the site... Kind regards, Reinier Kleipool On 28-08-17 10:11, Ferenc W?gner wrote:> Reinier Kleipool via Syslinux <syslinux at zytor.com> writes: > >> But when I want to use cmenu.c32 (with UI cmenu.c32 in the config >> file), the loader downloads: >> * cmenu.c32 >> * libmenu.c32 >> * libcom32.c32 >> * libutil.c32 >> Then syslinux reports: "unable to load cmenu.c32: symbol not found >> luaL_checklstring". >> This sysbol is defined in liblua.c32, that is present in the TFTP >> directory. The TFTP log file however does not show any attempt to load >> this library.... > cmenu.c32 is a Lua library, use it from a Lua script. See > simplemenu.lua in the Syslinux source tree for an example.-- OSA mail template
Paul Daniels
2017-Aug-28 11:38 UTC
[syslinux] cmenu.c32 Symbol not found luaL_checklstring
Can you use the .c32 's like vesa menu with UEFI? I thought there was a subset of calls that are not permitted with UEFI booting. (It would be nice to get some graphics back again) On 28 Aug. 2017 6:30 pm, "Ferenc W?gner via Syslinux" <syslinux at zytor.com> wrote:> Reinier Kleipool via Syslinux <syslinux at zytor.com> writes: > > > But when I want to use cmenu.c32 (with UI cmenu.c32 in the config > > file), the loader downloads: > > * cmenu.c32 > > * libmenu.c32 > > * libcom32.c32 > > * libutil.c32 > > Then syslinux reports: "unable to load cmenu.c32: symbol not found > > luaL_checklstring". > > This sysbol is defined in liblua.c32, that is present in the TFTP > > directory. The TFTP log file however does not show any attempt to load > > this library.... > > cmenu.c32 is a Lua library, use it from a Lua script. See > simplemenu.lua in the Syslinux source tree for an example. > -- > Feri > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux >
Apparently Analagous Threads
- cmenu.c32 Symbol not found luaL_checklstring
- Undef symbol FAIL: luaL_checklstring in vesa.c32
- Undef symbol FAIL: luaL_checklstring in vesa.c32
- Undef symbol FAIL: luaL_checklstring in vesa.c32
- pull request: upgrade to Lua 5.2.3, automatic Linux boot menu and cmenu binding