Post Reply 
x48ng, a x48 « restomod »
10-29-2023, 07:22 PM (This post was last modified: 10-29-2023 07:40 PM by gwh.)
Post: #4
RE: x48ng, a x48 « restomod »
(10-29-2023 06:03 PM)EugeneNine Wrote:  I've been using x48 for forever also.

I like the idea of a terminal mode

something with lua, what version of lua do you have/use?

Code:
bash-5.1$ make WITH_X11=no WITH_SDL=no
cc -g -O2 -I./src/ -D_GNU_SOURCE=1 -DVERSION_MAJOR=0 -DVERSION_MINOR=33 -DPATCHLEVEL=0  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNCURSES_WIDECHAR=1   -c -o src/runtime_options.o src/runtime_options.c
src/runtime_options.c: In function ‘config_read’:
src/runtime_options.c:118:10: warning: implicit declaration of function ‘luaL_loadfilex’; did you mean ‘luaL_loadfile’? [-Wimplicit-function-declaration]
  118 |     rc = luaL_loadfilex( config_lua_values, filename, "t" );
      |          ^~~~~~~~~~~~~~
      |          luaL_loadfile
src/runtime_options.c:119:16: error: ‘LUA_OK’ undeclared (first use in this function); did you mean ‘LUA_QL’?
  119 |     if ( rc != LUA_OK ) {
      |                ^~~~~~
      |                LUA_QL
src/runtime_options.c:119:16: note: each undeclared identifier is reported only once for each function it appears in
make: *** [<builtin>: src/runtime_options.o] Error 1
bash-5.1$

Here I have lua 5.4.6

EDIT: I just pushed a commit to the main branch that might solve your two errors. I can't really test quickly with an older lua (I suspect you have 5.1.x) but I hope it works for you.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
x48ng, a x48 « restomod » - gwh - 10-29-2023, 10:02 AM
RE: x48ng, a x48 « restomod » - cruff - 10-29-2023, 11:46 AM
RE: x48ng, a x48 « restomod » - gwh - 10-29-2023 07:22 PM
RE: x48ng, a x48 « restomod » - gwh - 11-02-2023, 09:16 AM
RE: x48ng, a x48 « restomod » - raprism - 06-09-2024, 01:01 PM
RE: x48ng, a x48 « restomod » - gwh - 06-12-2024, 09:02 AM



User(s) browsing this thread: 2 Guest(s)