U-Boot is not compiling (other failure)

Hi,

I got problems building u-boot, too:

From the logs:
abakus:Linux/bb-kernel-3.15.x>ls -l
total 1143756
drwxr-xr-x 2 auser users 4096 2014-10-06 19:15 DTC
drwxr-xr-x 12 auser users 4096 2014-10-06 20:34 bb-kernel
-rw-r--r-- 1 auser users 1120037232 2014-10-07 05:02 bb-kernel-3.15.x-2014-10-07.tar.7z
drwxr-xr-x 7 auser users 4096 2014-04-16 20:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
-rw-r--r-- 1 auser users 51126392 2014-04-24 11:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz

abakus:Linux/bb-kernel-3.15.x>git clone git://git.denx.de/u-boot.git
Cloning into 'u-boot'...
remote: Counting objects: 277083, done.
remote: Compressing objects: 100% (54903/54903), done.
Receiving objects: 100% (277083/277083), 65.25 MiB | 237.00 KiB/s, done.
remote: Total 277083 (delta 220844), reused 273006 (delta 217018)
Resolving deltas: 100% (220844/220844), done.
Checking connectivity... done.
abakus:Linux/bb-kernel-3.15.x>ls -l
total 1143756
drwxr-xr-x 2 auser users 4096 2014-10-06 19:15 DTC
drwxr-xr-x 12 auser users 4096 2014-10-06 20:34 bb-kernel
-rw-r--r-- 1 auser users 1120037232 2014-10-07 05:02 bb-kernel-3.15.x-2014-10-07.tar.7z
drwxr-xr-x 7 auser users 4096 2014-04-16 20:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
-rw-r--r-- 1 auser users 51126392 2014-04-24 11:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
drwxr-xr-x 22 auser users 4096 2014-10-07 19:27 u-boot

abakus:Linux/bb-kernel-3.15.x>cd u-boot
abakus:bb-kernel-3.15.x/u-boot>git checkout v2014.07 -b tmp
Switched to a new branch 'tmp'
abakus:bb-kernel-3.15.x/u-boot>wget -c https://raw.githubusercontent.com/eewiki/u-boot-patches/master/v2014.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
--2014-10-07 19:28:12-- https://raw.githubusercontent.com/eewiki/u-boot-patches/master/v2014.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
Resolving raw.githubusercontent.com... 185.31.17.133
Connecting to raw.githubusercontent.com|185.31.17.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10247 (10K) [text/plain]
Saving to: ‘0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch’

100%[====================================================================================================>] 10,247 --.-K/s in 0.04s

2014-10-07 19:28:12 (242 KB/s) - ‘0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch’ saved [10247/10247]

abakus:bb-kernel-3.15.x/u-boot>patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
patching file include/configs/am335x_evm.h
abakus:bb-kernel-3.15.x/u-boot>echo ${CC}
/home/auser/data/pools/pool05/BeagleboneBlack/Linux/bb-kernel-3.15.x/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-
abakus:bb-kernel-3.15.x/u-boot>${CC}gcc --version
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 4.8.3 20140401 (prerelease)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

abakus:bb-kernel-3.15.x/u-boot>make ARCH=arm CROSS_COMPILE=${CC} distclean
abakus:bb-kernel-3.15.x/u-boot>make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_config
Configuring for am335x_evm - Board: am335x_evm, Options: SERIAL1,CONS_INDEX=1,NAND
abakus:bb-kernel-3.15.x/u-boot>make ARCH=arm CROSS_COMPILE=${CC}
  GEN include/autoconf.mk.dep
  GEN include/autoconf.mk
  CHK include/config/uboot.release
  UPD include/config/uboot.release
  CHK include/generated/version_autogenerated.h
  UPD include/generated/version_autogenerated.h
  CHK include/generated/timestamp_autogenerated.h
  UPD include/generated/timestamp_autogenerated.h
  HOSTCC scripts/basic/fixdep
  CC lib/asm-offsets.s
  GEN include/generated/generic-asm-offsets.h
  CC arch/arm/lib/asm-offsets.s
  GEN include/generated/asm-offsets.h
  HOSTCC tools/aisimage.o
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’
   RGBpixel () /* : red(0), green(0), blue(0), alpha(255) {} */
   ^
