From: Jon Loeliger Date: Mon, 25 Feb 2008 14:58:00 -0600 Subject: [U-Boot-Users] U-Boot v1.3.2-rc2 released In-Reply-To: <20080224152421.23BFE2476F@gemini.denx.de> References: <20080224152421.23BFE2476F@gemini.denx.de> Message-ID: <1203973080.30238.11.camel@ld0161-tx32> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2008-02-24 at 09:24, Wolfgang Denk wrote: > MPC8610HPCD: > net.c: In function 'PingHandler': > net.c:770: warning: passing argument 1 of 'NetReadIP' discards qualifiers from pointer target type > net.c: In function 'NetSetIP': > net.c:1694: warning: passing argument 1 of 'NetCopyIP' discards qualifiers from pointer target type > net.c:1695: warning: passing argument 1 of 'NetCopyIP' discards qualifiers from pointer target type > net.c: In function 'PingSend': > net.c:736: warning: passing argument 1 of 'NetCopyIP' discards qualifiers from pointer target type > net.c:737: warning: passing argument 1 of 'NetCopyIP' discards qualifiers from pointer target type Hi Wolfgang,, I've not been able to reproduce the above warnings using either a gcc 3.43 or a gcc 4.2.0 compiler. That is some very odd code, and I'm curious to know if it is only on the MPC8610HPCD board that you see this behavior, or is it also on some other board too? Can anyone else duplicate those warnings? > ---------------- > sbc8641d: > sbc8641d.c: In function 'pci_init_board': > sbc8641d.c:233: error: 'MPC86xx_PORDEVSR_IO_SEL' undeclared (first use in this function) > sbc8641d.c:233: error: (Each undeclared identifier is reported only once > sbc8641d.c:233: error: for each function it appears in.) > make[1]: *** [/work/wd/tmp-ppc/board/sbc8641d/sbc8641d.o] Error 1 > make: *** [/work/wd/tmp-ppc/board/sbc8641d/libsbc8641d.a] Error 2 I posted a patch to fix this brain-damage of mine. Left hand, meet right hand.... You know. Sorry. > Board maintainers - please test and post patches ASAP! A pull of u-boot-86xx will clean up the sbc8641d build. Thanks, jdl