Hi all,
i wold like to try something like this
http://wiki.pinguino.cc/index.php/Interfacing_with_Lua
but having some truble crosscompilig lualibusb...
I can compile lualibusb on my host machine (ubuntu 10.04)
i tried to crosscompile lualibusb following this tutorial:
http://wiki.openwrt.org/doc/devel/crosscompile
but while compilig i have this error:
mipsel-openwrt-linux-uclibc-ld: cannot find -lusb
i think there's some problem linking lusb that i guess stay for libusb (am i wrong???)
here all the message from the compiler:
pippo@clodoveo:~/lualibusb$ make CC=mipsel-openwrt-linux-uclibc-gcc LD=mipsel-openwrt-linux-uclibc-ld
mipsel-openwrt-linux-uclibc-gcc -Wall -D_GNU_SOURCE -I/usr/include/libusb-1.0/ -I/usr/include/lua5.1 -fPIC -o lualibusb lualibusb.o -c -fPIC -fno-stack-protector
mipsel-openwrt-linux-uclibc-gcc: warning: lualibusb.o: linker input file unused because linking not done
mipsel-openwrt-linux-uclibc-ld -shared -soname libluausb.so.1 -o lualibusb.so -lusb lualibusb.o
mipsel-openwrt-linux-uclibc-ld: cannot find -lusb
make: *** [so] Error 1
Can sombody help me??
Tnx