|
Roger D. Vargas wrote:
I copied the following code from the lua tutorial sent a few days ago:
...
/tmp/ccI7aU6p.o: In function `main': /tmp/ccI7aU6p.o(.text+0x20): undefined reference to `lua_baselibopen' /tmp/ccI7aU6p.o(.text+0x28): undefined reference to `lua_iolibopen' /tmp/ccI7aU6p.o(.text+0x30): undefined reference to `lua_strlibopen' /tmp/ccI7aU6p.o(.text+0x38): undefined reference to `lua_mathlibopen'
Seems like your compilation is missing the files in src/lib You should add them to your setup. Maybe the same way as you used the files in src directory: Eero