Re: Etherboot 5.5

Michael Brown <[email protected]>
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
On Fri, 20 May 2005, Timothy Legge wrote:
> >>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

Yes; same problem.  Will fix in the morning.

Michael


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.