>gcc -o ../../bin/lua lua.o -L../../lib -llua -llualib -lm >lua.o(.text+0x68e):lua.c: undefined reference to `_imp__readline' >lua.o(.text+0x7da):lua.c: undefined reference to `_imp__add_history' You probably need to add -lreadline too. --lhf