Hi Ming.
I saw the same error on DS-5.
It seems that the way to declare clock_root_control_t is not good.
So, I entered an immediate value as shown below, the error disappeared.
typedef enum _clock_root_control
{
#ifdef __CC_ARM
kCLOCK_RootM4 = (0x30380000u + 0x8000u + (0x80u * 1u)), /*!< ARM Cortex-M4 Clock control name.*/
kCLOCK_RootAxi = (0x30380000u + 0x8000u + (0x80u * 16u)), /*!< AXI Clock control name.*/
kCLOCK_RootNoc = (0x30380000u + 0x8000u + (0x80u * 26u)), /*!< NOC Clock control name.*/
kCLOCK_RootAhb = (0x30380000u + 0x8000u + (0x80u * 32u)), /*!< AHB Clock control name.*/
kCLOCK_RootIpg = (0x30380000u + 0x8000u + (0x80u * 33u)), /*!< IPG Clock control name.*/
kCLOCK_RootAudioAhb = (0x30380000u + 0x8000u + (0x80u * 34u)), /*!< Audio AHB Clock control name.*/
kCLOCK_RootAudioIpg = (0x30380000u + 0x8000u + (0x80u * 35u)), /*!< Audio IPG Clock control name.*/
kCLOCK_RootDramAlt = (0x30380000u + 0x8000u + (0x80u * 64u)), /*!< DRAM ALT Clock control name.*/
kCLOCK_RootSai1 = (0x30380000u + 0x8000u + (0x80u * 75u)), /*!< SAI1 Clock control name.*/
kCLOCK_RootSai2 = (0x30380000u + 0x8000u + (0x80u * 76u)), /*!< SAI2 Clock control name.*/
kCLOCK_RootSai3 = (0x30380000u + 0x8000u + (0x80u * 77u)), /*!< SAI3 Clock control name.*/
kCLOCK_RootSai4 = (0x30380000u + 0x8000u + (0x80u * 78u)), /*!< SAI4 Clock control name.*/
kCLOCK_RootSai5 = (0x30380000u + 0x8000u + (0x80u * 79u)), /*!< SAI5 Clock control name.*/
kCLOCK_RootSai6 = (0x30380000u + 0x8000u + (0x80u * 80u)), /*!< SAI6 Clock control name.*/
kCLOCK_RootQspi = (0x30380000u + 0x8000u + (0x80u * 87u)), /*!< QSPI Clock control name.*/
kCLOCK_RootI2c1 = (0x30380000u + 0x8000u + (0x80u * 90u)), /*!< I2C1 Clock control name.*/
kCLOCK_RootI2c2 = (0x30380000u + 0x8000u + (0x80u * 91u)), /*!< I2C2 Clock control name.*/
kCLOCK_RootI2c3 = (0x30380000u + 0x8000u + (0x80u * 92u)), /*!< I2C3 Clock control name.*/
kCLOCK_RootI2c4 = (0x30380000u + 0x8000u + (0x80u * 93u)), /*!< I2C4 Clock control name.*/
kCLOCK_RootUart1 = (0x30380000u + 0x8000u + (0x80u * 94u)), /*!< UART1 Clock control name.*/
kCLOCK_RootUart2 = (0x30380000u + 0x8000u + (0x80u * 95u)), /*!< UART2 Clock control name.*/
kCLOCK_RootUart3 = (0x30380000u + 0x8000u + (0x80u * 96u)), /*!< UART3 Clock control name.*/
kCLOCK_RootUart4 = (0x30380000u + 0x8000u + (0x80u * 97u)), /*!< UART4 Clock control name.*/
kCLOCK_RootEcspi1 = (0x30380000u + 0x8000u + (0x80u * 101u)), /*!< ECSPI1 Clock control name.*/
kCLOCK_RootEcspi2 = (0x30380000u + 0x8000u + (0x80u * 102u)), /*!< ECSPI2 Clock control name.*/
kCLOCK_RootEcspi3 = (0x30380000u + 0x8000u + (0x80u * 131u)), /*!< ECSPI3 Clock control name.*/
kCLOCK_RootPwm1 = (0x30380000u + 0x8000u + (0x80u * 103u)), /*!< PWM1 Clock control name.*/
kCLOCK_RootPwm2 = (0x30380000u + 0x8000u + (0x80u * 104u)), /*!< PWM2 Clock control name.*/
kCLOCK_RootPwm3 = (0x30380000u + 0x8000u + (0x80u * 105u)), /*!< PWM3 Clock control name.*/
kCLOCK_RootPwm4 = (0x30380000u + 0x8000u + (0x80u * 106u)), /*!< PWM4 Clock control name.*/
kCLOCK_RootGpt1 = (0x30380000u + 0x8000u + (0x80u * 107u)), /*!< GPT1 Clock control name.*/
kCLOCK_RootGpt2 = (0x30380000u + 0x8000u + (0x80u * 108u)), /*!< GPT2 Clock control name.*/
kCLOCK_RootGpt3 = (0x30380000u + 0x8000u + (0x80u * 109u)), /*!< GPT3 Clock control name.*/
kCLOCK_RootGpt4 = (0x30380000u + 0x8000u + (0x80u * 110u)), /*!< GPT4 Clock control name.*/
kCLOCK_RootGpt5 = (0x30380000u + 0x8000u + (0x80u * 111u)), /*!< GPT5 Clock control name.*/
kCLOCK_RootGpt6 = (0x30380000u + 0x8000u + (0x80u * 112u)), /*!< GPT6 Clock control name.*/
kCLOCK_RootWdog = (0x30380000u + 0x8000u + (0x80u * 114u)), /*!< WDOG Clock control name.*/
kCLOCK_RootPdm = (0x30380000u + 0x8000u + (0x80u * 132u)), /*!< PDM Clock control name.*/
#else
kCLOCK_RootM4 = (uint32_t)(&(CCM)->ROOT[1].TARGET_ROOT), /*!< ARM Cortex-M4 Clock control name.*/
kCLOCK_RootAxi = (uint32_t)(&(CCM)->ROOT[16].TARGET_ROOT), /*!< AXI Clock control name.*/
kCLOCK_RootNoc = (uint32_t)(&(CCM)->ROOT[26].TARGET_ROOT), /*!< NOC Clock control name.*/
kCLOCK_RootAhb = (uint32_t)(&(CCM)->ROOT[32].TARGET_ROOT), /*!< AHB Clock control name.*/
kCLOCK_RootIpg = (uint32_t)(&(CCM)->ROOT[33].TARGET_ROOT), /*!< IPG Clock control name.*/
kCLOCK_RootAudioAhb = (uint32_t)(&(CCM)->ROOT[34].TARGET_ROOT), /*!< Audio AHB Clock control name.*/
kCLOCK_RootAudioIpg = (uint32_t)(&(CCM)->ROOT[35].TARGET_ROOT), /*!< Audio IPG Clock control name.*/
kCLOCK_RootDramAlt = (uint32_t)(&(CCM)->ROOT[64].TARGET_ROOT), /*!< DRAM ALT Clock control name.*/
kCLOCK_RootSai1 = (uint32_t)(&(CCM)->ROOT[75].TARGET_ROOT), /*!< SAI1 Clock control name.*/
kCLOCK_RootSai2 = (uint32_t)(&(CCM)->ROOT[76].TARGET_ROOT), /*!< SAI2 Clock control name.*/
kCLOCK_RootSai3 = (uint32_t)(&(CCM)->ROOT[77].TARGET_ROOT), /*!< SAI3 Clock control name.*/
kCLOCK_RootSai4 = (uint32_t)(&(CCM)->ROOT[78].TARGET_ROOT), /*!< SAI4 Clock control name.*/
kCLOCK_RootSai5 = (uint32_t)(&(CCM)->ROOT[79].TARGET_ROOT), /*!< SAI5 Clock control name.*/
kCLOCK_RootSai6 = (uint32_t)(&(CCM)->ROOT[80].TARGET_ROOT), /*!< SAI6 Clock control name.*/
kCLOCK_RootQspi = (uint32_t)(&(CCM)->ROOT[87].TARGET_ROOT), /*!< QSPI Clock control name.*/
kCLOCK_RootI2c1 = (uint32_t)(&(CCM)->ROOT[90].TARGET_ROOT), /*!< I2C1 Clock control name.*/
kCLOCK_RootI2c2 = (uint32_t)(&(CCM)->ROOT[91].TARGET_ROOT), /*!< I2C2 Clock control name.*/
kCLOCK_RootI2c3 = (uint32_t)(&(CCM)->ROOT[92].TARGET_ROOT), /*!< I2C3 Clock control name.*/
kCLOCK_RootI2c4 = (uint32_t)(&(CCM)->ROOT[93].TARGET_ROOT), /*!< I2C4 Clock control name.*/
kCLOCK_RootUart1 = (uint32_t)(&(CCM)->ROOT[94].TARGET_ROOT), /*!< UART1 Clock control name.*/
kCLOCK_RootUart2 = (uint32_t)(&(CCM)->ROOT[95].TARGET_ROOT), /*!< UART2 Clock control name.*/
kCLOCK_RootUart3 = (uint32_t)(&(CCM)->ROOT[96].TARGET_ROOT), /*!< UART3 Clock control name.*/
kCLOCK_RootUart4 = (uint32_t)(&(CCM)->ROOT[97].TARGET_ROOT), /*!< UART4 Clock control name.*/
kCLOCK_RootEcspi1 = (uint32_t)(&(CCM)->ROOT[101].TARGET_ROOT), /*!< ECSPI1 Clock control name.*/
kCLOCK_RootEcspi2 = (uint32_t)(&(CCM)->ROOT[102].TARGET_ROOT), /*!< ECSPI2 Clock control name.*/
kCLOCK_RootEcspi3 = (uint32_t)(&(CCM)->ROOT[131].TARGET_ROOT), /*!< ECSPI3 Clock control name.*/
kCLOCK_RootPwm1 = (uint32_t)(&(CCM)->ROOT[103].TARGET_ROOT), /*!< PWM1 Clock control name.*/
kCLOCK_RootPwm2 = (uint32_t)(&(CCM)->ROOT[104].TARGET_ROOT), /*!< PWM2 Clock control name.*/
kCLOCK_RootPwm3 = (uint32_t)(&(CCM)->ROOT[105].TARGET_ROOT), /*!< PWM3 Clock control name.*/
kCLOCK_RootPwm4 = (uint32_t)(&(CCM)->ROOT[106].TARGET_ROOT), /*!< PWM4 Clock control name.*/
kCLOCK_RootGpt1 = (uint32_t)(&(CCM)->ROOT[107].TARGET_ROOT), /*!< GPT1 Clock control name.*/
kCLOCK_RootGpt2 = (uint32_t)(&(CCM)->ROOT[108].TARGET_ROOT), /*!< GPT2 Clock control name.*/
kCLOCK_RootGpt3 = (uint32_t)(&(CCM)->ROOT[109].TARGET_ROOT), /*!< GPT3 Clock control name.*/
kCLOCK_RootGpt4 = (uint32_t)(&(CCM)->ROOT[110].TARGET_ROOT), /*!< GPT4 Clock control name.*/
kCLOCK_RootGpt5 = (uint32_t)(&(CCM)->ROOT[111].TARGET_ROOT), /*!< GPT5 Clock control name.*/
kCLOCK_RootGpt6 = (uint32_t)(&(CCM)->ROOT[112].TARGET_ROOT), /*!< GPT6 Clock control name.*/
kCLOCK_RootWdog = (uint32_t)(&(CCM)->ROOT[114].TARGET_ROOT), /*!< WDOG Clock control name.*/
kCLOCK_RootPdm = (uint32_t)(&(CCM)->ROOT[132].TARGET_ROOT), /*!< PDM Clock control name.*/
#endif
} clock_root_control_t;