Re: 5.4: arch/i386/firmware/pcbios/basemem.c:90: error: static declaration of '_allot_base_memory' follows non-static declaration

[email protected] (Geert Stappers) Mon, 5 Dec 2005 20:15:18 +0100
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Dec 05, 2005 at 06:34:17AM -0500, Marty Connor wrote:
> On Dec 1, 2005, at 4:45 PM, Geert Stappers wrote:
> >On compile attempt I got these messages from CVS Etherboot-5.4:
> >...
> >My compiler is
> >| $ gcc --version
> >| gcc (GCC) 4.0.1 (Debian 4.0.1-2)
> >...
> >What should I do to get a clean compile?
> 
> For now, use GCC 3.x.  GCC 4 is quite new, and it will take a little  
> work to figure out what changes we need to be compatible with it.

Okay, with

| 
| stappers@coco:/usr/src/etherboot/etherboot-5.4/src
| $ diff -u Config{.cvs,}
| --- Config.cvs  2005-04-02 10:47:24.000000000 +0000
| +++ Config      2005-12-05 19:56:57.000000000 +0000
| @@ -439,12 +439,12 @@
|  # CFLAGS+=     -DNORELOCATE
| 
|  # you should normally not need to change these
| -HOST_CC=       gcc
| +HOST_CC=       gcc-3.4
|  CPP=           gcc -E -Wp,-Wall
|  RM=            rm -f
|  TOUCH=         touch
|  PERL=          /usr/bin/perl
| -CC=            gcc
| +CC=            gcc-3.4
|  AS=            as
|  LD=            ld
|  SIZE=          size
| stappers@coco:/usr/src/etherboot/etherboot-5.4/src
| $

I get a clean compile.  (Executable not tested)


Thx
GSt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDlJHGOSINbgwa/7sRAmlMAKCnQGp4E19zBPRgE3dm5+PCkr/VyQCglMbu
0g4gnMTU4ySCeeQBJM9yA0c=
=ZP4A
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click