Hi,

Trying to compile on the hurd yielded some error messages during the build.
I was using the CVS version which compiles fine under GNU/Linux.

I have included a snipped output of make.  I can send the whole file if
needed.

-Neal

-- 
Neal H Walfield
University of Massachusetts at Lowell
[EMAIL PROTECTED] or [EMAIL PROTECTED]
Script started on Sat Sep 16 21:29:25 2000
root@hurd:~/grub/build (0)$ make
make  all-recursive
make[1]: Entering directory `/root/grub/build'
Making all in netboot
make[2]: Entering directory `/root/grub/build/netboot'

No problems here

make[2]: Leaving directory `/root/grub/build/netboot'
Making all in stage2
make[2]: Entering directory `/root/grub/build/stage2'
Makefile:375: warning: overriding commands for target `nbloader.exec'

same for a bunch of the *.exec files.

[snip a bunch of `ok' compiles] 

Errors start soon...

rm -f libgrub.a
ar cru libgrub.a boot.o builtins.o common.o char_io.o cmdline.o disk_io.o gunzip.o 
fsys_ffs.o fsys_ext2fs.o fsys_fat.o fsys_minix.o fsys_reiserfs.o stage2.o 
ranlib libgrub.a
gcc -DHAVE_CONFIG_H -I. -I../../stage2 -I.. -I../../stage1  -Wall -Wmissing-prototypes 
-Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 
-Wundef  -g -c ../../stage2/start.S
gcc  -g  -o start.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 start.o  
gcc -DHAVE_CONFIG_H -I. -I../../stage2 -I.. -I../../stage1  -Wall -Wmissing-prototypes 
-Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 
-Wundef  -g -c ../../stage2/stage1_5.c
gcc  -g  -o e2fs_stage1_5.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 start.o asm.o 
common.o char_io.o disk_io.o stage1_5.o fsys_ext2fs.o bios.o  
asm.o: In function `main':
asm.o(.text+0x0): multiple definition of `start'
start.o(.text+0x0): first defined here
asm.o: In function `main':
asm.o(.text+0x0): multiple definition of `_start'
start.o(.text+0x0): first defined here
char_io.o: In function `cl_backward':
/root/grub/build/stage2/../../stage2/char_io.c:307: undefined reference to `terminal'
/root/grub/build/stage2/../../stage2/char_io.c:309: undefined reference to `terminal'
char_io.o: In function `cl_forward':
/root/grub/build/stage2/../../stage2/char_io.c:348: undefined reference to `terminal'
/root/grub/build/stage2/../../stage2/char_io.c:350: undefined reference to `terminal'
char_io.o: In function `cl_refresh':
/root/grub/build/stage2/../../stage2/char_io.c:475: undefined reference to `terminal'
char_io.o:/root/grub/build/stage2/../../stage2/char_io.c:477: more undefined 
references to `terminal' follow
disk_io.o: In function `devread':
/root/grub/build/stage2/../../stage2/disk_io.c:245: undefined reference to `debug'
disk_io.o: In function `print_completions':
/root/grub/build/stage2/../../stage2/disk_io.c:1079: undefined reference to 
`builtin_table'
disk_io.o: In function `grub_open':
/root/grub/build/stage2/../../stage2/disk_io.c:1269: undefined reference to 
`compressed_file'
/root/grub/build/stage2/../../stage2/disk_io.c:1344: undefined reference to 
`gunzip_test_header'
/root/grub/build/stage2/../../stage2/disk_io.c:1365: undefined reference to 
`gunzip_test_header'
disk_io.o: In function `grub_read':
/root/grub/build/stage2/../../stage2/disk_io.c:1396: undefined reference to 
`compressed_file'
/root/grub/build/stage2/../../stage2/disk_io.c:1397: undefined reference to 
`gunzip_read'
disk_io.o: In function `dir':
/root/grub/build/stage2/../../stage2/disk_io.c:1490: undefined reference to 
`compressed_file'
stage1_5.o: In function `cmain':
/root/grub/build/stage2/../../stage2/stage1_5.c:38: undefined reference to 
`chain_stage2'
collect2: ld returned 1 exit status
make[2]: *** [e2fs_stage1_5.exec] Error 1
make[2]: Leaving directory `/root/grub/build/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/grub/build'
make: *** [all-recursive-am] Error 2
root@hurd:~/grub/build (2)$ exit

Script done on Sat Sep 16 21:30:11 2000

Reply via email to