Thanks a lot Colin.
On Mon, Nov 22, 2010 at 2:02 PM, Colin Watson
<address@hidden> 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 [address@hidden]
_______________________________________________
Grub-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/grub-devel