On Mon, Feb 28, 2011 at 3:27 PM, Roberto De Ioris <[email protected]> wrote: > > Il giorno 28/feb/2011, alle ore 15.01, luigi scarso ha scritto: > >> Latest trunk seems to fail to compile for plugin lua >> >> #>python uwsgiconfig.py --plugin plugins/lua >> >> plugins/lua/lua_plugin.c: In function ‘uwsgi_api_cache_set’: >> plugins/lua/lua_plugin.c:156: error: too few arguments to function >> ‘uwsgi_cache_set’ >> plugins/lua/lua_plugin.c: In function ‘uwsgi_api_register_signal’: >> plugins/lua/lua_plugin.c:179: error: ‘kind’ undeclared (first use in >> this function) >> plugins/lua/lua_plugin.c:179: error: (Each undeclared identifier is >> reported only once >> plugins/lua/lua_plugin.c:179: error: for each function it appears in.) >> cc1: warnings being treated as errors >> plugins/lua/lua_plugin.c: In function ‘uwsgi_api_cache_get’: >> plugins/lua/lua_plugin.c:198: warning: passing argument 3 of >> ‘uwsgi_cache_get’ from incompatible pointer type >> plugins/lua/lua_plugin.c: In function ‘uwsgi_lua_signal_handler’: >> plugins/lua/lua_plugin.c:604: error: ‘payload_size’ undeclared (first >> use in this function) >> plugins/lua/lua_plugin.c:608: error: ‘payload’ undeclared (first use >> in this function) >> *** unable to build lua plugin *** >> > > This should be fixed in the last commit. ok > > Remember to fix the include/lib paths in uwsgiplugin.py yes, thank you.
PS For the record: original lua source has not a clean way to make shared lib, better to see http://sourceforge.net/projects/luabinaries -- luigi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
