This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCSv6 fatal error : cannot open source file "//" : Invalid argument

Other Parts Discussed in Thread: CC2630

Hello, 

When I change from IAR to CCS about zstack Home Automation proejct,

I could not solve the following compiling error.  

Please help.

**** Build of configuration EndDevice for project ZStackCore ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac/f8w/zmac.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" --cmd_file="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/SampleSwitchStack/../../IAR/Stack/CC2630/../../../../../../config/buildComponents.opt" --cmd_file="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/SampleSwitchStack/../../IAR/Stack/CC2630/buildConfig.opt" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --preinclude="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/tools/CC26xx_Tracer/dbg.h" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/Source/Stack" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/common/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/tools/CC26xx_Tracer" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/hal/target/CC2650TIRTOS" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/hal/target/_common/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/hal/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/icall/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/include/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/high_level" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/low_level/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/low_level/cc26xx/ROM_Support" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/low_level/cc26xx/CM0_Patch" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mt" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/osal/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/aes" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/nv" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/saddr" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/sdata" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/af" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/icall" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/icall/client" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/icall/server" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/nwk" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/sec" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/sys" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/zdo" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac/f8w" --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829" --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829/inc" --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829/driverlib" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/Source" --define=MODULE_CC26XX_7X7 --define=xZDO_API_ADVANCED --define=ZDO_API_BASIC --define=CC26XX --define=FLASH_ROM_BUILD --define=USE_ICALL --define=TC_LINKKEY_JOIN --define=HAL_ASSERT_SPIN --define=xHALNODEBUG --define=xDEBUG --define=xDEBUG_SW_TRACE --define=OAD_KEEP_NV_PAGES --define=NV_RESTORE --define=NV_INIT --define=FEATURE_MAC_SECURITY --define=FEATURE_GREEN_POWER --define=FEATURE_ENHANCED_BEACON --define=HOLD_AUTO_START --define=ewarm --define=NEAR_FUNC= --define=DATA= --define=ccs --define=__TI_COMPILER_VERSION=1 --diag_wrap=off --asm_define=__TI_EABI_ASSEMBLER=1 --preproc_with_compile --preproc_dependency="ZMac/zmac.pp" --obj_directory="ZMac" "C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac/f8w/zmac.c"
[.]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Fatal error: cannot open source file "//": Invalid argument
1 catastrophic error detected in the compilation of "//".
Compilation terminated.

>> Compilation failure
gmake: *** [ZMac/zmac.obj] Error 1
'Building file: C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac/f8w/zmac_cb.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" --cmd_file="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/SampleSwitchStack/../../IAR/Stack/CC2630/../../../../../../config/buildComponents.opt" --cmd_file="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/SampleSwitchStack/../../IAR/Stack/CC2630/buildConfig.opt" -mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --preinclude="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/tools/CC26xx_Tracer/dbg.h" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/Source/Stack" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/common/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/tools/CC26xx_Tracer" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/hal/target/CC2650TIRTOS" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/hal/target/_common/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/hal/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/icall/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/include/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/high_level" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/low_level/cc26xx" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/low_level/cc26xx/ROM_Support" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mac/low_level/cc26xx/CM0_Patch" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/mt" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/osal/include" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/aes" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/nv" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/saddr" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/services/sdata" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/af" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/icall" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/icall/client" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/icall/server" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/nwk" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/sec" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/sys" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/stack/zdo" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac/f8w" --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829" --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829/inc" --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_20_06_14829/driverlib" --include_path="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/Source" --define=MODULE_CC26XX_7X7 --define=xZDO_API_ADVANCED --define=ZDO_API_BASIC --define=CC26XX --define=FLASH_ROM_BUILD --define=USE_ICALL --define=TC_LINKKEY_JOIN --define=HAL_ASSERT_SPIN --define=xHALNODEBUG --define=xDEBUG --define=xDEBUG_SW_TRACE --define=OAD_KEEP_NV_PAGES --define=NV_RESTORE --define=NV_INIT --define=FEATURE_MAC_SECURITY --define=FEATURE_GREEN_POWER --define=FEATURE_ENHANCED_BEACON --define=HOLD_AUTO_START --define=ewarm --define=NEAR_FUNC= --define=DATA= --define=ccs --define=__TI_COMPILER_VERSION=1 --diag_wrap=off --asm_define=__TI_EABI_ASSEMBLER=1 --preproc_with_compile --preproc_dependency="ZMac/zmac_cb.pp" --obj_directory="ZMac" "C:/ti/simplelink/zstack_home_1_02_02a_44539/Components/zmac/f8w/zmac_cb.c"
[.]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Fatal error: cannot open source file "//": Invalid argument
1 catastrophic error detected in the compilation of "//".
Compilation terminated.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Oh, I forgot log file.

I attach text file about build log. 

0753.build log.txt

  • The problem must be something in one of these two compiler option command files ...

    Minju Kang said:
    --cmd_file="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/SampleSwitchStack/../../IAR/Stack/CC2630/../../../../../../config/buildComponents.opt" --cmd_file="C:/ti/simplelink/zstack_home_1_02_02a_44539/Projects/zstack/HomeAutomation/SampleSwitch/CC26xx/CCS/SampleSwitchStack/../../IAR/Stack/

    Please attach those files to your next post.  The forum only allows you to post a few different kinds of files, so you probably need to add the file extension ".txt".

    Thanks and regards,

    -George

  • I attach additional file in the bottom of initial question.

    Thanks you for your advice