LinuxQuestions.org
Register a domain and help support LQ
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 07-30-2008, 05:24 PM   #1
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Rep: Reputation: 15
in which header is "setup_irq" ??


Hi,,
i am trying to build a module and i am using "setup_irq" to define the irq of timer 2. In a similar way to this (line 133) file "core.c" for ARM ep93xx.
whenever i build it i get warnings
Code:
WARNING: "setup_irq" [/home/raed/TTL/modules/t3/t.ko] undefined!
i have also added all the headers used by "core.c" and i still get warning.
if i try to "insmod" the module i get
Code:
cs-e9302:/home/t3# insmod t.ko                                                                   
t: Unknown symbol setup_irq
insmod: error inserting 't.ko': -1 Unknown symbol in module
any hints?
thanx

Last edited by raedbenz; 07-31-2008 at 07:20 AM.
 
Old 07-31-2008, 10:04 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Looking for the whole world "setup_irq" under the kernel sources directory on Fedora 9, kernel 2.6.25.11-97.fc9.i686, I found:
Code:
# find . -type f | xargs grep -iw setup_irq
./include/linux/irq.h:extern int setup_irq(unsigned int irq, struct irqaction *new);
./System.map:c045bd64 T setup_irq
it seems setup_irq is declared in the most obvious include: irq.h. Hope this helps.
 
  


Reply


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
Rewriting "Set-cookie:" http header field J_Szucs Linux - Networking 3 08-06-2007 05:10 AM
Where can I get "Header Files" for Suse 10.0?? Need it for Mkcdrec Backup Utility Balarabay1 Linux - Software 2 08-13-2006 10:51 AM
toshiba qosimo f10 nvidia "header" problem cjae Slackware 3 04-27-2006 02:14 AM
How do I get "Kernel Header" files so I can install nVidia drivers Stevetgn Linux - Newbie 4 01-14-2004 06:57 PM
"ifnet structure (regarding configured interfaces)header file in linux9?" deepender Programming 0 12-07-2003 01:11 AM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration