[syslinux] Undef symbol FAIL: luaL_checklstring in vesa.c32

Ady ady-sf at hotmail.com
Thu Jun 5 02:43:34 PDT 2014


> Ady <ady-sf at hotmail.com> writes:
> 
> >> "H. Peter Anvin" <hpa at zytor.com> writes:
> >> 
> >>> I didn't realize how many modules there are in Lua, and quite frankly
> >>> not all of them are very well named in the sense that it is clear that
> >>> they are Lua-related.  vesa.c32 is one of those - it is one of several
> >>> Lua modules.
> >> 
> >> Their names appear in Lua code, like eg. require "vesa", so it's not
> >> arbitrary, but the file names can be prefixed transparently.  Currently
> >> (with /extlinux as install path and PATH /lua specified in the config):
> >> 
> >> > print (package.cpath)
> >> /lua/?.c32;/lua/?/init.c32;/extlinux/?.c32;/extlinux/?/init.c32;./?.c32
> >> 
> >> The question marks above are replaced by the argument of require().
> >> This variable is preset by setpath() at com32/lua/src/loadlib.c:674,
> >> where some string could be inserted before the question marks, or
> >> LUA_CPATH_DEFAULT (in luaconf.h) could be set to _lua.c32 instead of
> >> simply .c32 to have some extra suffix.
> >
> > Please avoid using file names longer than really necessary. Just as 
> > an example (which has nothing to do with Lua) "localboot.c32" is 
> > unnecessarily not fiting "8.3" format.
> 
> Using a different extension is also an option, I guess.
> -- 
> Feri.
 
I don't think it is really necessary to change their file names nor 
their file names extension, just as it is not necessary to change the 
lib*.c32 file name extension. The Lua-related modules are located 
under the "lua/" subdirectory in the Syslinux official distribution 
archives.

Instead, adding documentation (for example in the Syslinux wiki) 
about the Lua-related modules could be helpful IMHO.

Thank you,
Ady.


More information about the Syslinux mailing list