Hi, all<div><br></div><div>I'm going to cross compile libfprint for my ARM broad, so I typed these two command: </div><div><br></div><div>./configure --host=arm-linux --prefix=/opt</div><div>make</div><div><br></div><div>
But it failed like this: </div><div><div>/usr/local/arm/4.3.2/bin/../arm-none-linux-gnueabi/libc/usr/include/bits/mathcalls.h:242: warning: shadowed declaration is here</div><div>  CCLD   <a href="http://libfprint.la">libfprint.la</a></div>
<div>/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lusb-1.0</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [<a href="http://libfprint.la">libfprint.la</a>] Error 1</div>
<div>make[2]: leaving“/home/hiro/libfprint-0.4.0/libfprint”</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: leaving“/home/hiro/libfprint-0.4.0”</div><div>make: *** [all] Error 2</div></div><div><br></div>
<div>So, I decided to cross compile libusb first: </div><div><br></div><div>./configure --host=arm-linux --prefix=/opt // in libusb directory</div><div>make</div><div>sudo make install</div><div><br></div><div><div>./configure --host=arm-linux --prefix=/opt</div>
<div>make</div></div><div><br></div><div>then it reported:</div><div><br></div><div><div>/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lssl3</div>
<div>collect2: ld returned 1 exit status</div></div><div><br></div><div>How can I fix this? </div><div><br></div><div>Thanks.</div>