Dear All:
I am trying to generate new components following the instructions described in "OMAPL138 Software Developers Guide". I followed every steps described in the document. Everything went smoothly. However, while I tried to rebuild all components and demos/examples using 'make all' described on Page 27, I got the following error messages:
make[3]: Entering directory `/home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/tools/uflash'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I /home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/include -DUSE_HOSTCC -o uflash /home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/tools/uflash/uflash.c /home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/lib/crc32.c /home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/lib/errno.c
In file included from /home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/lib/crc32.c:14:
/home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/compiler.h:55: error: redefinition of typedef ‘uint’
/home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/arm-arago-linux-gnueabi/usr/include/sys/types.h:153: note: previous declaration of ‘uint’ was here
make[3]: *** [uflash] Error 1
make[3]: Leaving directory `/home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/tools/uflash'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/mstsai/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk'
make: *** [u-boot] Error 2
[linux-devkit]:~/ti-dvsdk_omapl138-evm_04_03_00_06>
I have re-installed the DVSDK, but still got the same errors.
Any suggestion to resolve the problem?
Thanks.
Men-Shen Tsai