how to get pciutils library in /opt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to get pciutils library in /opt

Jump to solution
713 Views
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 Kudos
Reply
1 Solution
687 Views
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.

View solution in original post

0 Kudos
Reply
2 Replies
688 Views
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 Kudos
Reply
680 Views
dibyarekha
Contributor IV
Thanks @yipingwang
0 Kudos
Reply