msmuenchen / u-boot

u-boot for raspberry pi
2 stars 5 forks source link

debian/rules binary compile failure #2

Closed sbrown4 closed 8 years ago

sbrown4 commented 8 years ago

Pristine clone of https://github.com/msmuenchen/u-boot.git and git checkout origin/debian_rpi -b debian_rpi

Any idea what I'm doing wrong?

Thanks, Steve

make[3]: Entering directory '/home/pi/u-boot-msmuenchen/debian/build/pi2'
  CHK     include/config/uboot.release
  Using /home/pi/u-boot-msmuenchen as source for U-Boot
  GEN     ./Makefile
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mkenvimage.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/aisimage.o
In file included from /usr/include/linux/byteorder/little_endian.h:6:0,
                 from /usr/include/arm-linux-gnueabihf/asm/byteorder.h:21,
                 from /home/pi/u-boot-msmuenchen/include/image.h:20,
                 from /home/pi/u-boot-msmuenchen/tools/aisimage.c:10:
/usr/include/linux/byteorder/generic.h:143:46: error: unknown type name ‘u16’
 static inline void le16_add_cpu(__le16 *var, u16 val)
                                              ^
/usr/include/linux/byteorder/generic.h:148:46: error: unknown type name ‘u32’
 static inline void le32_add_cpu(__le32 *var, u32 val)
                                              ^
/usr/include/linux/byteorder/generic.h:153:46: error: unknown type name ‘u64’
 static inline void le64_add_cpu(__le64 *var, u64 val)
                                              ^
/usr/include/linux/byteorder/generic.h:158:46: error: unknown type name ‘u16’
 static inline void be16_add_cpu(__be16 *var, u16 val)
                                              ^
/usr/include/linux/byteorder/generic.h:163:46: error: unknown type name ‘u32’
 static inline void be32_add_cpu(__be32 *var, u32 val)
                                              ^
/usr/include/linux/byteorder/generic.h:168:46: error: unknown type name ‘u64’
 static inline void be64_add_cpu(__be64 *var, u64 val)
                                              ^
scripts/Makefile.host:108: recipe for target 'tools/aisimage.o' failed
make[4]: *** [tools/aisimage.o] Error 1
/home/pi/u-boot-msmuenchen/Makefile:1211: recipe for target 'tools' failed
make[3]: *** [tools] Error 2
make[3]: Leaving directory '/home/pi/u-boot-msmuenchen/debian/build/pi2'
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory '/home/pi/u-boot-msmuenchen'
debian/rules:50: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/pi/u-boot-msmuenchen'
debian/rules:22: recipe for target 'binary' failed
make: *** [binary] Error 2
sbrown4 commented 8 years ago

Builds without issues on rpi 2 with stock debian.

Problem seems limited to raspbian.