RE: Running into a problem compilation an application on linux.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

 

From: kernelnewbies-bounces@xxxxxxxxxxxxxxxxx [mailto:kernelnewbies-bounces@xxxxxxxxxxxxxxxxx] 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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux