lua-users home
lua-l archive

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

On Sun, 20 Nov 2005 00:55:29 +1100, David Burgess wrote:

> I am not a FreeBSD user, but I think you have guessed correctly,
> you need different linker flags, luaL_checknumber is in the lua executable
> (or .so) depending on how you have built lua.
> How did you build lua?

I used makefile.Linux which was supplied in the tar file and changed one
line only to create a makefile.FreeBSD:

< CFLAGS=-I../../include -I$(COMPAT) $(PROF) $(OPT) $(DBG) $(DEF) -pedantic -W -Wall 
> CFLAGS=-I../../include -I/usr/local/include -I$(COMPAT) $(PROF) $(OPT) $(DBG) $(DEF) -pedantic -W -Wall 

> What version of lua, I guess 5.0.2 ?