-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-
bounces@bazar2.conectiva.com.br] On Behalf Of PA
Sent: Saturday, February 05, 2005 4:24 AM
To: Lua list
Subject: Re: coroutine & busy wait?
I tried to follow Luiz's instruction at "Installing my Lua Libraries":
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html
... but without much success so far:
% make
cc -I/usr/local/include -ansi -pedantic -Wall -O2 -c -o lalarm.o
lalarm.c
cc -o lalarm.so -shared lalarm.o
cc: unrecognized option `-shared'
ld: Undefined symbols:
_main
_lua_call
_lua_error
_lua_gethook
_lua_gethookmask
_lua_gettable
_lua_gettop
_lua_pushcclosure
_lua_pushlstring
_lua_pushnil
_lua_pushnumber
_lua_pushvalue
_lua_setfield
_lua_sethook
_lua_settable
_lua_tonumber
_lua_type
make: *** [lalarm.so] Error 1
Does anyone has a make file for Mac OS X?
For the record, I'm using lua-5.1-work4 on Mac OS X 10.3.7.