LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Are there any linux libraries for pci (https://www.linuxquestions.org/questions/linux-kernel-70/are-there-any-linux-libraries-for-pci-763418/)

shakeela 10-21-2009 06:24 AM

Are there any linux libraries for pci
 
i m getting linker error when including <linux/pci.h>
error:undefined reference to pci_find_device
collect2: ld returned 1 exit

SethsdadtheLinuxer 10-21-2009 01:44 PM

pci-devel?

Quakeboy02 10-21-2009 02:45 PM

Sounds like you're doing a kernel compile and writing your own driver. If that's the case, you might want to hit the report button and ask for this to be moved to the Linux-Kernel forum.

It sounds like either a .config problem or bad driver code.

Mara 10-24-2009 03:05 PM

Moved: This thread is more suitable in Linux-Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.

Which kernel version you're developing for? pci_get_device() is deprecated. Try with pci_get_device().


All times are GMT -5. The time now is 01:57 AM.