From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PKR88-0004HD-DO for mharc-grub-devel@gnu.org; Mon, 22 Nov 2010 02:48:04 -0500 Received: from [140.186.70.92] (port=33614 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKR84-0004F4-8a for grub-devel@gnu.org; Mon, 22 Nov 2010 02:48:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKR82-0005zh-Be for grub-devel@gnu.org; Mon, 22 Nov 2010 02:48:00 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:33532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKR82-0005zP-0z for grub-devel@gnu.org; Mon, 22 Nov 2010 02:47:58 -0500 Received: by wyf23 with SMTP id 23so7022308wyf.0 for ; Sun, 21 Nov 2010 23:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=Y9Z0abBLSBWmWPvkC1r657MFrc3TR2jgJTYdkVNT1sA=; b=GmRbB58Zq7xCeKyCdu77vpThWtqaMuLq5ypamAB71TV2qsHkE/geXyp9ii6ytrGmZN j8THKl0xHLtENPkmp/5o3NCC3JHxVKy5YbxFC2Nwgr9NQZ9TW+BqpTF5AmuSEcuvMO+M EpuqvNwfPEWahWWhWrPsPlfnymLRUhvoHUTCs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=vAjPMYZdyiCCgpzB20uY1sp3EZ0yrls9mJ9RDh/FlwwYV6sqBmLJ8PZ54FAuPpCRGo ieFZiTPHfE+OR36SJsyT6Uavzp/c9SSxqiTJS9XX+b23gDBSz0oIXIlzWuBhMCSTV45r 1JT7QOKaHVFMa7CHS9qJjsgV6Z6moNvHrTk7o= Received: by 10.216.46.193 with SMTP id r43mr1102361web.20.1290412074557; Sun, 21 Nov 2010 23:47:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.178.78 with HTTP; Sun, 21 Nov 2010 23:46:09 -0800 (PST) From: Gnanasekar Loganathan Date: Mon, 22 Nov 2010 13:16:09 +0530 Message-ID: To: grub-devel@gnu.org Content-Type: multipart/alternative; boundary=0016367b6de25161b104959f799f X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Regarding "strstr in bsd is not defined" compilation error X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 07:48:02 -0000 --0016367b6de25161b104959f799f Content-Type: text/plain; charset=UTF-8 Hi All, 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 make: *** [moddep.lst] Error 1 *Help me to resolve this error*. full list here: *[root@localhost grub-1.98]# make cat kernel_syms.lst def-boot.lst def-drivemap.lst def-efiemu.lst def-acpi.lst def-mmap.lst def-biosdisk.lst def-chain.lst def-linux16.lst def-linux.lst def-xnu.lst def-reboot.lst def-halt.lst def-serial.lst def-vbe.lst def-vbeinfo.lst def-vbetest.lst def-play.lst def-vga.lst def-memdisk.lst def-pci.lst def-lspci.lst def-aout.lst def-bsd.lst def-usb.lst def-usbtest.lst def-uhci.lst def-ohci.lst def-usbms.lst def-usb_keyboard.lst def-pxe.lst def-pxecmd.lst def-datetime.lst def-date.lst def-datehook.lst def-lsmmap.lst def-ata_pthru.lst def-hdparm.lst def-cpuid.lst def-at_keyboard.lst def-vga_text.lst def-relocator.lst def-ata.lst def-setpci.lst def-multiboot.lst def-multiboot2.lst def-fshelp.lst def-fat.lst def-ufs1.lst def-ufs2.lst def-ext2.lst def-ntfs.lst def-ntfscomp.lst def-minix.lst def-hfs.lst def-jfs.lst def-iso9660.lst def-xfs.lst def-affs.lst def-sfs.lst def-hfsplus.lst def-reiserfs.lst def-cpio.lst def-tar.lst def-udf.lst def-afs.lst def-afs_be.lst def-befs.lst def-befs_be.lst def-part_amiga.lst def-part_apple.lst def-part_msdos.lst def-part_sun.lst def-part_acorn.lst def-part_gpt.lst def-raid.lst def-raid5rec.lst def-raid6rec.lst def-mdraid.lst def-dm_nv.lst def-lvm.lst def-scsi.lst def-password.lst def-gptsync.lst def-minicmd.lst def-extcmd.lst def-hello.lst def-gfxmenu.lst def-parttool.lst def-msdospart.lst def-handler.lst def-ls.lst def-cmp.lst def-cat.lst def-echo.lst def-help.lst def-search.lst def-search_fs_file.lst def-search_label.lst def-search_fs_uuid.lst def-test.lst def-loopback.lst def-configfile.lst def-terminfo.lst def-blocklist.lst def-hexdump.lst def-read.lst def-sleep.lst def-loadenv.lst def-crc.lst def-memrw.lst def-true.lst def-probe.lst def-keystatus.lst def-normal.lst def-sh.lst def-video.lst def-video_fb.lst def-bitmap.lst def-bitmap_scale.lst def-font.lst def-gfxterm.lst def-videotest.lst def-tga.lst def-jpeg.lst def-png.lst def-elf.lst def-gzio.lst def-bufio.lst def-gettext.lst def-xnu_uuid.lst def-trig.lst def-setjmp.lst def-charset.lst def-terminal.lst def-crypto.lst def-hashsum.lst def-pbkdf2.lst def-password_pbkdf2.lst def-gcry_whirlpool.lst def-gcry_twofish.lst def-gcry_tiger.lst def-gcry_sha512.lst def-gcry_sha256.lst def-gcry_sha1.lst def-gcry_serpent.lst def-gcry_seed.lst def-gcry_rmd160.lst def-gcry_rijndael.lst def-gcry_rfc2268.lst def-gcry_md5.lst def-gcry_md4.lst def-gcry_des.lst def-gcry_crc.lst def-gcry_cast5.lst def-gcry_camellia.lst def-gcry_blowfish.lst def-gcry_arcfour.lst def-functional_test.lst def-example_functional_test.lst /dev/null \ | gawk -f ./genmoddep.awk und-boot.lst und-drivemap.lst und-efiemu.lst und-acpi.lst und-mmap.lst und-biosdisk.lst und-chain.lst und-linux16.lst und-linux.lst und-xnu.lst und-reboot.lst und-halt.lst und-serial.lst und-vbe.lst und-vbeinfo.lst und-vbetest.lst und-play.lst und-vga.lst und-memdisk.lst und-pci.lst und-lspci.lst und-aout.lst und-bsd.lst und-usb.lst und-usbtest.lst und-uhci.lst und-ohci.lst und-usbms.lst und-usb_keyboard.lst und-pxe.lst und-pxecmd.lst und-datetime.lst und-date.lst und-datehook.lst und-lsmmap.lst und-ata_pthru.lst und-hdparm.lst und-cpuid.lst und-at_keyboard.lst und-vga_text.lst und-relocator.lst und-ata.lst und-setpci.lst und-multiboot.lst und-multiboot2.lst und-fshelp.lst und-fat.lst und-ufs1.lst und-ufs2.lst und-ext2.lst und-ntfs.lst und-ntfscomp.lst und-minix.lst und-hfs.lst und-jfs.lst und-iso9660.lst und-xfs.lst und-affs.lst und-sfs.lst und-hfsplus.lst und-reiserfs.lst und-cpio.lst und-tar.lst und-udf.lst und-afs.lst und-afs_be.lst und-befs.lst und-befs_be.lst und-part_amiga.lst und-part_apple.lst und-part_msdos.lst und-part_sun.lst und-part_acorn.lst und-part_gpt.lst und-raid.lst und-raid5rec.lst und-raid6rec.lst und-mdraid.lst und-dm_nv.lst und-lvm.lst und-scsi.lst und-password.lst und-gptsync.lst und-minicmd.lst und-extcmd.lst und-hello.lst und-gfxmenu.lst und-parttool.lst und-msdospart.lst und-handler.lst und-ls.lst und-cmp.lst und-cat.lst und-echo.lst und-help.lst und-search.lst und-search_fs_file.lst und-search_label.lst und-search_fs_uuid.lst und-test.lst und-loopback.lst und-configfile.lst und-terminfo.lst und-blocklist.lst und-hexdump.lst und-read.lst und-sleep.lst und-loadenv.lst und-crc.lst und-memrw.lst und-true.lst und-probe.lst und-keystatus.lst und-normal.lst und-sh.lst und-video.lst und-video_fb.lst und-bitmap.lst und-bitmap_scale.lst und-font.lst und-gfxterm.lst und-videotest.lst und-tga.lst und-jpeg.lst und-png.lst und-elf.lst und-gzio.lst und-bufio.lst und-gettext.lst und-xnu_uuid.lst und-trig.lst und-setjmp.lst und-charset.lst und-terminal.lst und-crypto.lst und-hashsum.lst und-pbkdf2.lst und-password_pbkdf2.lst und-gcry_whirlpool.lst und-gcry_twofish.lst und-gcry_tiger.lst und-gcry_sha512.lst und-gcry_sha256.lst und-gcry_sha1.lst und-gcry_serpent.lst und-gcry_seed.lst und-gcry_rmd160.lst und-gcry_rijndael.lst und-gcry_rfc2268.lst und-gcry_md5.lst und-gcry_md4.lst und-gcry_des.lst und-gcry_crc.lst und-gcry_cast5.lst und-gcry_camellia.lst und-gcry_blowfish.lst und-gcry_arcfour.lst und-functional_test.lst und-example_functional_test.lst > moddep.lst \ || (rm -f moddep.lst; exit 1) strstr in bsd is not defined make: *** [moddep.lst] Error 1 * * Thanks and Regars, Gnana --0016367b6de25161b104959f799f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

I'm newly joined in this group.
I= 9;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 fu= nction=C2=A0 from string.h at the end of compilation i'm getting the fo= llowing error.

strstr in bsd is not defined
make: *** [moddep.lst] Error 1
Help me to resolve this error.

full list here:
[root= @localhost grub-1.98]# make
cat kernel_syms.lst def-boot.lst def-drivema= p.lst def-efiemu.lst def-acpi.lst def-mmap.lst def-biosdisk.lst def-chain.l= st def-linux16.lst def-linux.lst def-xnu.lst def-reboot.lst def-halt.lst de= f-serial.lst def-vbe.lst def-vbeinfo.lst def-vbetest.lst def-play.lst def-v= ga.lst def-memdisk.lst def-pci.lst def-lspci.lst def-aout.lst def-bsd.lst d= ef-usb.lst def-usbtest.lst def-uhci.lst def-ohci.lst def-usbms.lst def-usb_= keyboard.lst def-pxe.lst def-pxecmd.lst def-datetime.lst def-date.lst def-d= atehook.lst def-lsmmap.lst def-ata_pthru.lst def-hdparm.lst def-cpuid.lst d= ef-at_keyboard.lst def-vga_text.lst def-relocator.lst def-ata.lst def-setpc= i.lst def-multiboot.lst def-multiboot2.lst def-fshelp.lst def-fat.lst def-u= fs1.lst def-ufs2.lst def-ext2.lst def-ntfs.lst def-ntfscomp.lst def-minix.l= st def-hfs.lst def-jfs.lst def-iso9660.lst def-xfs.lst def-affs.lst def-sfs= .lst def-hfsplus.lst def-reiserfs.lst def-cpio.lst def-tar.lst def-udf.lst = def-afs.lst def-afs_be.lst def-befs.lst def-befs_be.lst def-part_amiga.lst = def-part_apple.lst def-part_msdos.lst def-part_sun.lst def-part_acorn.lst d= ef-part_gpt.lst def-raid.lst def-raid5rec.lst def-raid6rec.lst def-mdraid.l= st def-dm_nv.lst def-lvm.lst def-scsi.lst def-password.lst def-gptsync.lst = def-minicmd.lst def-extcmd.lst def-hello.lst def-gfxmenu.lst def-parttool.l= st def-msdospart.lst def-handler.lst def-ls.lst def-cmp.lst def-cat.lst def= -echo.lst def-help.lst def-search.lst def-search_fs_file.lst def-search_lab= el.lst def-search_fs_uuid.lst def-test.lst def-loopback.lst def-configfile.= lst def-terminfo.lst def-blocklist.lst def-hexdump.lst def-read.lst def-sle= ep.lst def-loadenv.lst def-crc.lst def-memrw.lst def-true.lst def-probe.lst= def-keystatus.lst def-normal.lst def-sh.lst def-video.lst def-video_fb.lst= def-bitmap.lst def-bitmap_scale.lst def-font.lst def-gfxterm.lst def-video= test.lst def-tga.lst def-jpeg.lst def-png.lst def-elf.lst def-gzio.lst def-= bufio.lst def-gettext.lst def-xnu_uuid.lst def-trig.lst def-setjmp.lst def-= charset.lst def-terminal.lst def-crypto.lst def-hashsum.lst def-pbkdf2.lst = def-password_pbkdf2.lst def-gcry_whirlpool.lst def-gcry_twofish.lst def-gcr= y_tiger.lst def-gcry_sha512.lst def-gcry_sha256.lst def-gcry_sha1.lst def-g= cry_serpent.lst def-gcry_seed.lst def-gcry_rmd160.lst def-gcry_rijndael.lst= def-gcry_rfc2268.lst def-gcry_md5.lst def-gcry_md4.lst def-gcry_des.lst de= f-gcry_crc.lst def-gcry_cast5.lst def-gcry_camellia.lst def-gcry_blowfish.l= st def-gcry_arcfour.lst def-functional_test.lst def-example_functional_test= .lst /dev/null \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | gawk -f ./genmoddep.awk und-boot.lst= und-drivemap.lst und-efiemu.lst und-acpi.lst und-mmap.lst und-biosdisk.lst= und-chain.lst und-linux16.lst und-linux.lst und-xnu.lst und-reboot.lst und= -halt.lst und-serial.lst und-vbe.lst und-vbeinfo.lst und-vbetest.lst und-pl= ay.lst und-vga.lst und-memdisk.lst und-pci.lst und-lspci.lst und-aout.lst u= nd-bsd.lst und-usb.lst und-usbtest.lst und-uhci.lst und-ohci.lst und-usbms.= lst und-usb_keyboard.lst und-pxe.lst und-pxecmd.lst und-datetime.lst und-da= te.lst und-datehook.lst und-lsmmap.lst und-ata_pthru.lst und-hdparm.lst und= -cpuid.lst und-at_keyboard.lst und-vga_text.lst und-relocator.lst und-ata.l= st und-setpci.lst und-multiboot.lst und-multiboot2.lst und-fshelp.lst und-f= at.lst und-ufs1.lst und-ufs2.lst und-ext2.lst und-ntfs.lst und-ntfscomp.lst= und-minix.lst und-hfs.lst und-jfs.lst und-iso9660.lst und-xfs.lst und-affs= .lst und-sfs.lst und-hfsplus.lst und-reiserfs.lst und-cpio.lst und-tar.lst = und-udf.lst und-afs.lst und-afs_be.lst und-befs.lst und-befs_be.lst und-par= t_amiga.lst und-part_apple.lst und-part_msdos.lst und-part_sun.lst und-part= _acorn.lst und-part_gpt.lst und-raid.lst und-raid5rec.lst und-raid6rec.lst = und-mdraid.lst und-dm_nv.lst und-lvm.lst und-scsi.lst und-password.lst und-= gptsync.lst und-minicmd.lst und-extcmd.lst und-hello.lst und-gfxmenu.lst un= d-parttool.lst und-msdospart.lst und-handler.lst und-ls.lst und-cmp.lst und= -cat.lst und-echo.lst und-help.lst und-search.lst und-search_fs_file.lst un= d-search_label.lst und-search_fs_uuid.lst und-test.lst und-loopback.lst und= -configfile.lst und-terminfo.lst und-blocklist.lst und-hexdump.lst und-read= .lst und-sleep.lst und-loadenv.lst und-crc.lst und-memrw.lst und-true.lst u= nd-probe.lst und-keystatus.lst und-normal.lst und-sh.lst und-video.lst und-= video_fb.lst und-bitmap.lst und-bitmap_scale.lst und-font.lst und-gfxterm.l= st und-videotest.lst und-tga.lst und-jpeg.lst und-png.lst und-elf.lst und-g= zio.lst und-bufio.lst und-gettext.lst und-xnu_uuid.lst und-trig.lst und-set= jmp.lst und-charset.lst und-terminal.lst und-crypto.lst und-hashsum.lst und= -pbkdf2.lst und-password_pbkdf2.lst und-gcry_whirlpool.lst und-gcry_twofish= .lst und-gcry_tiger.lst und-gcry_sha512.lst und-gcry_sha256.lst und-gcry_sh= a1.lst und-gcry_serpent.lst und-gcry_seed.lst und-gcry_rmd160.lst und-gcry_= rijndael.lst und-gcry_rfc2268.lst und-gcry_md5.lst und-gcry_md4.lst und-gcr= y_des.lst und-gcry_crc.lst und-gcry_cast5.lst und-gcry_camellia.lst und-gcr= y_blowfish.lst und-gcry_arcfour.lst und-functional_test.lst und-example_fun= ctional_test.lst > moddep.lst \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 || (rm -f moddep.lst; exit 1)
strst= r in bsd is not defined
make: *** [moddep.lst] Error 1

Thanks and Regars,
Gnana

--0016367b6de25161b104959f799f--