Hi,

I can't compile the DROPS version of GRUB.
I checked out the grub package from the DROPS anonymous CVS.
When compiling it with gcc 3.4.3 I got numerous errors.
Each time I edited the source file to get it go a little farther, I got more errors.
I know I could just use the copy of stage2_elterito from the demo CD, but I really like to have the capability to build my own GRUB.

By the way, GRUB from GNU compiles successfully. But it lacks the features found in DROPS enhanced version.
What was the problem?

Excerpts of make logs from my five attempts are attached. It's a bit long. I apologize.
Thanks,

Chip

(1)
make  all-recursive
make[1]: Entering directory `/home/drops/modules/drops/grub'
Making all in netboot
make[2]: Entering directory `/home/drops/modules/drops/grub/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drops/modules/drops/grub/netboot'
Making all in stage2
make[2]: Entering directory `/home/drops/modules/drops/grub/stage2'
gcc -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -g -c -o pre_stage2_exec-asm.o `test -f asm.S || echo './'`asm.S

asm.S:0: warning: -malign-loops is obsolete, use -falign-loops
asm.S:0: warning: -malign-jumps is obsolete, use -falign-jumps
asm.S:0: warning: -malign-functions is obsolete, use -falign-functions
source='bios.c' object='pre_stage2_exec-bios.o' libtool=no \
depfile='.deps/pre_stage2_exec-bios.Po' tmpdepfile='.deps/pre_stage2_exec-bios.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-bios.o `test -f bios.c || echo './'`bios.c

bios.c:1: warning: -malign-loops is obsolete, use -falign-loops
bios.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
bios.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='boot.c' object='pre_stage2_exec-boot.o' libtool=no \
depfile='.deps/pre_stage2_exec-boot.Po' tmpdepfile='.deps/pre_stage2_exec-boot.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-boot.o `test -f boot.c || echo './'`boot.c

boot.c:1: warning: -malign-loops is obsolete, use -falign-loops
boot.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
boot.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='builtins.c' object='pre_stage2_exec-builtins.o' libtool=no \
depfile='.deps/pre_stage2_exec-builtins.Po' tmpdepfile='.deps/pre_stage2_exec-builtins.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-builtins.o `test -f builtins.c || echo './'`builtins.c

builtins.c:1: warning: -malign-loops is obsolete, use -falign-loops
builtins.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
builtins.c:1: warning: -malign-functions is obsolete, use -falign-functions
builtins.c: In function `displayapm_func':
builtins.c:886: error: missing terminating " character
builtins.c:887: error: `Version' undeclared (first use in this function)
builtins.c:887: error: (Each undeclared identifier is reported only once
builtins.c:887: error: for each function it appears in.)
builtins.c:887: error: syntax error before ':' token
builtins.c:887:20: invalid suffix "x" on integer constant
builtins.c:888:20: invalid suffix "x" on integer constant
builtins.c:889:20: invalid suffix "x" on integer constant
builtins.c:890:20: invalid suffix "x" on integer constant
builtins.c:891:20: invalid suffix "x" on integer constant
builtins.c:892:20: invalid suffix "x" on integer constant
builtins.c:893:20: invalid suffix "x" on integer constant
builtins.c:894:20: invalid suffix "x" on integer constant
builtins.c:894: error: stray '\' in program
builtins.c:894: error: missing terminating " character
make[2]: *** [pre_stage2_exec-builtins.o] Error 1
make[2]: Leaving directory `/home/drops/modules/drops/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drops/modules/drops/grub'
make: *** [all] Error 2

