[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] usage of string functions in RT Linux



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 (ksitaram@ctd.hcltech.com) 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 owner-rtl@fsmlabs.com -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/