Open-zwave lib link: http://code.google.com/p/open-zwave/source/browse/
Toolchain used: http://code.google.com/p/wl500g/downloads/list?can=3&q=hndtools-mipsel-uclibc-4.4.6-K26
Asus RT-N16 running on wl500g firmware: http://code.google.com/p/wl500g/
I've tried to do the following:
- added toolchain path:
PATH=$PATH:/home/user/hndtools-mipsel-uclibc-4.4.6-K26/bin/ - сhecked out all needed files:
svn checkout http://open-zwave.googlecode.com/svn/trunk/ open-zwave - added
CROSS_COMPILE = mipsel-linux-to /open-zwave/cpp/build/linux/Makefile - tried to make:
~/open-zwave/cpp/build/linux$ make - got error:
../../hidapi/linux/hid.c:40:26: error: linux/hidraw.h: No such file or directory - replaced gcc with mipsel-linux-gcc, g++ with mipsel-linux-g++ at /home/user/open-zwave/cpp/hidapi/linux/Makefile
- tried to make HIDAPI: ~/open-zwave/cpp/hidapi/linux$ make
- got another error:
hid-libusb.c:44:19: error: iconv.h: No such file or directory
How to cross-compile that?