Tool/software: Linux
HI EveryOne
I have a problem when i build the VISION_SDK_02_09_00_00(ubuntu 14.04 64bit)
when i excute "make sgx":
make -C ./linux/build -f build_sgx.mk sgx
make[1]: 正在进入目录 `/home/lly/VISION_SDK_02_09_00_00/vision_sdk/linux/build'
make -fbuild_sgx.mk sgx_build SGX_TARGET=sgx_build
make[2]: 正在进入目录 `/home/lly/VISION_SDK_02_09_00_00/vision_sdk/linux/build'
make -C /home/lly/VISION_SDK_02_09_00_00/vision_sdk/../ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/build/linux2/omap5430_linux ARCH=arm CROSS_COMPILE=/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf- KERNELDIR=/home/lly/VISION_SDK_02_09_00_00/vision_sdk/../ti_components/os_tools/linux/kernel/omap DISCIMAGE=/home/lly/VISION_SDK_02_09_00_00/vision_sdk/linux/targetfs
make[3]: 正在进入目录 `/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/build/linux2/omap5430_linux'
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
/bin/sh: 1: dos2unix: not found
LD /home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/built-in.o
CC [M] /home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
CC [M] /home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o
CC [M] /home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o
CC [M] /home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o
/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:264:2: error: missing initializer [-Werror=missing-field-initializers]
/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:264:2: error: (near initialization for ‘powervr_id_table[1].name’) [-Werror=missing-field-initializers]
/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:272:9: error: missing initializer [-Werror=missing-field-initializers]
/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/module.c:272:9: error: (near initialization for ‘omap_gpu_id_table[1].name’) [-Werror=missing-field-initializers]
cc1: all warnings being treated as errors
make[6]: *** [/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o] 错误 1
make[5]: *** [_module_/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild] 错误 2
make[4]: *** [kbuild] 错误 2
make[3]: *** [build] 错误 2
make[3]:正在离开目录 `/home/lly/VISION_SDK_02_09_00_00/ti_components/os_tools/linux/sgx/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/build/linux2/omap5430_linux'
make[2]: *** [sgx_build] 错误 2
make[2]:正在离开目录 `/home/lly/VISION_SDK_02_09_00_00/vision_sdk/linux/build'
make[1]: *** [sgx] 错误 2
make[1]:正在离开目录 `/home/lly/VISION_SDK_02_09_00_00/vision_sdk/linux/build'
make: *** [sgx] 错误 2
i find the c profile,the errors looks like happening in here(i made notes ):
#if defined(PVR_USE_PRE_REGISTERED_PLATFORM_DEV)
static struct platform_device_id powervr_id_table[] = {
{SYS_SGX_DEV_NAME, 0},
{} //this is the first eeror
};
#endif
#if defined(SUPPORT_DRI_DRM_EXTERNAL) || !defined(SUPPORT_DRI_DRM)
#ifdef CONFIG_OF
static const struct of_device_id omap_gpu_id_table[] = {
{ .compatible = "ti,omap4-gpu" },
{} //this is second
};
MODULE_DEVICE_TABLE(of, omap_gpu_id_table);
#endif
any ideals ,thanks!