building libusb-1.0.8 errors on imx6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

building libusb-1.0.8 errors on imx6

1,711 次查看
pisces
Contributor II

Hi 

we need the libusb so file on our IMX.6 platform.

but when we set the acroos complier and try to configure and build.

it report errors as below:

Assembler messages:
Fatal error: invalid -march= option: `armv5t'
configure:3249: $? = 1

before building, we set the environemnt as below:

export PATH=/home/frank/toolchain/bin:$PATH

export CC=arm-fslc-linux-gnueabi-gcc AR=arm-fslc-linux-gnueabi-ar LD=arm-fslc-linux-gnueabi-ld STRIP=arm-fslc-linux-gnueabi-strip

Can anyone help me regarding this?

the attached doc file is the instructions i got from the vendor.

to make the sec1110 smart card chip run, we need to build some libs running on ARM platform.

any suggestiongs will  be highly appreciated.

 

thanks.

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,702 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello weigang,

The i.mx6 is armv7 can not compile by Armv5, that the reason you might have this error.

 

Regards

0 项奖励
回复