Thanks a lot Colin.
Its cleared!

Thanks,
Gnana



On Mon, Nov 22, 2010 at 2:02 PM, Colin Watson <cjwat...@ubuntu.com> wrote:

> On Mon, Nov 22, 2010 at 01:16:09PM +0530, Gnanasekar Loganathan wrote:
> >    I'm newly joined in this group.
> >    I'm want to booting system from network/usb/harddisk by giving
> command.
> >    So modifying the grub as well in loader/i386/bsd.c.
> >
> >    I used strstr function  from string.h at the end of compilation i'm
> >    getting the following error.
> >
> >    strstr in bsd is not defined
>
> strstr is a libc (standard C library) function, and you can't use those
> in most parts of GRUB because the GRUB boot loader is a restricted
> environment where libc is not available.  Use grub_strstr instead.
>
> --
> Colin Watson                                       [cjwat...@ubuntu.com]
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to