[Etherboot-developers] 5.1.xx cvs problems
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Boris R. <bo...@bo...> - 2003-03-03 03:51:56
|
After downloading the latest 5.1.xx cvs(5.1.7pre3), I wanted to compile
all the
drivers into one file and put it onto disk. (make etherboot.fd0). The
problem is that once it boots this driver, the system automatically
reboots. If I just try to compile only one driver and put it onto disk, It
works flawlessly. I have sent a message to the mailing list and wondering
if anyone has been working on a fix?
Also, If I take out -DCONFIG_ISA and do a "make", I get the following
error.
gcc -DPCBIOS -fstrength-reduce -fomit-frame-pointer -mcpu=i386 -march=i386
-malign-jumps=1 -malign-loops=1 -malign-functions=1 -DCONFIG_PCI
-DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC -DBAR_PROGRESS -DSIZEINDICATOR
-DREQUIRE_VCI_ETHERBOOT -DBACKOFF_LIMIT=7 -DCONGESTED -DTAGGED_IMAGE
-DELF_IMAGE -DDOWNLOAD_PROTO_TFTP -DRELOCATE -Os -ffreestanding -Wall -W
-Wno-format -DVERSION_MAJOR=5 -DVERSION_MINOR=1 -DVERSION=\"5.1.7pre3\"
-DRELOC=0x20000 -I include -I arch/i386/include -DARCH=i386 -o
bin/pc_floppy.o -c drivers/disk/pc_floppy.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from include/string.h:11,
from include/osdep.h:13,
from include/etherboot.h:9,
from drivers/disk/pc_floppy.c:1:
arch/i386/include/bits/string.h:254: warning: static declaration for
`strncmp' follows non-static
arch/i386/include/bits/string.h:277: warning: static declaration for
`strlen' follows non-static
drivers/disk/pc_floppy.c: In function `set_dor':
drivers/disk/pc_floppy.c:214: warning: unused parameter `fdc'
drivers/disk/pc_floppy.c: In function `fdc_dtr':
drivers/disk/pc_floppy.c:455: warning: comparison between signed and
unsigned
drivers/disk/pc_floppy.c: In function `fdc_specify':
drivers/disk/pc_floppy.c:567: warning: comparison of unsigned expression <
0 is
always false
drivers/disk/pc_floppy.c: In function `read_ok':
drivers/disk/pc_floppy.c:809: warning: comparison between signed and
unsigned
drivers/disk/pc_floppy.c: In function `floppy_read_sectors':
drivers/disk/pc_floppy.c:862: warning: comparison between signed and
unsigned
drivers/disk/pc_floppy.c:898: warning: comparison between signed and
unsigned
drivers/disk/pc_floppy.c:898: warning: comparison between signed and
unsigned
drivers/disk/pc_floppy.c:918: warning: comparison between signed and
unsigned
drivers/disk/pc_floppy.c: In function `floppy_fini':
drivers/disk/pc_floppy.c:1098: warning: unused parameter `dev'
drivers/disk/pc_floppy.c: At top level:
drivers/disk/pc_floppy.c:1144: parse error before string constant
drivers/disk/pc_floppy.c:1146: warning: return type defaults to `int'
drivers/disk/pc_floppy.c: In function `ISA_ROM':
drivers/disk/pc_floppy.c:1146: storage class specified for parameter
`floppy_isa_driver'
drivers/disk/pc_floppy.c:1146: parse error before "__isa_driver"
drivers/disk/pc_floppy.c:1146: parameter `floppy_isa_driver' has
incomplete typedrivers/disk/pc_floppy.c:1146: declaration for parameter
`floppy_isa_driver' but no such parameter
drivers/disk/pc_floppy.c:229: warning: `bounce_motor' defined but not used
drivers/disk/pc_floppy.c:1105: warning: `floppy_probe' defined but not
used
drivers/disk/pc_floppy.c:1140: warning: `floppy_ioaddrs' defined but not
used
make: *** [bin/pc_floppy.o] Error 1
Any ideas on fixing this problem also?
|