Daniel-Constantin Mierla writes:
In this way it gets to quite standard module Makefile. Try again to compile and let's see the result.
the result is that make is still looping.
i did:
$ pkg-config --cflags lua5.1 -DDEB_HOST_MULTIARCH="x86_64-linux-gnu" -I/usr/include/lua5.1
$ pkg-config --libs lua5.1 -llua5.1
and then used this Makefile:
--------------------------------------------------- include ../../Makefile.defs auto_gen= NAME=app_lua.so
LIBS=-llua5.1 DEFS+=-DDEB_HOST_MULTIARCH="x86_64-linux-gnu" -I/usr/include/lua5.1
DEFS+=-DOPENSER_MOD_INTERFACE
SERLIBPATH=../../lib SER_LIBS+=$(SERLIBPATH)/kcore/kcore
include ../../Makefile.modules ----------------------------------------------------
after that make command
$ make modules=modules/app_lua modules
loops.
-- juha