It has to be possible to "re-create" functions like strcat et al that are
usable in the kernel, and I have difficulty believing that someone hasn't
already done just that.

It would in the spirit of Open Source if we share the "library" functions
we've created that are usable in modules.
        Norm


> -----Original Message-----
> From: root [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 16, 2000 1:26 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [rtl] Problem loading modules
> 
> On Wed, Feb 16, 2000 at 05:11:38PM +0100, Giorgio Lami wrote:
> > Hi,
> > 
> > I've some problems using strings in a module.
> > 
> > When I try to load a module where I've used the function strcat
> ("string.h") 
> > or the function pow ("math.h") I get the error message "unresolved
> symbol 
> > strcat" (or "unresolved symbol function pow).
> > 
> > How can I do?
> > 
> > Thanks in advace.
> 
> Giorgio,
> 
> you cannot use standard library functions in your modules.
> You can use functions of your own or ones provided by
> kernel (man ksyms). On this mailing list, it was mentioned
> that it's possible to use math functions (-lm) in the 
> modules. I try to do it but not final results till now.
> 
> If using fp operations in your RT task, don't forget to let
> it know about it. To link your module with a library, you'll
> need to use ld -r ... (partial linking).
> 
> Reagards,
> pa  
> --- [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/
--- [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/

Reply via email to