From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajay Bhargav Date: Mon, 31 Oct 2011 11:22:21 +0530 (IST) Subject: [U-Boot] [BREAKAGE] gplugd board / armada100_fec In-Reply-To: <1666782535.280872.1320040324338.JavaMail.root@ahm.einfochips.com> Message-ID: <1451501677.280874.1320040341365.JavaMail.root@ahm.einfochips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ----- "Marek Vasut" wrote: > Dear Ajay Bhargav, > > I compiled the "gplugd" board and I got the following warnings, please > fix. > > Configuring for gplugd board... > armada100_fec.c: In function 'armdfec_init': > armada100_fec.c:483:2: warning: dereferencing type-punned pointer will > break > strict-aliasing rules > armada100_fec.c:484:2: warning: dereferencing type-punned pointer will > break > strict-aliasing rules > armada100_fec.c: In function 'armdfec_recv': > armada100_fec.c:670:2: warning: dereferencing type-punned pointer will > break > strict-aliasing rules > gplugd.c: In function 'board_init': > gplugd.c:95:27: error: 'MACH_TYPE_SHEEVAD' undeclared (first use in > this > function) > gplugd.c:95:27: note: each undeclared identifier is reported only once > for each > function it appears in > > Cheers Hi Marek, May I know what version of gcc are you using? I will fix the MACH_TYPE_SHEEVAD as suggested by Albert. Regards, Ajay Bhargav