LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 06-30-2008, 02:31 AM   #1
amio.praba@gmail.com
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
error: ‘KBUILD_MODNAME’ undeclared in function ‘pci_register_driver’


Hi all,
Am developing a sample PCI driver and running it in FC7 - 2.6.21 kernel.
On compilation, i got the follwing error:

include/linux/pci.h: In function ‘pci_register_driver’:
include/linux/pci.h:595: error: ‘KBUILD_MODNAME’ undeclared (first use in this function)
include/linux/pci.h:595: error: (Each undeclared identifier is reported only once
include/linux/pci.h:595: error: for each function it appears in.)
May i know the root cause of this error?

Thanks in advance.

Regards,
amio
 
  


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
error: ‘LOGGING_FACILITY’ undeclared (first use in this function) nasim751 Linux - Software 1 04-19-2008 05:55 AM
undeclared here (not in a function) ashlesha Linux - Software 2 08-23-2006 11:29 PM
cairo-1.0.2 and 1.0.0 - error: CAIRO_FONT_SCALED_BACKEND_DEFAULT undeclared ForYouAndI.com Linux - Software 0 01-15-2006 06:42 PM
prelink error: `PT_GNU_STACK' undeclared vbbjq Slackware 7 08-23-2004 12:57 PM
GCC:- 'cout' is an undeclared function when #include <iostream> is included? caesius_01 Programming 5 04-04-2004 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:06 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