(2)
make  all-recursive
make[1]: Entering directory `/home/drops/modules/drops/grub'
Making all in netboot
make[2]: Entering directory `/home/drops/modules/drops/grub/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drops/modules/drops/grub/netboot'
Making all in stage2
make[2]: Entering directory `/home/drops/modules/drops/grub/stage2'
source='builtins.c' object='pre_stage2_exec-builtins.o' libtool=no \
depfile='.deps/pre_stage2_exec-builtins.Po' tmpdepfile='.deps/pre_stage2_exec-builtins.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-builtins.o `test -f builtins.c || echo './'`builtins.c

builtins.c:1: warning: -malign-loops is obsolete, use -falign-loops
builtins.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
builtins.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='common.c' object='pre_stage2_exec-common.o' libtool=no \
depfile='.deps/pre_stage2_exec-common.Po' tmpdepfile='.deps/pre_stage2_exec-common.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-common.o `test -f common.c || echo './'`common.c

common.c:1: warning: -malign-loops is obsolete, use -falign-loops
common.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
common.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='char_io.c' object='pre_stage2_exec-char_io.o' libtool=no \
depfile='.deps/pre_stage2_exec-char_io.Po' tmpdepfile='.deps/pre_stage2_exec-char_io.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-char_io.o `test -f char_io.c || echo './'`char_io.c

char_io.c:1: warning: -malign-loops is obsolete, use -falign-loops
char_io.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
char_io.c:1: warning: -malign-functions is obsolete, use -falign-functions
char_io.c: In function `grub_printf':
char_io.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules
char_io.c: In function `grub_sprintf':
char_io.c:149: warning: dereferencing type-punned pointer will break strict-aliasing rules
source='cmdline.c' object='pre_stage2_exec-cmdline.o' libtool=no \
depfile='.deps/pre_stage2_exec-cmdline.Po' tmpdepfile='.deps/pre_stage2_exec-cmdline.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-cmdline.o `test -f cmdline.c || echo './'`cmdline.c

cmdline.c:1: warning: -malign-loops is obsolete, use -falign-loops
cmdline.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
cmdline.c:1: warning: -malign-functions is obsolete, use -falign-functions
cmdline.c: In function `print_cmdline_message':
cmdline.c:53: error: missing terminating " character
cmdline.c:55: error: `lists' undeclared (first use in this function)
cmdline.c:55: error: (Each undeclared identifier is reported only once
cmdline.c:55: error: for each function it appears in.)
cmdline.c:55: error: syntax error before "possible"
cmdline.c:56: error: stray '\' in program
cmdline.c:56: error: missing terminating " character
make[2]: *** [pre_stage2_exec-cmdline.o] Error 1
make[2]: Leaving directory `/home/drops/modules/drops/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drops/modules/drops/grub'
make: *** [all] Error 2

(3)
make  all-recursive
make[1]: Entering directory `/home/drops/modules/drops/grub'
Making all in netboot
make[2]: Entering directory `/home/drops/modules/drops/grub/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drops/modules/drops/grub/netboot'
Making all in stage2
make[2]: Entering directory `/home/drops/modules/drops/grub/stage2'
source='cmdline.c' object='pre_stage2_exec-cmdline.o' libtool=no \
depfile='.deps/pre_stage2_exec-cmdline.Po' tmpdepfile='.deps/pre_stage2_exec-cmdline.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-cmdline.o `test -f cmdline.c || echo './'`cmdline.c

cmdline.c:1: warning: -malign-loops is obsolete, use -falign-loops
cmdline.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
cmdline.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='disk_io.c' object='pre_stage2_exec-disk_io.o' libtool=no \
depfile='.deps/pre_stage2_exec-disk_io.Po' tmpdepfile='.deps/pre_stage2_exec-disk_io.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c

disk_io.c:1: warning: -malign-loops is obsolete, use -falign-loops
disk_io.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
disk_io.c:1: warning: -malign-functions is obsolete, use -falign-functions
disk_io.c: In function `set_device':
disk_io.c:940: warning: dereferencing type-punned pointer will break strict-aliasing rules
disk_io.c:969: warning: dereferencing type-punned pointer will break strict-aliasing rules
source='gunzip.c' object='pre_stage2_exec-gunzip.o' libtool=no \
depfile='.deps/pre_stage2_exec-gunzip.Po' tmpdepfile='.deps/pre_stage2_exec-gunzip.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-gunzip.o `test -f gunzip.c || echo './'`gunzip.c

