Re: Etherboot 5.5
Timothy Legge <[email protected]>
| Newsgroups | gmane.network.etherboot.devel |
|---|---|
| Message-ID | <[email protected]> |
Timothy Legge wrote: >>>The "struct buffer" issue is due to a tweak I had to make >> >>today to get >> >>>doxygen to work; I've fixed this now. The "does not >> >>declare anything" >> >>>is because gcc 3.4.3 apparently doesn't like having unnamed >> >>structs. >> >>>I though that this was supported; I'll have to check. We >> >>don't make >> >>>significant use of the structures in registers.h, so >> >>changing them to >> >>>named structs will not be too hard, though it will make the code a >>>little less clean. >> >>I've switch registers.h over to using named struct elements, >>and updated the code that depends on the structures in >>registers.h. I'm not sure if unnamed struct elements are >>used elsewhere, and gcc 3.2.2 doesn't seem to have a problem >>with them anyway, so please let me know if you still can't >>compile the code. >> >>Getting the code to the stage that everyone who wants to work >>on it can at least compile it is a high priority for me. > > > I will try later today. I got further. It looks like another unnamed struct: cc -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC -DALLOW_ONLY_ENCAPSULATED -DBACKOFF_LIMIT=7 -DCONGESTED -DPXE_IMAGE -DPXE_EXPORT -DPCBIOS -fstrength-reduce -fomit-frame-pointer -march=i386 -falign-jumps=1 -falign-loops=1 -falign-functions=1 -I include -I arch/i386/include -I . -DARCH=i386 -Os -ffreestanding -Wall -W -Wno-format -DVERSION_MAJOR=5 -DVERSION_MINOR=5 -DVERSION=\"5.5.0\" -include compiler.h -DOBJECT=basemem -c arch/i386/firmware/pcbios/basemem.c -o bin/basemem.o In file included from arch/i386/firmware/pcbios/basemem.c:5: arch/i386/include/basemem.h:22: warning: declaration does not declare anything arch/i386/firmware/pcbios/basemem.c: In function `free_base_memory': arch/i386/firmware/pcbios/basemem.c:133: error: union has no member named `magic' arch/i386/firmware/pcbios/basemem.c:134: error: union has no member named `size_kb' arch/i386/firmware/pcbios/basemem.c: In function `free_unused_base_memory': arch/i386/firmware/pcbios/basemem.c:164: error: union has no member named `magic' arch/i386/firmware/pcbios/basemem.c:169: error: union has no member named `size_kb' make: *** [bin/basemem.o] Error 1 Tim ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click