Lua build Problem
I've downloaded the latest SVN update, but when I try to make the code I get an error with the Lua component, see below.
make[1]: Entering directory `/home/karl/livebox-hah-read-only/userapps/opensource/lua-5.1.4'
cd src && make linux
make[2]: Entering directory `/home/karl/livebox-hah-read-only/userapps/opensource/lua-5.1.4/src'
make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
make[3]: Entering directory `/home/karl/livebox-hah-read-only/userapps/opensource/lua-5.1.4/src'
mips-uclibc-gcc -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses
/opt/toolchains/bin/../lib/gcc-lib/mips-linux/3.2.2/../../../../mips-linux/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[3]: *** [lua] Error 1
make[3]: Leaving directory `/home/karl/livebox-hah-read-only/userapps/opensource/lua-5.1.4/src'
make[2]: *** [linux] Error 2
make[2]: Leaving directory `/home/karl/livebox-hah-read-only/userapps/opensource/lua-5.1.4/src'
make[1]: *** [linux] Error 2
make[1]: Leaving directory `/home/karl/livebox-hah-read-only/userapps/opensource/lua-5.1.4'
I've checked that I've got ncurses installed, and I have. I've also updated all installed linux packages, and running the svn update command tell me that I'm at revision 233.
Any ideas anyone?
Karl
You need to update your MIPS toolchain - http://www.dbzoo.com/livebox/hah_software
The library ncurses was not used for any release until now so it was previously missing.
When you said you checked you must have check for the NATIVE ncurses library not the MIPS cross compiled ncurses!
Brett