gunzip.c:1: warning: -malign-loops is obsolete, use -falign-loops
gunzip.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
gunzip.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='fsys_ext2fs.c' object='pre_stage2_exec-fsys_ext2fs.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_ext2fs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_ext2fs.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_ext2fs.o `test -f fsys_ext2fs.c || echo './'`fsys_ext2fs.c

fsys_ext2fs.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_ext2fs.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_ext2fs.c:1: warning: -malign-functions is obsolete, use -falign-functions
fsys_ext2fs.c: In function `ext2fs_dir':
fsys_ext2fs.c:495: warning: 'str_chk' might be used uninitialized in this function
source='fsys_fat.c' object='pre_stage2_exec-fsys_fat.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_fat.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_fat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_fat.o `test -f fsys_fat.c || echo './'`fsys_fat.c

fsys_fat.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_fat.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_fat.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='fsys_ffs.c' object='pre_stage2_exec-fsys_ffs.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_ffs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_ffs.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_ffs.o `test -f fsys_ffs.c || echo './'`fsys_ffs.c

fsys_ffs.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_ffs.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_ffs.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='fsys_minix.c' object='pre_stage2_exec-fsys_minix.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_minix.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_minix.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_minix.o `test -f fsys_minix.c || echo './'`fsys_minix.c

fsys_minix.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_minix.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_minix.c:1: warning: -malign-functions is obsolete, use -falign-functions
fsys_minix.c: In function `minix_dir':
fsys_minix.c:303: warning: 'str_chk' might be used uninitialized in this function
source='fsys_reiserfs.c' object='pre_stage2_exec-fsys_reiserfs.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_reiserfs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_reiserfs.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_reiserfs.o `test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.c

fsys_reiserfs.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_reiserfs.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_reiserfs.c:1: warning: -malign-functions is obsolete, use -falign-functions
fsys_reiserfs.c:115: error: long, short, signed or unsigned used invalidly for `j_mount_id'
fsys_reiserfs.c: In function `next_key':
fsys_reiserfs.c:759: warning: operation on `depth' may be undefined
make[2]: *** [pre_stage2_exec-fsys_reiserfs.o] Error 1
make[2]: Leaving directory `/home/drops/modules/drops/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drops/modules/drops/grub'
make: *** [all] Error 2

(4)
make  all-recursive
make[1]: Entering directory `/home/drops/modules/drops/grub'
Making all in netboot
make[2]: Entering directory `/home/drops/modules/drops/grub/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drops/modules/drops/grub/netboot'
Making all in stage2
make[2]: Entering directory `/home/drops/modules/drops/grub/stage2'
source='fsys_reiserfs.c' object='pre_stage2_exec-fsys_reiserfs.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_reiserfs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_reiserfs.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_reiserfs.o `test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.c

fsys_reiserfs.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_reiserfs.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_reiserfs.c:1: warning: -malign-functions is obsolete, use -falign-functions
fsys_reiserfs.c: In function `next_key':
fsys_reiserfs.c:759: warning: operation on `depth' may be undefined
source='fsys_vstafs.c' object='pre_stage2_exec-fsys_vstafs.o' libtool=no \
depfile='.deps/pre_stage2_exec-fsys_vstafs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_vstafs.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-fsys_vstafs.o `test -f fsys_vstafs.c || echo './'`fsys_vstafs.c

