Hi, <br><br>I want to cross compile libfprint to nios2-linux. I have the required libraries. Imagemagick, crypto, usb, and glib. <br>I configure like this:<br><br> ./configure --build=i686-pc-linux-gnu --host=nios2-linux-gnu --prefix=/home/nuar/Programs/nios2-linux/uClinux-dist/staging/usr/ CC="nios2-linux-gnu-gcc" LDFLAGS="-L/home/nuar/Programs/nios2-linux/uClinux-dist/staging/usr/lib" CPPFLAGS="-I/home/nuar/Programs/nios2-linux/uClinux-dist/staging/usr/include"<br>
<br>But it gives error like this:<br><br>checking for pkg-config... /usr/bin/pkg-config<br>configure: WARNING: In the future, Autoconf will not detect cross-tools<br>whose name does not start with the host triplet. If you think this<br>
configuration is useful to you, please write to <a href="mailto:autoconf@gnu.org">autoconf@gnu.org</a>.<br>checking pkg-config is at least version 0.9.0... yes<br>checking for LIBUSB... configure: error: Package requirements ("libusb") were not met:<br>
<br>No package 'libusb' found<br><br>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>installed software in a non-standard prefix.<br><br>Alternatively, you may set the environment variables LIBUSB_CFLAGS<br>
and LIBUSB_LIBS to avoid the need to call pkg-config.<br>See the pkg-config man page for more details.<br><br><br>Moganesh<br>