From: Wolfgang Denk Date: Tue, 09 Sep 2008 09:12:48 +0200 Subject: [U-Boot] [PATCH] ml507: fix out of tree build problem In-Reply-To: References: <1220907014-12216-1-git-send-email-wd@denx.de> <1220907014-12216-3-git-send-email-wd@denx.de> <1220907014-12216-4-git-send-email-wd@denx.de> <20080908231925.15DC02489D@gemini.denx.de> Message-ID: <20080909071248.C2E1F248B8@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ricardo, In message 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