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

Ferenc Wagner wferi at niif.hu
Wed Jun 4 23:53:40 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.


More information about the Syslinux mailing list