[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problem with my first program
- From: Eero Pajarre <epajarre@...>
- Date: Mon, 23 Dec 2002 17:40:00 +0200
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: