Some string functions are implemented in the kernel and are available
for RTLinux modules. memset is certainly among them. You need <linux/string.h>
header file.  Also, use -static option to "ld" to prevent link errors.

Michael.

Sitaram Prasad ([EMAIL PROTECTED]) wrote:
> 
> > Hi all,
> > 
> >   I have doubt whether we can use string manipulation functions in RT
> > Linux modules.
> >   I used them and i am getting unresolved symbol 'memset' while linking. 
> >   I will have to link with libgcc to get rid of this problem or is there
> > any other way for this.
> >   Whether string manipulation functions can be used or not in RT Linux.
> > 
> >   Thanks in advance,
> >   Sitaram
> >    
> 
> ----- 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/

----- 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/

Reply via email to