Hello Wolfgang, sorry, again it's an own board, based on MPC8315ERDB. The tree is u-boot |---build |---u-boot-2009.03
The makefile in u-boot which I use to build: #---------------------------------------- export BUILD_DIR:=$(shell pwd)/build export SRC_DIR:=$(shell pwd)/u-boot-2009.03 all: CROSS_COMPILE=powerpc-unknown-linux-gnu- make -C $(SRC_DIR) F302P_config CROSS_COMPILE=powerpc-unknown-linux-gnu- make -C $(SRC_DIR) install: clean: rm -rf $(BUILD_DIR) distclean: clean #---------------------------------------- Bets regards Guenter -----Ursprüngliche Nachricht----- Von: Wolfgang Denk [mailto:w...@denx.de] Gesendet: Dienstag, 14. April 2009 17:48 An: Günter Leonhardt Cc: u-boot@lists.denx.de Betreff: Re: [U-Boot] Compiler error with BUILD_DIR Dear Guenter, In message <d0b748ccd5df144ca5c56a9d860a31341de...@men-exch1.intra.men.de> you wrote: > > Hello, > I'am getting an compiler error if I use a seperate BUILD_DIR: > /home/gl/swserver/work/LINUX/ELINOS_PROJECTS/ELINOS_50/demoF302P/src/u > -boot> /build/tools/fdt.c:81: error: conflicting types for > âfdt_offset_ptrâ > /usr/include/../include/libfdt.h:125: error: previous declaration of > âfdt> _offset_ptrâ was here because I have installed a different version of > the dtc. Which boared configuration is this? > If I build u-boot without a seperate BUILD_DIR, I get no error. > > I'am using u-boot-2009.03. And what about the current top of tree? 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: w...@denx.de "Faith: not *wanting* to know what is true." - Friedrich Nietzsche _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot