|
|
发表于 2008-2-2 15:53:46
|
显示全部楼层
opensuse-10.3-i586 中编译的过程。
wget -c http://ftp.novell.co.jp/pub/opensuse/distribution/10.3/repo/src-oss/suse/src/grub-0.97-82.src.rpm
mkdir grub-src
cd grub-src
rpm2cpio ../grub-0.97-82.src.rpm | cpio -id
tar xvf grub-0.97.tar.gz
#cp -avx grub-0.97{,_old_bak}
cd grub-0.97
#more ../bad-assert-sideeffect
patch -Np1 -i ../bad-assert-sideeffect
#more ../chainloader-devicefix
#每个都先 more 一下,是补丁的就patch。但如果是 multilib 的 x86_64 补丁除非系统是x86_64的,否则不需要 。如遇二进制文件或终端乱码,盲打 reset 之
后敲Enter即可恢复。
patch -Np1 -i ../chainloader-devicefix
patch -Np1 -i ../e100-newIDs
patch -Np1 -i ../fix-uninitialized
patch -Np1 -i ../force-LBA-off.diff
patch -Np1 -i ../gcc4-diff
patch -Np1 -i ../grub-0.97-devicemap.diff
patch -Np1 -i ../grub-0.97-initrdaddr.diff
patch -Np1 -i ../grub-0.97-path-patch
patch -Np1 -i ../grub-0.97-protexec.patch
patch -Np1 -i ../grub-a20.patch
patch -Np0 -i ../grub-gfxmenu-v8.diff
#more ../grub-install
patch -Np1 -i ../grub-install-fix-UUID_LABEL
patch -Np1 -i ../grub-linux-setup-fix
#more ../grubonce
patch -Np1 -i ../grub-R
#more ../grub.spec
#find . -name "*spec*"
#more ../installgrub
patch -Np1 -i ../pacify-autoconf
patch -Np1 -i ../recognise-zen
patch -Np1 -i ../stage2-dir-callback.diff
patch -Np1 -i ../stage2-wildcard.diff
patch -Np1 -i ../stage2-wildcard-doc.dif
patch -Np1 -i ../stage2-wildcard-zerowidth.diff
patch -Np0 -i ../use_ferror.diff
#打过N多补丁,耗时不少,备份一份,防重复劳动。
cp -avx ${PWD}{,_new-patch_bak}
#在configure的时候设置 ${prefix} 为 /tmp/grub-test
./configure --enable-ne --enable-ne-scan=0x22 \
--prefix=/tmp/grub-test
以下是配置、检测、编译过程
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking whether optimization for size works... yes
checking whether gcc has -fno-stack-protector... yes
checking whether -Wundef works... yes
checking whether -falign-loops works... yes
checking for objcopy... objcopy
checking if C symbols get an underscore after compilation... no
checking whether objcopy works for absolute addresses... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking if start is defined by the compiler... no
checking if _start is defined by the compiler... yes
checking if __bss_start is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking for opendisk in -lutil... no
checking for wgetch in -lncurses... no
checking for wgetch in -lcurses... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating stage1/Makefile
config.status: creating stage2/Makefile
config.status: creating docs/Makefile
config.status: creating lib/Makefile
config.status: creating util/Makefile
config.status: creating grub/Makefile
config.status: creating netboot/Makefile
config.status: creating util/grub-image
config.status: creating util/grub-install
config.status: creating util/grub-md5-crypt
config.status: creating util/grub-terminfo
config.status: creating util/grub-set-default
config.status: creating config.h
config.status: executing depfiles commands
linux-5xim:~/grub/grub-0.97 # make
make all-recursive
make[1]: Entering directory `/root/grub/grub-0.97'
Making all in netboot
make[2]: Entering directory `/root/grub/grub-0.97/netboot'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DFSYS_TFTP=1 -DINCLUDE_NE=1 -DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -g -MT libdrivers_a-config.o -MD -MP -MF ".deps/libdrivers_a-config.Tpo" -c -o libdrivers_a-config.o `test -f 'config.c' || echo './'`config.c; \
then mv -f ".deps/libdrivers_a-config.Tpo" ".deps/libdrivers_a-config.Po"; else rm -f ".deps/libdrivers_a-config.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DFSYS_TFTP=1 -DINCLUDE_NE=1 -DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -g -MT libdrivers_a-fsys_tftp.o -MD -MP -MF ".deps/libdrivers_a-fsys_tftp.Tpo" -c -o libdrivers_a-fsys_tftp.o `test -f 'fsys_tftp.c' || echo './'`fsys_tftp.c; \
then mv -f ".deps/libdrivers_a-fsys_tftp.Tpo" ".deps/libdrivers_a-fsys_tftp.Po"; else rm -f ".deps/libdrivers_a-fsys_tftp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DFSYS_TFTP=1 -DINCLUDE_NE=1 -DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -g -MT libdrivers_a-main.o -MD -MP -MF ".deps/libdrivers_a-main.Tpo" -c -o libdrivers_a-main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/libdrivers_a-main.Tpo" ".deps/libdrivers_a-main.Po"; else rm -f ".deps/libdrivers_a-main.Tpo"; exit 1; fi
main.c: In function ‘udp_transmit’:
main.c:231: warning: pointer targets in passing argument 1 of ‘eth_transmit’ differ in signedness
main.c:276: warning: pointer targets in passing argument 1 of ‘eth_transmit’ differ in signedness
main.c:290: warning: pointer targets in passing argument 1 of ‘eth_transmit’ differ in signedness
main.c: In function ‘tftp’:
main.c:462: warning: pointer targets in passing argument 1 of ‘fnc’ differ in signedness
main.c: In function ‘rarp’:
main.c:509: warning: pointer targets in passing argument 1 of ‘eth_transmit’ differ in signedness
main.c: In function ‘udpchksum’:
main.c:729: warning: dereferencing type-punned pointer will break strict-aliasing rules
main.c: In function ‘await_reply’:
main.c:893: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness
main.c:895: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness
main.c:925: warning: pointer targets in passing argument 1 of ‘decode_rfc1533’ differ in signedness
main.c: In function ‘decode_rfc1533’:
main.c:973: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness
main.c:973: warning: pointer targets in passing argument 2 of ‘grub_memcmp’ differ in signedness
main.c:984: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness
main.c:984: warning: pointer targets in passing argument 2 of ‘grub_memcmp’ differ in signedness
main.c:1057: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness
main.c:1057: warning: pointer targets in passing argument 2 of ‘grub_memcmp’ differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DFSYS_TFTP=1 -DINCLUDE_NE=1 -DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -g -MT libdrivers_a-misc.o -MD -MP -MF ".deps/libdrivers_a-misc.Tpo" -c -o libdrivers_a-misc.o `test -f 'misc.c' || echo './'`misc.c; \
then mv -f ".deps/libdrivers_a-misc.Tpo" ".deps/libdrivers_a-misc.Po"; else rm -f ".deps/libdrivers_a-misc.Tpo"; exit 1; fi
misc.c: In function ‘etherboot_sprintf’:
misc.c:214: warning: dereferencing type-punned pointer will break strict-aliasing rules
misc.c: In function ‘etherboot_printf’:
misc.c:220: warning: dereferencing type-punned pointer will break strict-aliasing rules
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DFSYS_TFTP=1 -DINCLUDE_NE=1 -DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -g -MT libdrivers_a-pci.o -MD -MP -MF ".deps/libdrivers_a-pci.Tpo" -c -o libdrivers_a-pci.o `test -f 'pci.c' || echo './'`pci.c; \
then mv -f ".deps/libdrivers_a-pci.Tpo" ".deps/libdrivers_a-pci.Po"; else rm -f ".deps/libdrivers_a-pci.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -DFSYS_TFTP=1 -DINCLUDE_NE=1 -DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -g -MT libdrivers_a-timer.o -MD -MP -MF ".deps/libdrivers_a-timer.Tpo" -c -o libdrivers_a-timer.o `test -f 'timer.c' || echo './'`timer.c; \
then mv -f ".deps/libdrivers_a-timer.Tpo" ".deps/libdrivers_a-timer.Po"; else rm -f ".deps/libdrivers_a-timer.Tpo"; exit 1; fi
In file included from timer.c:11:
timer.h:53: warning: no previous prototype for ‘timer2_running’
timer.h:58: warning: no previous prototype for ‘waiton_timer2’
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -g -Os -fno-stack-protector -fno-builtin -nostdinc \
-DCONGESTED=1 -DNE_SCAN=0x22 -DWD_DEFAULT_MEM=0xCC000 -DINCLUDE_NE=1 -o ne.o -c ns8390.c
ns8390.c: In function ‘ns8390_reset’:
ns8390.c:218: warning: declaration of ‘nic’ shadows a global declaration
etherboot.h:539: warning: shadowed declaration is here
ns8390.c: In function ‘eth_rx_overrun’:
ns8390.c:290: warning: declaration of ‘nic’ shadows a global declaration
etherboot.h:539: warning: shadowed declaration is here
ns8390.c: In function ‘ns8390_transmit’:
ns8390.c:341: warning: declaration of ‘nic’ shadows a global declaration
etherboot.h:539: warning: shadowed declaration is here
ns8390.c:394: warning: pointer targets in passing argument 1 of ‘eth_pio_write’ differ in signedness
ns8390.c:398: warning: pointer targets in passing argument 1 of ‘eth_pio_write’ differ in signedness
ns8390.c: In function ‘ns8390_poll’:
ns8390.c:431: warning: declaration of ‘nic’ shadows a global declaration
etherboot.h:539: warning: shadowed declaration is here
ns8390.c:469: warning: pointer targets in passing argument 2 of ‘eth_pio_read’ differ in signedness
ns8390.c:481: warning: pointer targets in assignment differ in signedness
ns8390.c: In function ‘ns8390_disable’:
ns8390.c:522: warning: declaration of ‘nic’ shadows a global declaration
etherboot.h:539: warning: shadowed declaration is here
ns8390.c: In function ‘ne_probe’:
ns8390.c:533: warning: declaration of ‘nic’ shadows a global declaration
etherboot.h:539: warning: shadowed declaration is here
ns8390.c:787: warning: pointer targets in passing argument 1 of ‘eth_pio_write’ differ in signedness
ns8390.c:788: warning: pointer targets in passing argument 2 of ‘eth_pio_read’ differ in signedness
ns8390.c:799: warning: pointer targets in passing argument 1 of ‘eth_pio_write’ differ in signedness
ns8390.c:800: warning: pointer targets in passing argument 2 of ‘eth_pio_read’ differ in signedness
ns8390.c:809: warning: pointer targets in passing argument 2 of ‘eth_pio_read’ differ in signedness
ns8390.c:538: warning: unused variable ‘chksum’
ns8390.c:537: warning: unused variable ‘brd’
ns8390.c: At top level:
ns8390.c:32: warning: ‘eth_laar’ defined but not used
rm -f libdrivers.a
ar cru libdrivers.a libdrivers_a-config.o libdrivers_a-fsys_tftp.o libdrivers_a-main.o libdrivers_a-misc.o libdrivers_a-pci.o libdrivers_a-timer.o ne.o
ranlib libdrivers.a
make[2]: Leaving directory `/root/grub/grub-0.97/netboot'
Making all in stage2
make[2]: Entering directory `/root/grub/grub-0.97/stage2'
gcc -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -g -c -o pre_stage2_exec-asm.o `test -f 'asm.S' || echo './'`asm.S
asm.S: Assembler messages:
asm.S:1841: Warning: using `%bp' instead of `%ebp' due to `w' suffix
asm.S:1841: Warning: using `%sp' instead of `%esp' due to `w' suffix
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-bios.o -MD -MP -MF ".deps/pre_stage2_exec-bios.Tpo" -c -o pre_stage2_exec-bios.o `test -f 'bios.c' || echo './'`bios.c; \
then mv -f ".deps/pre_stage2_exec-bios.Tpo" ".deps/pre_stage2_exec-bios.Po"; else rm -f ".deps/pre_stage2_exec-bios.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-boot.o -MD -MP -MF ".deps/pre_stage2_exec-boot.Tpo" -c -o pre_stage2_exec-boot.o `test -f 'boot.c' || echo './'`boot.c; \
then mv -f ".deps/pre_stage2_exec-boot.Tpo" ".deps/pre_stage2_exec-boot.Po"; else rm -f ".deps/pre_stage2_exec-boot.Tpo"; exit 1; fi
boot.c: In function ‘load_image’:
boot.c:67: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness
boot.c:101: warning: pointer targets in passing argument 1 of ‘grub_strcmp’ differ in signedness
boot.c: In function ‘bsd_boot’:
boot.c:940: warning: pointer targets in assignment differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-builtins.o -MD -MP -MF ".deps/pre_stage2_exec-builtins.Tpo" -c -o pre_stage2_exec-builtins.o `test -f 'builtins.c' || echo './'`builtins.c; \
then mv -f ".deps/pre_stage2_exec-builtins.Tpo" ".deps/pre_stage2_exec-builtins.Po"; else rm -f ".deps/pre_stage2_exec-builtins.Tpo"; exit 1; fi
builtins.c:803: warning: no previous prototype for ‘__savedefault_once_reset’
builtins.c: In function ‘uppermem_func’:
builtins.c:4728: warning: dereferencing type-punned pointer will break strict-aliasing rules
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-char_io.o -MD -MP -MF ".deps/pre_stage2_exec-char_io.Tpo" -c -o pre_stage2_exec-char_io.o `test -f 'char_io.c' || echo './'`char_io.c; \
then mv -f ".deps/pre_stage2_exec-char_io.Tpo" ".deps/pre_stage2_exec-char_io.Po"; else rm -f ".deps/pre_stage2_exec-char_io.Tpo"; exit 1; fi
char_io.c: In function ‘grub_printf’:
char_io.c:155: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c: In function ‘grub_sprintf’:
char_io.c:196: warning: dereferencing type-punned pointer will break strict-aliasing rules
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-cmdline.o -MD -MP -MF ".deps/pre_stage2_exec-cmdline.Tpo" -c -o pre_stage2_exec-cmdline.o `test -f 'cmdline.c' || echo './'`cmdline.c; \
then mv -f ".deps/pre_stage2_exec-cmdline.Tpo" ".deps/pre_stage2_exec-cmdline.Po"; else rm -f ".deps/pre_stage2_exec-cmdline.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-common.o -MD -MP -MF ".deps/pre_stage2_exec-common.Tpo" -c -o pre_stage2_exec-common.o `test -f 'common.c' || echo './'`common.c; \
then mv -f ".deps/pre_stage2_exec-common.Tpo" ".deps/pre_stage2_exec-common.Po"; else rm -f ".deps/pre_stage2_exec-common.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-console.o -MD -MP -MF ".deps/pre_stage2_exec-console.Tpo" -c -o pre_stage2_exec-console.o `test -f 'console.c' || echo './'`console.c; \
then mv -f ".deps/pre_stage2_exec-console.Tpo" ".deps/pre_stage2_exec-console.Po"; else rm -f ".deps/pre_stage2_exec-console.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-disk_io.o -MD -MP -MF ".deps/pre_stage2_exec-disk_io.Tpo" -c -o pre_stage2_exec-disk_io.o `test -f 'disk_io.c' || echo './'`disk_io.c; \
then mv -f ".deps/pre_stage2_exec-disk_io.Tpo" ".deps/pre_stage2_exec-disk_io.Po"; else rm -f ".deps/pre_stage2_exec-disk_io.Tpo"; exit 1; fi
disk_io.c: In function ‘set_device’:
disk_io.c:1021: warning: dereferencing type-punned pointer will break strict-aliasing rules
disk_io.c:1051: warning: dereferencing type-punned pointer will break strict-aliasing rules
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_ext2fs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_ext2fs.Tpo" -c -o pre_stage2_exec-fsys_ext2fs.o `test -f 'fsys_ext2fs.c' || echo './'`fsys_ext2fs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_ext2fs.Tpo" ".deps/pre_stage2_exec-fsys_ext2fs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_ext2fs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_fat.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_fat.Tpo" -c -o pre_stage2_exec-fsys_fat.o `test -f 'fsys_fat.c' || echo './'`fsys_fat.c; \
then mv -f ".deps/pre_stage2_exec-fsys_fat.Tpo" ".deps/pre_stage2_exec-fsys_fat.Po"; else rm -f ".deps/pre_stage2_exec-fsys_fat.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_ffs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_ffs.Tpo" -c -o pre_stage2_exec-fsys_ffs.o `test -f 'fsys_ffs.c' || echo './'`fsys_ffs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_ffs.Tpo" ".deps/pre_stage2_exec-fsys_ffs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_ffs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_iso9660.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_iso9660.Tpo" -c -o pre_stage2_exec-fsys_iso9660.o `test -f 'fsys_iso9660.c' || echo './'`fsys_iso9660.c; \
then mv -f ".deps/pre_stage2_exec-fsys_iso9660.Tpo" ".deps/pre_stage2_exec-fsys_iso9660.Po"; else rm -f ".deps/pre_stage2_exec-fsys_iso9660.Tpo"; exit 1; fi
fsys_iso9660.c: In function ‘iso9660_mount’:
fsys_iso9660.c:123: warning: pointer targets in passing argument 1 of ‘grub_memcmp’ differ in signedness
fsys_iso9660.c: In function ‘iso9660_dir’:
fsys_iso9660.c:178: warning: pointer targets in initialization differ in signedness
fsys_iso9660.c:203: warning: pointer targets in assignment differ in signedness
fsys_iso9660.c:231: warning: pointer targets in assignment differ in signedness
fsys_iso9660.c:332: warning: pointer targets in assignment differ in signedness
fsys_iso9660.c:334: warning: pointer targets in assignment differ in signedness
fsys_iso9660.c:336: warning: pointer targets in passing argument 4 of ‘iso9660_devread’ differ in signedness
fsys_iso9660.c:382: warning: pointer targets in passing argument 1 of ‘handle’ differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_jfs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_jfs.Tpo" -c -o pre_stage2_exec-fsys_jfs.o `test -f 'fsys_jfs.c' || echo './'`fsys_jfs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_jfs.Tpo" ".deps/pre_stage2_exec-fsys_jfs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_jfs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_minix.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_minix.Tpo" -c -o pre_stage2_exec-fsys_minix.o `test -f 'fsys_minix.c' || echo './'`fsys_minix.c; \
then mv -f ".deps/pre_stage2_exec-fsys_minix.Tpo" ".deps/pre_stage2_exec-fsys_minix.Po"; else rm -f ".deps/pre_stage2_exec-fsys_minix.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_reiserfs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_reiserfs.Tpo" -c -o pre_stage2_exec-fsys_reiserfs.o `test -f 'fsys_reiserfs.c' || echo './'`fsys_reiserfs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_reiserfs.Tpo" ".deps/pre_stage2_exec-fsys_reiserfs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_reiserfs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_ufs2.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_ufs2.Tpo" -c -o pre_stage2_exec-fsys_ufs2.o `test -f 'fsys_ufs2.c' || echo './'`fsys_ufs2.c; \
then mv -f ".deps/pre_stage2_exec-fsys_ufs2.Tpo" ".deps/pre_stage2_exec-fsys_ufs2.Po"; else rm -f ".deps/pre_stage2_exec-fsys_ufs2.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_vstafs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_vstafs.Tpo" -c -o pre_stage2_exec-fsys_vstafs.o `test -f 'fsys_vstafs.c' || echo './'`fsys_vstafs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_vstafs.Tpo" ".deps/pre_stage2_exec-fsys_vstafs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_vstafs.Tpo"; exit 1; fi
fsys_vstafs.c: In function ‘vstafs_read’:
fsys_vstafs.c:178: warning: declaration of ‘a’ shadows a global declaration
fsys_vstafs.c:66: warning: shadowed declaration is here
fsys_vstafs.c:180: warning: declaration of ‘curr_ext’ shadows a global declaration
fsys_vstafs.c:65: warning: shadowed declaration is here
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-fsys_xfs.o -MD -MP -MF ".deps/pre_stage2_exec-fsys_xfs.Tpo" -c -o pre_stage2_exec-fsys_xfs.o `test -f 'fsys_xfs.c' || echo './'`fsys_xfs.c; \
then mv -f ".deps/pre_stage2_exec-fsys_xfs.Tpo" ".deps/pre_stage2_exec-fsys_xfs.Po"; else rm -f ".deps/pre_stage2_exec-fsys_xfs.Tpo"; exit 1; fi
fsys_xfs.c:102: warning: type qualifiers ignored on function return type
fsys_xfs.c:111: warning: type qualifiers ignored on function return type
fsys_xfs.c:127: warning: type qualifiers ignored on function return type
fsys_xfs.c: In function ‘next_dentry’:
fsys_xfs.c:371: warning: pointer targets in assignment differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-gunzip.o -MD -MP -MF ".deps/pre_stage2_exec-gunzip.Tpo" -c -o pre_stage2_exec-gunzip.o `test -f 'gunzip.c' || echo './'`gunzip.c; \
then mv -f ".deps/pre_stage2_exec-gunzip.Tpo" ".deps/pre_stage2_exec-gunzip.Po"; else rm -f ".deps/pre_stage2_exec-gunzip.Tpo"; exit 1; fi
gunzip.c: In function ‘gunzip_test_header’:
gunzip.c:280: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness
gunzip.c:296: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness
gunzip.c:311: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness
gunzip.c: In function ‘get_byte’:
gunzip.c:497: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-hercules.o -MD -MP -MF ".deps/pre_stage2_exec-hercules.Tpo" -c -o pre_stage2_exec-hercules.o `test -f 'hercules.c' || echo './'`hercules.c; \
then mv -f ".deps/pre_stage2_exec-hercules.Tpo" ".deps/pre_stage2_exec-hercules.Po"; else rm -f ".deps/pre_stage2_exec-hercules.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-md5.o -MD -MP -MF ".deps/pre_stage2_exec-md5.Tpo" -c -o pre_stage2_exec-md5.o `test -f 'md5.c' || echo './'`md5.c; \
then mv -f ".deps/pre_stage2_exec-md5.Tpo" ".deps/pre_stage2_exec-md5.Po"; else rm -f ".deps/pre_stage2_exec-md5.Tpo"; exit 1; fi
md5.c: In function ‘md5_update’:
md5.c:169: warning: pointer targets in passing argument 1 of ‘md5_transform’ differ in signedness
md5.c: In function ‘md5_password’:
md5.c:249: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness
md5.c:250: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness
md5.c:265: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness
md5.c:274: warning: pointer targets in passing argument 1 of ‘md5_update’ differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-serial.o -MD -MP -MF ".deps/pre_stage2_exec-serial.Tpo" -c -o pre_stage2_exec-serial.o `test -f 'serial.c' || echo './'`serial.c; \
then mv -f ".deps/pre_stage2_exec-serial.Tpo" ".deps/pre_stage2_exec-serial.Po"; else rm -f ".deps/pre_stage2_exec-serial.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-smp-imps.o -MD -MP -MF ".deps/pre_stage2_exec-smp-imps.Tpo" -c -o pre_stage2_exec-smp-imps.o `test -f 'smp-imps.c' || echo './'`smp-imps.c; \
then mv -f ".deps/pre_stage2_exec-smp-imps.Tpo" ".deps/pre_stage2_exec-smp-imps.Po"; else rm -f ".deps/pre_stage2_exec-smp-imps.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-stage2.o -MD -MP -MF ".deps/pre_stage2_exec-stage2.Tpo" -c -o pre_stage2_exec-stage2.o `test -f 'stage2.c' || echo './'`stage2.c; \
then mv -f ".deps/pre_stage2_exec-stage2.Tpo" ".deps/pre_stage2_exec-stage2.Po"; else rm -f ".deps/pre_stage2_exec-stage2.Tpo"; exit 1; fi
stage2.c: In function ‘run_graphics_menu’:
stage2.c:1092: warning: pointer targets in passing argument 1 of ‘grub_read’ differ in signedness
stage2.c: In function ‘cmain’:
stage2.c:1694: warning: implicit declaration of function ‘expand_wildcard_entries’
stage2.c: At top level:
stage2.c:1421: warning: ‘inplace_sort’ defined but not used
stage2.c:1460: warning: ‘this_config_len’ defined but not used
stage2.c:1479: warning: ‘expand_asterisks’ defined but not used
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-terminfo.o -MD -MP -MF ".deps/pre_stage2_exec-terminfo.Tpo" -c -o pre_stage2_exec-terminfo.o `test -f 'terminfo.c' || echo './'`terminfo.c; \
then mv -f ".deps/pre_stage2_exec-terminfo.Tpo" ".deps/pre_stage2_exec-terminfo.Po"; else rm -f ".deps/pre_stage2_exec-terminfo.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-stack-protector -fno-builtin -nostdinc -I../netboot -DSUPPORT_NETBOOT=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -DFSYS_TFTP=1 -g -MT pre_stage2_exec-tparm.o -MD -MP -MF ".deps/pre_stage2_exec-tparm.Tpo" -c -o pre_stage2_exec-tparm.o `test -f 'tparm.c' || echo './'`tparm.c; \
then mv -f ".deps/pre_stage2_exec-tparm.Tpo" ".deps/pre_stage2_exec-tparm.Po"; else rm -f ".deps/pre_stage2_exec-tparm.Tpo"; exit 1; fi
tparm.c: In function ‘grub_tparm’:
tparm.c:719: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -g -o pre_stage2.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200 pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o pre_stage2_exec-builtins.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-common.o pre_stage2_exec-console.o pre_stage2_exec-disk_io.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_iso9660.o pre_stage2_exec-fsys_jfs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_ufs2.o pre_stage2_exec-fsys_vstafs.o pre_stage2_exec-fsys_xfs.o pre_stage2_exec-gunzip.o pre_stage2_exec-hercules.o pre_stage2_exec-md5.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o pre_stage2_exec-terminfo.o pre_stage2_exec-tparm.o ../netboot/libdrivers.a
pre_stage2_exec-stage2.o: In function `cmain':
/root/grub/grub-0.97/stage2/stage2.c:1694: undefined reference to `expand_wildcard_entries'
collect2: ld returned 1 exit status
make[2]: *** [pre_stage2.exec] 错误 1
make[2]: Leaving directory `/root/grub/grub-0.97/stage2'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/grub/grub-0.97'
make: *** [all] 错误 2 |
|