我想将它移植到ARM上,所以需要交叉编译,但是不太清楚它的移植性怎么样. 我用的交叉编译器版本为2.95.3 和3.4.1 都编译不过去 CC=/usr/我的相应路径..../2.95.3/bin/arm-linux-gcc LD=/usr/我的相应路径..../2.95.3/bin/arm-linux-ld ./configure --prefix==/test --host=arm-linux 一切正常,可以生成makefile,只是在make的时候出现了错误(用RT9的gcc可以编译过去) cc1: warnings being treated as errors linux.c: In function `usb_os_determine_children': linux.c:579: warning: unknown conversion type character `z' in format linux.c:579: warning: too many arguments for format make[2]: *** [linux.lo] Error 1 make[2]: Leaving directory `/mnt/hgfs/windows/test/libusb-0.1.12' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/hgfs/windows/test/libusb-0.1.12' make: *** [all] Error 2
不知哪位大侠遇到过,给小弟个提示,谢谢!!!
|