[U-Boot] Compiler error with BUILD_DIR

Wolfgang Denk wd at denx.de
Tue Apr 14 17:47:49 CEST 2009


Dear Günter,

In message <D0B748CCD5DF144CA5C56A9D860A31341DE5FB at 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: wd at denx.de
"Faith: not *wanting* to know what is true."    - Friedrich Nietzsche


More information about the U-Boot mailing list