LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-21-2009, 06:24 AM   #1
shakeela
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Rep: Reputation: 0
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
 
Old 10-21-2009, 01:44 PM   #2
SethsdadtheLinuxer
Member
 
Registered: Jun 2007
Posts: 152

Rep: Reputation: 37
pci-devel?
 
Old 10-21-2009, 02:45 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
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.
 
Old 10-24-2009, 03:05 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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().
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Steam Client For Linux Confirmed: Linux Libraries Appear In Left 4 Dead Demo LXer Syndicated Linux News 0 11-30-2008 11:20 AM
Linux libraries jdawg00 Linux - Newbie 1 02-04-2008 07:04 PM
C++ Libraries for Linux thewonka Programming 7 03-16-2006 11:33 AM
Linux Libraries... DarthSabbath Linux - Software 1 10-25-2004 12:47 AM
C++ libraries for Linux... Thymox Programming 1 11-15-2001 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration