From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 27 Mar 2008 08:04:12 +0100 Subject: [U-Boot-Users] RFC: make new image support mandatory In-Reply-To: <47EAF764.9050005@gmail.com> References: <20080326141644.D180D243A7@gemini.denx.de> <47EA78C1.4060905@semihalf.com> <47EAF764.9050005@gmail.com> Message-ID: <200803270804.13281.sr@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 On Thursday 27 March 2008, Jerry Van Baren wrote: > I also am running debian and am getting the error. Apparently our > /usr/include/linux/types.h files are different from yours, or we have > something set up differently/wrongly. > > Adding -isystem ../include (to override the host's include files) to > FIT_FLAGS "fixes" the problem. I'm running Ubuntu and am getting this errors too. Even without enabling CONFIG_FIT: [stefan at ubuntu u-boot-ppc4xx (master)]$ ./MAKEALL sequoia Configuring for sequoia board... In file included from fdt_host.h:24, from fdt.c:57: ../include/fdt.h:7: error: expected specifier-qualifier-list before ?uint32_t? ../include/fdt.h:26: error: expected specifier-qualifier-list before ?uint64_t? ../include/fdt.h:31: error: expected specifier-qualifier-list before ?uint32_t? ../include/fdt.h:36: error: expected specifier-qualifier-list before ?uint32_t? In file included from fdt_host.h:25, from fdt.c:57: ../include/libfdt.h:131: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?fdt_next_tag? ../include/libfdt.h:162: error: expected declaration specifiers or ?...? before ?uint32_t? ../include/libfdt.h: In function ?fdt_set_magic?: ../include/libfdt.h:162: error: ?struct fdt_header? has no member named ?magic? ../include/libfdt.h:162: error: ?val? undeclared (first use in this function) ../include/libfdt.h:162: error: (Each undeclared identifier is reported only once ../include/libfdt.h:162: error: for each function it appears in.) ../include/libfdt.h: At top level: ../include/libfdt.h:163: error: expected declaration specifiers or ?...? before ?uint32_t? ../include/libfdt.h: In function ?fdt_set_totalsize?: ../include/libfdt.h:163: error: ?struct fdt_header? has no member named ?totalsize? ../include/libfdt.h:163: error: ?val? undeclared (first use in this function) ../include/libfdt.h: At top level: ../include/libfdt.h:164: error: expected declaration specifiers or ?...? before ?uint32_t? ../include/libfdt.h: In function ?fdt_set_off_dt_struct?: ../include/libfdt.h:164: error: ?struct fdt_header? has no member named ?off_dt_struct? ../include/libfdt.h:164: error: ?val? undeclared (first use in this function) ../include/libfdt.h: At top level: ../include/libfdt.h:165: error: expected declaration specifiers or ?...? before ?uint32_t? ../include/libfdt.h: In function ?fdt_set_off_dt_strings?: ../include/libfdt.h:165: error: ?struct fdt_header? has no member named ?off_dt_strings? .... Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================