大家好,我再做Bluetooth 4.2 Tutorial on how to use TI Drivers with the BLE Stack的POSIX 任務時碰到錯誤,如下請問我是哪裡做錯了導致有下面這些問題?
error: symbol "CC2640R2_LAUNCHXL_initGeneral" has already been defined
error: symbol "CC2640R2_LAUNCHXL_sendExtFlashByte" has already been defined
error: symbol "CC2640R2_LAUNCHXL_wakeUpExtFlash" has already been defined
error: symbol "CC2640R2_LAUNCHXL_shutDownExtFlash" has already been defined
error: symbol "Board_initHook" has already been defined
error: symbol "adcBufCC26xxObjects" has already been defined
error: symbol "ADCBufCC26XX_adcChannelLut" has already been defined
error: symbol "adcBufCC26xxHWAttrs" has already been defined
error: symbol "ADCBuf_config" has already been defined
error: symbol "ADCBuf_count" has already been defined
error: symbol "adcCC26xxObjects" has already been defined
error: symbol "adcCC26xxHWAttrs" has already been defined
error: symbol "ADC_config" has already been defined
error: symbol "ADC_count" has already been defined
error: symbol "cryptoCC26XXObjects" has already been defined
error: symbol "cryptoCC26XXHWAttrs" has already been defined
error: symbol "CryptoCC26XX_config" has already been defined
error: symbol "displayUartObject" has already been defined
error: symbol "displaySharpObject" has already been defined
error: symbol "displayUartHWAttrs" has already been defined
error: symbol "displaySharpHWattrs" has already been defined
error: symbol "Display_config" has already been defined
error: symbol "Display_count" has already been defined
error: symbol "gpioPinConfigs" has already been defined
error: symbol "gpioCallbackFunctions" has already been defined
error: symbol "GPIOCC26XX_config" has already been defined
error: symbol "gptimerCC26XXObjects" has already been defined
error: symbol "gptimerCC26xxHWAttrs" has already been defined
error: symbol "GPTimerCC26XX_config" has already been defined
error: symbol "i2cCC26xxObjects" has already been defined
error: symbol "i2cCC26xxHWAttrs" has already been defined
error: symbol "I2C_config" has already been defined
error: symbol "I2C_count" has already been defined
error: symbol "nvsCC26xxObjects" has already been defined
error: symbol "nvsCC26xxHWAttrs" has already been defined
error: symbol "nvsSPI25XObjects" has already been defined
error: symbol "nvsSPI25XHWAttrs" has already been defined
error: symbol "NVS_config" has already been defined
error: symbol "NVS_count" has already been defined
error: symbol "BoardGpioInitTable" has already been defined
error: symbol "PINCC26XX_hwAttrs" has already been defined
error: symbol "PowerCC26XX_config" has already been defined
error: symbol "pwmtimerCC26xxObjects" has already been defined
error: symbol "pwmtimerCC26xxHWAttrs" has already been defined
error: symbol "PWM_config" has already been defined
error: symbol "PWM_count" has already been defined
error: symbol "RFCC26XX_hwAttrs" has already been defined
error: symbol "sdspiObjects" has already been defined
error: symbol "sdspiHWAttrs" has already been defined
error: symbol "SD_config" has already been defined
error: symbol "SD_count" has already been defined
error: symbol "***" has already been defined
error: symbol "***" has already been defined
error: symbol "SPI_config" has already been defined
error: symbol "SPI_count" has already been defined
error: symbol "uartCC26XXObjects" has already been defined
error: symbol "uartCC26XXRingBuffer" has already been defined
error: symbol "uartCC26XXHWAttrs" has already been defined
error: symbol "UART_config" has already been defined
error: symbol "UART_count" has already been defined
error: symbol "udmaObjects" has already been defined
error: symbol "udmaHWAttrs" has already been defined
error: symbol "UDMACC26XX_config" has already been defined
error: symbol "watchdogCC26XXObjects" has already been defined
error: symbol "watchdogCC26XXHWAttrs" has already been defined
error: symbol "Watchdog_config" has already been defined
error: symbol "Watchdog_count" has already been defined
error: symbol "trngCC26XXObjects" has already been defined
error: symbol "TRNGCC26XXHWAttrs" has already been defined
error: symbol "TRNGCC26XX_config" has already been defined
>> Compilation failure
>> Compilation failure
>> Compilation failure
makefile:190: recipe for target 'simple_peripheral_cc2640r2lp_app.out' failed
fatal error #10192: Failed linktime optimization
gmake[1]: *** [simple_peripheral_cc2640r2lp_app.out] Error 1
makefile:183: recipe for target 'all' failed
gmake: *** [all] Error 2
Viki Shi:
全是重复定义报错,怀疑是文件导入问题
user5774440:
回复 Viki Shi:
Viki Shi,你好
請問我該如何尋找錯誤?