lua-users home
lua-l archive

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

Am 02.07.2013 17:30 schröbte Wolfgang Schenke:
Hi Lua community...


I want to build LuaLanes 2.0.10 on Linux (with Lua 5.1.5). No problem to compile it, but upon requiring 'lanes' one gets:

./lua: error loading module 'lanes' from file './':
     ./ undefined symbol: pthread_mutexattr_settype

How can I resolve this?

I found this in the Makefile of Lanes 3.6.0:

    ifeq "$(shell uname -s)" "Linux"
      # -D_GNU_SOURCE needed for 'pthread_mutexattr_settype'