building libusb-1.0.8 errors on imx6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

building libusb-1.0.8 errors on imx6

1,816件の閲覧回数
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,807件の閲覧回数
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 件の賞賛
返信