how to get pciutils library in /opt

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

how to get pciutils library in /opt

跳至解决方案
527 次查看
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 解答
501 次查看
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 回复数
502 次查看
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 项奖励
回复
494 次查看
dibyarekha
Contributor IV
Thanks @yipingwang
0 项奖励
回复