On Tue, Oct 17, 2000 at 07:14:00PM +0200, Thomas Paoloni wrote:
> I've include asm/string.h instead of string.h but this include file generates
> my new unresolved links.
Don't link, just compile your module to object code and then load it
with insmod. insmod and the kernel do resolving of external functions on the
fly, because they are already in memory (in the kernel).
> I'v read the source string.h and I seen extern declarations for the inline
> functions written inside.
> I solved the problem in a very bad way, I copied the string.h into my working
> directory, I removed all extern keywords, and now I get no unresolved links.
> My module continues to be not able to acces to profibus card this means that I
> can load the module without erros but I does nothing !!!
> The user space version works fine.
> I'm going to study on how to develope modules.
>
> How can I access file like /dev/... from a RT module ?
Which files? All special files in /dev are just another access point
to the kernel. For example, RT-FIFOs can be written to from kernel space
using rtf_put(), and read from user space via open("/dev/rtf0", O_RDWR) and
read().
--
Nathan Paul Simons, Junior Software Engineer for FSMLabs
http://www.fsmlabs.com/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/