Ian Schofield wrote:
> In a RTLinux-based program I've written, I load a real-time kernel module:
>
> system("rtlinux start mymod.o");
>
> In order to allow access to this program anywhere on the system, I put the
> calling program and the kernel module in a directory that's listed in my $PATH.
> However, I've discovered that the kernel module won't load unless I run the
> calling program in the directory that the kernel module is found.
>
> How can I have my real-time app accessible everywhere?
it quit simple. when you write "tlinux start mymod.o" a script calls
modprobe/insmod to insert the module and search for the module in "/lib/modules/"
and the rtlinux module path. It does not have any information of the location of
your module so it fails. You have to write (system("rtlinux start <paht to
dir>/mymod.o" or copy the module to rtlinux module path and run depmod -a.
Anders Gnistrup
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [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/