|
|
||
|
Am 02.07.2013 17:30 schröbte Wolfgang Schenke:
Hi Lua community...
Hi!
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 './lanes.so':
./lanes.so: 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'
CFLAGS += -D_GNU_SOURCE -fPIC
-Wolfgang
Philipp