From: [email protected] [mailto:[email protected]] On Behalf Of Omkar Houddin Sent: Monday, February 02, 2015 7:16 PM To: kernelnewbies Subject: Running into a problem compilation an application on linux.
I was trying to compile an application on porteus linux gcc -Wall -O xyz.c -lpci -o xyz /usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: cannot find -lpci collect2: error ld returned 1 exit status Can you please help me resolve this. Thanks, OMK This is not really a kernel question, but it would appear your system does not have the PCI development library (cannot find –lpci). First you’ll need to find out which package management system slackware uses (there’s 2 popular ones; 1) Redhat’s rpm system and 2) debian). Once you’ve determined that you will want to read up on how to get and install packages and install the PCI development package on your system. Jeff Haran
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
