how to get pciutils library in /opt

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

how to get pciutils library in /opt

ソリューションへジャンプ
714件の閲覧回数
dibyarekha
Contributor IV

Hi All,

I am working on LS1043 board, while cross-compiling for my application, I got an error as

cannot find -lpci

it means pci library is missing from /opt/fsl-qoriq/3.1/sysroots/aarch64-fsl-linux/usr/lib.

For my board pciutils library is present  in the following path

~/distro/build_ls1043ardb/tmp/work/aarch64-fsl-linux/pciutils/3.7.0-r0/pciutils-3.7.0/lib 

but it is not linking while cross-compiling.

How can I link this path or how can I get these libraries in /opt/fsl-qoriq/3.1/sysroots/aarch64-fsl-linux/usr/lib.

 

Please help me

0 件の賞賛
返信
1 解決策
688件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please copy files in build_ls1043ardb/tmp/work/aarch64-fsl-linux/pciutils/3.7.0-r0/image/usr/lib/ in /opt/fsl-qoriq/3.1/sysroots/aarch64-fsl-linux/usr/lib manually.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
689件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please copy files in build_ls1043ardb/tmp/work/aarch64-fsl-linux/pciutils/3.7.0-r0/image/usr/lib/ in /opt/fsl-qoriq/3.1/sysroots/aarch64-fsl-linux/usr/lib manually.

0 件の賞賛
返信
681件の閲覧回数
dibyarekha
Contributor IV
Thanks @yipingwang
0 件の賞賛
返信