Hello,
Generally request_irq is used to enable a device driver (or other
handler) to be associated with a hard interrupt. The function is defined
in (for i386 architecture) <source-path>/linux/arch/i386/kernel/irq.c .
It is declared in /usr/include/linux/sched.h .
If the handler you are writing is to built into the kernel, then you
shouldn't have any problem. If you are going to use it as a loadable
module, then insmod should take care of the dependencies, using the kernel
public symbol table (look at /proc/ksyms).  Loadable modules aren't
"linked" ; insmod essentially does this when loading. If you are trying to
write a user-land app to do interrupt handling, you may strongly want to
consider breaking it up to include a kernel-space (loadable) module and a
user-space application communicating with it.
Hope this helps.
George 
 On Thu, 1 Mar 2001, PYT PYT wrote:

> Date: Thu, 01 Mar 2001 19:19:22 GMT+1
> From: PYT PYT <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: request_irq
> 
> Hi !
> I have a big problem (I know that it's probably not the best mailing list for my 
>question...but I try
> anyway)...
> I need to use the request_irq function for my application and I can't link it....:-((
> The reference can't be resolved by GCC...
> Is there any Library to include, any compile option ???
> I'm using a basic distribution (red hat) with all packages installed (I hope)...
> 
> Please...
> Thank's
> PYT
> _________________________________________________________
> Le journal des abonnés Caramail - http://www.carazine.com
> 
> 

-- 
George Fouse, President  <[EMAIL PROTECTED]>
Quantum Technology Associates
www.quantumtek.net

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to