In file included from tools/aisimage.c:10:0:
/usr/include/image.h:40:1: error: unknown type name ‘class’
class AF_EXPORT Image
^
/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’
static table_entry_t aisimage_cmds[] = {
^
tools/aisimage.c:23:2: warning: braces around scalar initializer [enabled by default]
  {CMD_DATA, "DATA", "Reg Write Data"},
  ^
tools/aisimage.c:23:2: warning: (near initialization for ‘aisimage_cmds[0]’) [enabled by default]
tools/aisimage.c:23:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:23:2: warning: (near initialization for ‘aisimage_cmds[0]’) [enabled by default]
tools/aisimage.c:23:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:23:2: warning: (near initialization for ‘aisimage_cmds[0]’) [enabled by default]
tools/aisimage.c:24:2: warning: braces around scalar initializer [enabled by default]
  {CMD_FILL, "FILL", "Fill range with pattern"},
  ^
tools/aisimage.c:24:2: warning: (near initialization for ‘aisimage_cmds[1]’) [enabled by default]
tools/aisimage.c:24:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:24:2: warning: (near initialization for ‘aisimage_cmds[1]’) [enabled by default]
tools/aisimage.c:24:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:24:2: warning: (near initialization for ‘aisimage_cmds[1]’) [enabled by default]
tools/aisimage.c:25:2: warning: braces around scalar initializer [enabled by default]
  {CMD_CRCON, "CRCON", "CRC Enable"},
  ^
tools/aisimage.c:25:2: warning: (near initialization for ‘aisimage_cmds[2]’) [enabled by default]
tools/aisimage.c:25:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:25:2: warning: (near initialization for ‘aisimage_cmds[2]’) [enabled by default]
tools/aisimage.c:25:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:25:2: warning: (near initialization for ‘aisimage_cmds[2]’) [enabled by default]
tools/aisimage.c:26:2: warning: braces around scalar initializer [enabled by default]
  {CMD_CRCOFF, "CRCOFF", "CRC Disable"},
  ^
tools/aisimage.c:26:2: warning: (near initialization for ‘aisimage_cmds[3]’) [enabled by default]
tools/aisimage.c:26:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:26:2: warning: (near initialization for ‘aisimage_cmds[3]’) [enabled by default]
tools/aisimage.c:26:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:26:2: warning: (near initialization for ‘aisimage_cmds[3]’) [enabled by default]
tools/aisimage.c:27:2: warning: braces around scalar initializer [enabled by default]
  {CMD_CRCCHECK, "CRCCHECK", "CRC Validate"},
  ^
tools/aisimage.c:27:2: warning: (near initialization for ‘aisimage_cmds[4]’) [enabled by default]
tools/aisimage.c:27:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:27:2: warning: (near initialization for ‘aisimage_cmds[4]’) [enabled by default]
tools/aisimage.c:27:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:27:2: warning: (near initialization for ‘aisimage_cmds[4]’) [enabled by default]
tools/aisimage.c:28:2: warning: braces around scalar initializer [enabled by default]
  {CMD_JMPCLOSE, "JMPCLOSE", "Jump & Close"},
  ^
tools/aisimage.c:28:2: warning: (near initialization for ‘aisimage_cmds[5]’) [enabled by default]
tools/aisimage.c:28:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:28:2: warning: (near initialization for ‘aisimage_cmds[5]’) [enabled by default]
tools/aisimage.c:28:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:28:2: warning: (near initialization for ‘aisimage_cmds[5]’) [enabled by default]
tools/aisimage.c:29:2: warning: braces around scalar initializer [enabled by default]
  {CMD_JMP, "JMP", "Jump"},
  ^
tools/aisimage.c:29:2: warning: (near initialization for ‘aisimage_cmds[6]’) [enabled by default]
tools/aisimage.c:29:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:29:2: warning: (near initialization for ‘aisimage_cmds[6]’) [enabled by default]
tools/aisimage.c:29:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:29:2: warning: (near initialization for ‘aisimage_cmds[6]’) [enabled by default]
tools/aisimage.c:30:2: warning: braces around scalar initializer [enabled by default]
  {CMD_SEQREAD, "SEQREAD", "Sequential read"},
  ^
tools/aisimage.c:30:2: warning: (near initialization for ‘aisimage_cmds[7]’) [enabled by default]
tools/aisimage.c:30:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:30:2: warning: (near initialization for ‘aisimage_cmds[7]’) [enabled by default]
tools/aisimage.c:30:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:30:2: warning: (near initialization for ‘aisimage_cmds[7]’) [enabled by default]
tools/aisimage.c:31:2: warning: braces around scalar initializer [enabled by default]
  {CMD_PLL0, "PLL0", "PLL0"},
  ^
tools/aisimage.c:31:2: warning: (near initialization for ‘aisimage_cmds[8]’) [enabled by default]
tools/aisimage.c:31:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:31:2: warning: (near initialization for ‘aisimage_cmds[8]’) [enabled by default]
tools/aisimage.c:31:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:31:2: warning: (near initialization for ‘aisimage_cmds[8]’) [enabled by default]
tools/aisimage.c:32:2: warning: braces around scalar initializer [enabled by default]
  {CMD_PLL1, "PLL1", "PLL1"},
  ^
tools/aisimage.c:32:2: warning: (near initialization for ‘aisimage_cmds[9]’) [enabled by default]
tools/aisimage.c:32:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:32:2: warning: (near initialization for ‘aisimage_cmds[9]’) [enabled by default]
tools/aisimage.c:32:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:32:2: warning: (near initialization for ‘aisimage_cmds[9]’) [enabled by default]
tools/aisimage.c:33:2: warning: braces around scalar initializer [enabled by default]
  {CMD_CLK, "CLK", "Clock configuration"},
  ^
tools/aisimage.c:33:2: warning: (near initialization for ‘aisimage_cmds[10]’) [enabled by default]
tools/aisimage.c:33:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:33:2: warning: (near initialization for ‘aisimage_cmds[10]’) [enabled by default]
tools/aisimage.c:33:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:33:2: warning: (near initialization for ‘aisimage_cmds[10]’) [enabled by default]
tools/aisimage.c:34:2: warning: braces around scalar initializer [enabled by default]
  {CMD_DDR2, "DDR2", "DDR2 Configuration"},
  ^
tools/aisimage.c:34:2: warning: (near initialization for ‘aisimage_cmds[11]’) [enabled by default]
tools/aisimage.c:34:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:34:2: warning: (near initialization for ‘aisimage_cmds[11]’) [enabled by default]
tools/aisimage.c:34:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:34:2: warning: (near initialization for ‘aisimage_cmds[11]’) [enabled by default]
tools/aisimage.c:35:2: warning: braces around scalar initializer [enabled by default]
  {CMD_EMIFA, "EMIFA", "EMIFA"},
  ^
tools/aisimage.c:35:2: warning: (near initialization for ‘aisimage_cmds[12]’) [enabled by default]
tools/aisimage.c:35:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:35:2: warning: (near initialization for ‘aisimage_cmds[12]’) [enabled by default]
tools/aisimage.c:35:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:35:2: warning: (near initialization for ‘aisimage_cmds[12]’) [enabled by default]
tools/aisimage.c:36:2: warning: braces around scalar initializer [enabled by default]
  {CMD_EMIFA_ASYNC, "EMIFA_ASYNC", "EMIFA Async"},
  ^
tools/aisimage.c:36:2: warning: (near initialization for ‘aisimage_cmds[13]’) [enabled by default]
tools/aisimage.c:36:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:36:2: warning: (near initialization for ‘aisimage_cmds[13]’) [enabled by default]
tools/aisimage.c:36:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:36:2: warning: (near initialization for ‘aisimage_cmds[13]’) [enabled by default]
tools/aisimage.c:37:2: warning: braces around scalar initializer [enabled by default]
  {CMD_PLL, "PLL", "PLL & Clock configuration"},
  ^
tools/aisimage.c:37:2: warning: (near initialization for ‘aisimage_cmds[14]’) [enabled by default]
tools/aisimage.c:37:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:37:2: warning: (near initialization for ‘aisimage_cmds[14]’) [enabled by default]
tools/aisimage.c:37:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:37:2: warning: (near initialization for ‘aisimage_cmds[14]’) [enabled by default]
tools/aisimage.c:38:2: warning: braces around scalar initializer [enabled by default]
  {CMD_PSC, "PSC", "PSC setup"},
  ^
tools/aisimage.c:38:2: warning: (near initialization for ‘aisimage_cmds[15]’) [enabled by default]
tools/aisimage.c:38:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:38:2: warning: (near initialization for ‘aisimage_cmds[15]’) [enabled by default]
tools/aisimage.c:38:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:38:2: warning: (near initialization for ‘aisimage_cmds[15]’) [enabled by default]
tools/aisimage.c:39:2: warning: braces around scalar initializer [enabled by default]
  {CMD_PINMUX, "PINMUX", "Pinmux setup"},
  ^
tools/aisimage.c:39:2: warning: (near initialization for ‘aisimage_cmds[16]’) [enabled by default]
tools/aisimage.c:39:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:39:2: warning: (near initialization for ‘aisimage_cmds[16]’) [enabled by default]
tools/aisimage.c:39:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:39:2: warning: (near initialization for ‘aisimage_cmds[16]’) [enabled by default]
tools/aisimage.c:40:2: warning: braces around scalar initializer [enabled by default]
  {CMD_BOOTTABLE, "BOOT_TABLE", "Boot table command"},
  ^
tools/aisimage.c:40:2: warning: (near initialization for ‘aisimage_cmds[17]’) [enabled by default]
tools/aisimage.c:40:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:40:2: warning: (near initialization for ‘aisimage_cmds[17]’) [enabled by default]
tools/aisimage.c:40:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:40:2: warning: (near initialization for ‘aisimage_cmds[17]’) [enabled by default]
tools/aisimage.c:41:2: warning: braces around scalar initializer [enabled by default]
  {-1, "", ""},
  ^
tools/aisimage.c:41:2: warning: (near initialization for ‘aisimage_cmds[18]’) [enabled by default]
tools/aisimage.c:41:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:41:2: warning: (near initialization for ‘aisimage_cmds[18]’) [enabled by default]
tools/aisimage.c:41:2: warning: excess elements in scalar initializer [enabled by default]
tools/aisimage.c:41:2: warning: (near initialization for ‘aisimage_cmds[18]’) [enabled by default]
tools/aisimage.c: In function ‘aisimage_print_header’:
tools/aisimage.c:151:4: warning: implicit declaration of function ‘get_table_entry_name’ [-Wimplicit-function-declaration]
    get_table_entry_name(aisimage_cmds, NULL, id));
    ^
