LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 10-09-2009, 03:25 AM   #1
shakeela
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Rep: Reputation: 0
undefined reference to pci_find_device


i am including header file linux/pci.h
but still i am getting error
undefined reference to pci_find_device
collect2:ld returned 1 exit status


do i have to include any libs
we are writing adc drivers using RTlinux 2.6.24.4 and compiling using gcc4.1

Last edited by shakeela; 10-09-2009 at 05:19 AM.
 
Old 10-09-2009, 03:50 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
in order for ANY help you are going to NEED to add A LOT MORE DETAIL
-- here we go again with 20 questions ---
What is your OS ??
what version is it ?
what is the compiler Gcc 4.0 4.1,4.2,4.3,4.4,4.42 WHAT IS IT !!!!!
what is the program that is throughing the error

and PLEASE POST THE FULL ERROR
 
Old 10-24-2009, 04:08 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

The thread with most answers is: http://www.linuxquestions.org/questi...8/#post3725585
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Undefined reference, why? george_mercury Programming 4 05-07-2009 01:15 AM
undefined reference to... dimah Programming 3 12-27-2006 10:57 AM
Undefined reference to: ashlesha Programming 5 11-08-2006 02:07 PM
undefined reference? Sharky01252 Programming 3 11-07-2006 12:36 PM
undefined reference vkmgeek Programming 1 05-11-2006 07:37 AM


All times are GMT -5. The time now is 04:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration