[U-Boot] [PATCH] ml507: fix out of tree build problem

Wolfgang Denk wd at denx.de
Tue Sep 9 09:12:48 CEST 2008


Dear Ricardo,

In message <aa76a2be0809081644p588a3f0bna8a221e490dc4cca at mail.gmail.com> you wrote:
> 
>   It has change, there is no more copies. Instead of that I used the
> method that you sugggested for re-using linking scripts. If you keep
> you patch you will have a conflict merging.

With the latest code changes applied, out-of-tree building now breaks
for   the   ml507,   ml507_flash,   v5fx30teval,   v5fx30teval_flash,
xilinx-ppc440-generic and xilinx-ppc440-generic_flash configurations:

MAKEALL_LOGDIR=/work/wd/tmp-ml507-LOG \
+ BUILD_DIR=/work/wd/tmp-ml507 \
+ JOBS=-j4 \
+ ./MAKEALL ml507
Configuring for ml507 board...
In file included from /work/wd/tmp-ml507/tools/environment.c:30:
/home/wd/git/u-boot/custodians/include/environment.h:63:39: error: operator '>=' has no right operand
envcrc.c:52:39: error: operator '>=' has no right operand
/home/wd/git/u-boot/custodians/tools/envcrc.c:52:39: error: operator '>=' has no right operand
make[1]: *** [/work/wd/tmp-ml507/tools/envcrc.o] Error 1
make: *** [tools] Error 2
make: *** Waiting for unfinished jobs....
board.c: In function 'mem_malloc_init':
board.c:149: error: 'TEXT_BASE' undeclared (first use in this function)
board.c:149: error: (Each undeclared identifier is reported only once
board.c:149: error: for each function it appears in.)
board.c: In function 'board_init_f':
board.c:433: error: 'TEXT_BASE' undeclared (first use in this function)
board.c: In function 'board_init_r':
board.c:671: error: 'TEXT_BASE' undeclared (first use in this function)
make[1]: *** [/work/wd/tmp-ml507/lib_ppc/board.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [/work/wd/tmp-ml507/lib_ppc/libppc.a] Error 2
ppc_6xx-size: '/work/wd/tmp-ml507/u-boot': No such file


Please fix!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Never give in.  Never give in.  Never. Never. Never."
- Winston Churchill


More information about the U-Boot mailing list