版权声明: https://blog.csdn.net/masterbee/article/details/85205956
如果编译时,有类似如下的错误提示:
/usr/bin/ld: cannot find -lpci
则可以安装相应的库,来解决这个问题:
sudo apt-get install libpci-dev
其实就是缺少*就安装*
/usr/bin/ld: cannot find -l*
则
sudo apt-get install lib*-dev