lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Everyone

I am trying to compile one of my stm32 boards using build_elua.lua and codesourcery as toolchain. I have lua and elua build and running.When I try to compile using the following command

lua build_elua.lua board=******* toolchain=codesourcery boot=standard prog

, it returns an error saying
lua: error loading module 'pack' from file '/usr/local/lib/lua/5.3/pack.so':
 /usr/local/lib/lua/5.3/pack.so: undefined symbol: lua_replace
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        ./utils/mkfs.lua:4: in main chunk
        [C]: in function 'require'
        build_elua.lua:22: in main chunk
        [C]: in ?


I assumed that pack was not build properly.So I looked for any git sources for pack...I found lpack but not pack...i assume lpack does packing and unpacking too...but it does not solve the issue....can any one shed some light as to how to tackle this issue and get rid of the error....thanks !!