All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [build] conflict of include/image.h with /usr/include/image.h
@ 2014-08-03 18:38 Alon Bar-Lev
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev @ 2014-08-03 18:38 UTC (permalink / raw)
  To: u-boot

Hi,

I guess this applies to everything else in include directory. Usually I
know how to fix that, but the -idirafter/tmp/u-boot/arch/powerpc/include
seems to be important to build system, and is also causing the issue, so I
am unsure about the implications.

---
  gcc -Wp,-MD,tools/.aisimage.o.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer   -include /tmp/u-boot/include/libfdt_env.h
-idirafterinclude -idirafter/tmp/u-boot/arch/powerpc/include
-I/tmp/u-boot/lib/libfdt -I/tmp/u-boot/tools
-DCONFIG_SYS_TEXT_BASE=0xf01000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES
-D_GNU_SOURCE  -c -o tools/aisimage.o tools/aisimage.c
In file included from /usr/include/image.h:22:0,
                 from tools/aisimage.c:10:
/usr/include/rgbpixel.h:61:3: error: expected specifier-qualifier-list
before ?RGBpixel?
In file included from tools/aisimage.c:10:0:
/usr/include/image.h:40:1: error: unknown type name ?class?
/usr/include/image.h:41:1: error: expected ?=?, ?,?, ?;?, ?asm? or
?__attribute__? before ?{? token
tools/aisimage.c:22:1: error: unknown type name ?table_entry_t?
---

Workaround is to copy include/image.h into tools/, but I believe this is
not the right way to go.

What will be the proper solution? moving shared includes into own directory?

Regards,
Alon Bar-Lev

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-03 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-03 18:38 [U-Boot] [build] conflict of include/image.h with /usr/include/image.h Alon Bar-Lev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.