Re: [Etherboot-developers] etherboot 5.1.2
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2002-11-14 03:04:12
|
ke...@us... (Ken Yap) writes: > >gcc -DPCBIOS -DCONFIG_PCI -DCONFIG_ISA -DBACKOFF_LIMIT=7 -DCONGESTED -DTAGGED > >_IMAGE -DELF_IMAGE -DDOWNLOAD_PROTO_NFS -Os -ffreestanding -fstrength-reduce > >-fomit-frame-pointer -mcpu=i386 -malign-jumps=1 -malign-loops=1 -malign-funct > >ions=1 -Wall -W -Wno-format -DVERSION_MAJOR=5 -DVERSION_MINOR=1 -DVERSION=\"5 > >.1.2\" -DRELOC=0x20000 -o bin32/nfs.o -c nfs.c > >nfs.c: In function `await_rpc': > >nfs.c:67: `udphdr' undeclared (first use in this function) > >nfs.c:67: (Each undeclared identifier is reported only once > >nfs.c:67: for each function it appears in.) > >nfs.c:73: parse error before `return' > >nfs.c:58: warning: unused parameter `ptype' > >make: *** [bin32/nfs.o] Error 1 > > This has been fixed in the CVS, but Eric you'll find another error in > main.c in loadkernel() when -DDOWNLOAD_PROTO_NFS is defined. Thanks. I finally took a look at this. I just corrected the prototype to fnc. I have also totally removed the #define for download. And added a define for tftp in the case it is not compiled in. And I have changed the dhcp/bootp option code to only attempt to get extra options via tftp. Attempting to get the extra code over nfs does not make much sense. And tftp and nfs can both be compiled in now. Some old configurations might need to change a little to explicitly put nfs:// to get loading over nfs. But now the behavior of the code does not change depending upon what is compiled in. Eric |