[U-Boot-Users] U-Boot v1.3.2-rc2 released

Jon Loeliger jdl at freescale.com
Mon Feb 25 21:58:00 CET 2008


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






More information about the U-Boot mailing list