tools/aisimage.c:151:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
tools/aisimage.c: In function ‘aisimage_generate’:
tools/aisimage.c:317:5: warning: implicit declaration of function ‘get_table_entry_id’ [-Wimplicit-function-declaration]
     cmd = get_table_entry_id(aisimage_cmds,
     ^
tools/aisimage.c:335:25: error: request for member ‘sname’ in something not a structure or union
       aisimage_cmds[cmd].sname);
                         ^
tools/aisimage.c: In function ‘aisimage_check_image_types’:
tools/aisimage.c:366:14: error: ‘IH_TYPE_AISIMAGE’ undeclared (first use in this function)
  if (type == IH_TYPE_AISIMAGE)
              ^
tools/aisimage.c:366:14: note: each undeclared identifier is reported only once for each function it appears in
tools/aisimage.c:370:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
scripts/Makefile.host:134: recipe for target 'tools/aisimage.o' failed
make[1]: *** [tools/aisimage.o] Error 1
Makefile:1007: recipe for target 'tools' failed
make: *** [tools] Error 2
[1] 14681 exit 2 make ARCH=arm CROSS_COMPILE=${CC}

What did I wrong following the description from
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-ARMCrossCompiler:GCC

Thank you very much for any help!
Best regards,
mcc

It's triggering on "HOSTCC" call... so my guess would be your missing
something "build-essential" related..