fsys_vstafs.c:1: warning: -malign-loops is obsolete, use -falign-loops
fsys_vstafs.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
fsys_vstafs.c:1: warning: -malign-functions is obsolete, use -falign-functions
fsys_vstafs.c: In function `vstafs_read':
fsys_vstafs.c:189: warning: declaration of 'a' shadows a global declaration
fsys_vstafs.c:66: warning: shadowed declaration is here
fsys_vstafs.c:191: warning: declaration of 'curr_ext' shadows a global declaration
fsys_vstafs.c:65: warning: shadowed declaration is here
source='hercules.c' object='pre_stage2_exec-hercules.o' libtool=no \
depfile='.deps/pre_stage2_exec-hercules.Po' tmpdepfile='.deps/pre_stage2_exec-hercules.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-hercules.o `test -f hercules.c || echo './'`hercules.c

hercules.c:1: warning: -malign-loops is obsolete, use -falign-loops
hercules.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
hercules.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='serial.c' object='pre_stage2_exec-serial.o' libtool=no \
depfile='.deps/pre_stage2_exec-serial.Po' tmpdepfile='.deps/pre_stage2_exec-serial.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-serial.o `test -f serial.c || echo './'`serial.c

serial.c:1: warning: -malign-loops is obsolete, use -falign-loops
serial.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
serial.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='smp-imps.c' object='pre_stage2_exec-smp-imps.o' libtool=no \
depfile='.deps/pre_stage2_exec-smp-imps.Po' tmpdepfile='.deps/pre_stage2_exec-smp-imps.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-smp-imps.o `test -f smp-imps.c || echo './'`smp-imps.c

smp-imps.c:1: warning: -malign-loops is obsolete, use -falign-loops
smp-imps.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
smp-imps.c:1: warning: -malign-functions is obsolete, use -falign-functions
smp-imps.c: In function `imps_read_config_table':
smp-imps.c:437: error: label at end of compound statement
make[2]: *** [pre_stage2_exec-smp-imps.o] Error 1
make[2]: Leaving directory `/home/drops/modules/drops/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drops/modules/drops/grub'
make: *** [all] Error 2

(5)
make  all-recursive
make[1]: Entering directory `/home/drops/modules/drops/grub'
Making all in netboot
make[2]: Entering directory `/home/drops/modules/drops/grub/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/drops/modules/drops/grub/netboot'
Making all in stage2
make[2]: Entering directory `/home/drops/modules/drops/grub/stage2'
source='smp-imps.c' object='pre_stage2_exec-smp-imps.o' libtool=no \
depfile='.deps/pre_stage2_exec-smp-imps.Po' tmpdepfile='.deps/pre_stage2_exec-smp-imps.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-smp-imps.o `test -f smp-imps.c || echo './'`smp-imps.c

smp-imps.c:1: warning: -malign-loops is obsolete, use -falign-loops
smp-imps.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
smp-imps.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='stage2.c' object='pre_stage2_exec-stage2.o' libtool=no \
depfile='.deps/pre_stage2_exec-stage2.Po' tmpdepfile='.deps/pre_stage2_exec-stage2.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-stage2.o `test -f stage2.c || echo './'`stage2.c

stage2.c:1: warning: -malign-loops is obsolete, use -falign-loops
stage2.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
stage2.c:1: warning: -malign-functions is obsolete, use -falign-functions
source='md5.c' object='pre_stage2_exec-md5.o' libtool=no \
depfile='.deps/pre_stage2_exec-md5.Po' tmpdepfile='.deps/pre_stage2_exec-md5.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DUSE_MD5_PASSWORDS=1 -g -c -o pre_stage2_exec-md5.o `test -f md5.c || echo './'`md5.c

md5.c:1: warning: -malign-loops is obsolete, use -falign-loops
md5.c:1: warning: -malign-jumps is obsolete, use -falign-jumps
md5.c:1: warning: -malign-functions is obsolete, use -falign-functions
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-common.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-disk_io.o pre_stage2_exec-gunzip.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-fsys_vstafs.o pre_stage2_exec-hercules.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o pre_stage2_exec-md5.o 

pre_stage2_exec-builtins.o(.text+0x13bb): In function `install_func':
/home/drops/modules/drops/grub/stage2/builtins.c:1809: undefined reference to `memcpy'
pre_stage2_exec-builtins.o(.text+0x1476):/home/drops/modules/drops/grub/stage2/builtins.c:1854: undefined reference to `memcpy'

pre_stage2_exec-builtins.o(.text+0x2b54): In function `setup_func':
/home/drops/modules/drops/grub/stage2/builtins.c:3680: undefined reference to `memcpy'
collect2: ld returned 1 exit status
make[2]: *** [pre_stage2.exec] Error 1
make[2]: Leaving directory `/home/drops/modules/drops/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drops/modules/drops/grub'
make: *** [all] Error 2


The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message.
Thank you.