[U-Boot] u-boot does not build when lensfun is installed on host system

Alexander Stein alexander.stein at systec-electronic.com
Mon Mar 31 17:58:58 CEST 2014


Hello,

u-boot is not compilable when lensfun is isntalled on the host system. The package manager descrption says "lensfun: A library for rectifying and simulating photographic lens distortions".
It seems that this caused by using -idirafter instead of -I.
Any idea how to fix that?

Best regards,
Alexander

Here are my step:
{/tmp} % git clone git://git.denx.de/u-boot.git
Cloning into 'u-boot'...
remote: Counting objects: 252184, done.
remote: Compressing objects: 100% (48664/48664), done.
remote: Total 252184 (delta 202282), reused 248994 (delta 199296)
Receiving objects: 100% (252184/252184), 60.77 MiB | 665.00 KiB/s, done.
Resolving deltas: 100% (202282/202282), done.
Checking connectivity... done
git clone git://git.denx.de/u-boot.git  10.14s user 2.07s system 10% cpu 1:53.47 total
{/tmp} % cd u-boot
{master u-boot} % git describe
v2014.04-rc2-96-gb4722fe
{master u-boot} % CROSS_COMPILE=/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi- make at91sam9263ek_norflash_config
Configuring for at91sam9263ek_norflash - Board: at91sam9263ek, Options: AT91SAM9263,SYS_USE_NORFLASH
{master u-boot} % CROSS_COMPILE=/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi- make
  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/bmp_logo
  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'
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'
tools/aisimage.c:23:2: warning: braces around 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: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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
tools/aisimage.c:335:25: error: request for member 'sname' in something not a structure or union
tools/aisimage.c: In function 'aisimage_check_image_types':
tools/aisimage.c:366:14: error: 'IH_TYPE_AISIMAGE' undeclared (first use in this function)
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]
make[1]: *** [tools/aisimage.o] Error 1
make: *** [tools] Error 2

-- 
Dipl.-Inf. Alexander Stein

SYS TEC electronic GmbH
Am Windrad 2
08468 Heinsdorfergrund
Tel.: 03765 38600-1156
Fax: 03765 38600-4100
Email: alexander.stein at systec-electronic.com
Website: www.systec-electronic.com
 
Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Chemnitz, HRB 28082



More information about the U-Boot mailing list