Regards,

Robert Nelson <robertcnelson@gmail.com> [14-10-07 19:40]:

> Hi,
>
> I got problems building u-boot, too:
>
> From the logs:
> abakus:Linux/bb-kernel-3.15.x>ls -l
> total 1143756
> drwxr-xr-x 2 auser users 4096 2014-10-06 19:15 DTC
> drwxr-xr-x 12 auser users 4096 2014-10-06 20:34 bb-kernel
> -rw-r--r-- 1 auser users 1120037232 2014-10-07 05:02 bb-kernel-3.15.x-2014-10-07.tar.7z
> drwxr-xr-x 7 auser users 4096 2014-04-16 20:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
> -rw-r--r-- 1 auser users 51126392 2014-04-24 11:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
>
>
>
> abakus:Linux/bb-kernel-3.15.x>git clone git://git.denx.de/u-boot.git
> Cloning into 'u-boot'...
> remote: Counting objects: 277083, done.
> remote: Compressing objects: 100% (54903/54903), done.
> Receiving objects: 100% (277083/277083), 65.25 MiB | 237.00 KiB/s, done.
> remote: Total 277083 (delta 220844), reused 273006 (delta 217018)
> Resolving deltas: 100% (220844/220844), done.
> Checking connectivity... done.
> abakus:Linux/bb-kernel-3.15.x>ls -l
> total 1143756
> drwxr-xr-x 2 auser users 4096 2014-10-06 19:15 DTC
> drwxr-xr-x 12 auser users 4096 2014-10-06 20:34 bb-kernel
> -rw-r--r-- 1 auser users 1120037232 2014-10-07 05:02 bb-kernel-3.15.x-2014-10-07.tar.7z
> drwxr-xr-x 7 auser users 4096 2014-04-16 20:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
> -rw-r--r-- 1 auser users 51126392 2014-04-24 11:07 gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
> drwxr-xr-x 22 auser users 4096 2014-10-07 19:27 u-boot
>
>
> abakus:Linux/bb-kernel-3.15.x>cd u-boot
> abakus:bb-kernel-3.15.x/u-boot>git checkout v2014.07 -b tmp
> Switched to a new branch 'tmp'
> abakus:bb-kernel-3.15.x/u-boot>wget -c https://raw.githubusercontent.com/eewiki/u-boot-patches/master/v2014.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
> --2014-10-07 19:28:12-- https://raw.githubusercontent.com/eewiki/u-boot-patches/master/v2014.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
> Resolving raw.githubusercontent.com... 185.31.17.133
> Connecting to raw.githubusercontent.com|185.31.17.133|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 10247 (10K) [text/plain]
> Saving to: ‘0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch’
>
> 100%[====================================================================================================>] 10,247 --.-K/s in 0.04s
>
> 2014-10-07 19:28:12 (242 KB/s) - ‘0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch’ saved [10247/10247]
>
> abakus:bb-kernel-3.15.x/u-boot>patch -p1 < 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
> patching file include/configs/am335x_evm.h
> abakus:bb-kernel-3.15.x/u-boot>echo ${CC}
> /home/auser/data/pools/pool05/BeagleboneBlack/Linux/bb-kernel-3.15.x/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-
> abakus:bb-kernel-3.15.x/u-boot>${CC}gcc --version
> arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 4.8.3 20140401 (prerelease)
> Copyright (C) 2013 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> abakus:bb-kernel-3.15.x/u-boot>make ARCH=arm CROSS_COMPILE=${CC} distclean
> abakus:bb-kernel-3.15.x/u-boot>make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_config
> Configuring for am335x_evm - Board: am335x_evm, Options: SERIAL1,CONS_INDEX=1,NAND
> abakus:bb-kernel-3.15.x/u-boot>make ARCH=arm CROSS_COMPILE=${CC}
> GEN include/autoconf.mk.dep
> GEN include/autoconf.mk
> CHK include/config/uboot.release
> UPD include/config/uboot.release
> CHK include/generated/version_autogenerated.h
> UPD include/generated/version_autogenerated.h
> CHK include/generated/timestamp_autogenerated.h
> UPD include/generated/timestamp_autogenerated.h
> HOSTCC scripts/basic/fixdep
> CC lib/asm-offsets.s
> GEN include/generated/generic-asm-offsets.h
> CC arch/arm/lib/asm-offsets.s
> GEN include/generated/asm-offsets.h
> HOSTCC tools/aisimage.o
> 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’
> RGBpixel () /* : red(0), green(0), blue(0), alpha(255) {} */
> ^
> In file included from tools/aisimage.c:10:0:

It's triggering on "HOSTCC" call... so my guess would be your missing
something "build-essential" related..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Robert,

Thanks for your replay.

I am using Gentoo.
Unfortunately "build-essentials" says not that much, what's inside taht
package...

Am I Lost?

Best regards,
mcc