About the Ubuntu compile error [-Werror=pedantic]

Hi,
I bought a VIM pro board, and I am trying to build a UBUNTU MATE img file as provided by http://www.mediafire.com/file/b6mgy8wjrkmot46/Vim_Ubuntu-mate-16.04_V170220.7z

I got an error as following:
/home/hhc/project/khadas/ubuntu/u-boot/build/include/asm/arch/ddr_define.h:120:24: error: initializer element is not a constant expression [-Werror=pedantic]
#define DDR_FUNC (DDR_FUNC_D2PLL | \

what’s wrong with it?

gcc-linaro-aarch64-none-elf-4.8-2013.11_linux replace CROSS_COMPILE