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.

RTOS/TMS320DM642: How can I migrate an old CCS3.3 project about network on TMS320DM642 to CCS5.5

Part Number: TMS320DM642

Tool/software: TI-RTOS

Hi:

       I migrated an old CCS3.3 project about network on TMS320DM642 to CCS5.5,  When I finished the work and completed project without errors, but had some warning.

      And I ignored them, then debug on DM642 , The program can run a litter time, and it will appear a error.

What file am I missing, or what do I need to rebuild ?

Thanks in advance for any suggestions

  • maleon,
    is there an error other than the file that the debugger cannot be found? The text in red doesn't impact the execution of the program. It only says that the debugger cannot display the source code for src/fxn/fxn.s62. You can click on Locate File and point the debugger to the directory where that file is.
  • Sasha,
    According to the text in rad there are so much file that I miss, and I suspect somewhere wrong when I rebuild my project.
    Migrating an old CCS3.3 project about network to CCS5.5 is related to NDK and bios , but I don't know well about them, I try my best to install setupwin32_ndk-2_0_0.exe but failed .Bios version is bios_5_42_01_09. I have no idea about how to do it next step ,Can you tell me something about migrating an old CCS3.3 project to CCS5.5 that I should notice.
  • Can you post the complete content of your build console when building the project? What happened when you tried to install NDK? What's the error?
  • Sasha,

    Here is my project console, the project on CCS3.3 worked correctly, I guess the bios or NDK lib is incomplete. So I install NDK and want to make a thorough rebuild of the project.

    When I run setupwin32_ndk-2_0_0.exe, and choose destination location on C:\ti\ndk_2_0_0\packages where CCS5.5 destination location, then I restart CCS5.5 ,but the software isn't discover NDK I installed.

  • So, what happens when you go to Window->Preferences->Code Composer Studio->RTSC, and then you click on Add... in Products and Repositories? Is there an error message?
    As for the console output, there is a view with the title "Console". When you clean and rebuild the project, you can see the commands being executed. That's the output I wanted to see.
  • Sasha ,


    **** Build of configuration Debug for project P150 ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    'Building file: ../httpserver.tcf'
    'Invoking: TConf'
    "C:/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="C:/ti/bios_5_42_01_09/packages;" "../httpserver.tcf"
    'Finished building: ../httpserver.tcf'
    ' '
    'Building file: ../dm642init.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="dm642init.pp" "../dm642init.c"
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/stdlib.h", line 66: warning #48-D: incompatible redefinition of macro "_LLONG_AVAILABLE" (declared at line 17 of "..\.\inc\stacksys.h")
    "../dm642init.c", line 62: warning #225-D: function declared implicitly
    "../dm642init.c", line 153: warning #1-D: last line of file ends without a newline
    'Finished building: ../dm642init.c'
    ' '
    'Building file: httpservercfg.s??'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="httpservercfg.pp" "httpservercfg.s??"
    'Finished building: httpservercfg.s??'
    ' '
    'Building file: httpservercfg_c.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="httpservercfg_c.pp" "httpservercfg_c.c"
    'Finished building: httpservercfg_c.c'
    ' '
    'Building file: ../main.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/stdlib.h", line 66: warning #48-D: incompatible redefinition of macro "_LLONG_AVAILABLE" (declared at line 17 of "..\.\inc\stacksys.h")
    "../main.c", line 150: warning #179-D: variable "num0" was declared but never referenced
    "../main.c", line 150: warning #179-D: variable "i" was declared but never referenced
    "../main.c", line 150: warning #179-D: variable "d" was declared but never referenced
    "../main.c", line 151: warning #179-D: variable "TX_Sum" was declared but never referenced
    "../main.c", line 367: warning #112-D: statement is unreachable
    "../main.c", line 416: warning #112-D: statement is unreachable
    "../main.c", line 393: warning #552-D: variable "status1" was set but never used
    "../main.c", line 395: warning #179-D: variable "send_sum" was declared but never referenced
    "../main.c", line 395: warning #179-D: variable "ret_sum" was declared but never referenced
    "../main.c", line 397: warning #552-D: variable "retn" was set but never used
    "../main.c", line 531: warning #552-D: variable "retn" was set but never used
    "../main.c", line 635: warning #225-D: function declared implicitly
    "../main.c", line 588: warning #179-D: variable "state" was declared but never referenced
    "../main.c", line 589: warning #179-D: variable "writepos" was declared but never referenced
    "../main.c", line 597: warning #552-D: variable "retn" was set but never used
    "../main.c", line 742: warning #179-D: variable "send_sum" was declared but never referenced
    "../main.c", line 742: warning #179-D: variable "ret_sum" was declared but never referenced
    "../main.c", line 744: warning #552-D: variable "retn" was set but never used
    "../main.c", line 819: warning #552-D: variable "retn" was set but never used
    "../main.c", line 839: warning #225-D: function declared implicitly
    "../main.c", line 892: warning #225-D: function declared implicitly
    "../main.c", line 944: warning #112-D: statement is unreachable
    "../main.c", line 876: warning #179-D: variable "ret_sum" was declared but never referenced
    "../main.c", line 981: warning #551-D: variable "int_part" is used before its value is set
    "../main.c", line 951: warning #552-D: variable "temp_target" was set but never used
    "../main.c", line 1000: warning #552-D: variable "retn" was set but never used
    "../main.c", line 1003: warning #552-D: variable "send_sum" was set but never used
    "../main.c", line 1139: warning #225-D: function declared implicitly
    "../main.c", line 1140: warning #225-D: function declared implicitly
    "../main.c", line 1141: warning #225-D: function declared implicitly
    "../main.c", line 1142: warning #225-D: function declared implicitly
    "../main.c", line 238: warning #179-D: function "RpcReplyPacketInit" was declared but never referenced
    "../main.c", line 250: warning #179-D: function "bindresvport" was declared but never referenced
    'Finished building: ../main.c'
    ' '
    'Building file: ../rs422.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="rs422.pp" "../rs422.c"
    "../rs422.c", line 68: warning #552-D: variable "rs422_dat0" was set but never used
    "../rs422.c", line 68: warning #552-D: variable "rs422_dat1" was set but never used
    "../rs422.c", line 69: warning #552-D: variable "num0" was set but never used
    'Finished building: ../rs422.c'
    ' '
    'Building file: ../saveconfig.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="saveconfig.pp" "../saveconfig.c"
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/stdlib.h", line 66: warning #48-D: incompatible redefinition of macro "_LLONG_AVAILABLE" (declared at line 17 of "..\.\inc\stacksys.h")
    "../saveconfig.c", line 28: warning #179-D: variable "i" was declared but never referenced
    'Finished building: ../saveconfig.c'
    ' '
    'Building file: ../server.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="server.pp" "../server.c"
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/stdlib.h", line 66: warning #48-D: incompatible redefinition of macro "_LLONG_AVAILABLE" (declared at line 17 of "..\.\inc\stacksys.h")
    "../server.c", line 18: warning #552-D: variable "retn" was set but never used
    "../server.c", line 25: warning #179-D: variable "outlen" was declared but never referenced
    "../server.c", line 26: warning #179-D: variable "inlen" was declared but never referenced
    "../server.c", line 101: warning #179-D: label "LEAVE" was declared but never referenced
    'Finished building: ../server.c'
    ' '
    'Building file: ../src/os/efs.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/os/efs.pp" --obj_directory="src/os" "../src/os/efs.c"
    "../src/os/efs.c", line 213: warning #1311-D: nonstandard conversion between pointer to function and pointer to data
    'Finished building: ../src/os/efs.c'
    ' '
    'Building file: ../src/os/mem.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/os/mem.pp" --obj_directory="src/os" "../src/os/mem.c"
    "../src/os/mem.c", line 563: warning #225-D: function declared implicitly
    'Finished building: ../src/os/mem.c'
    ' '
    'Building file: ../src/os/oscrit.s62'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/os/oscrit.pp" --obj_directory="src/os" "../src/os/oscrit.s62"
    'Finished building: ../src/os/oscrit.s62'
    ' '
    'Building file: ../src/os/ossys.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/os/ossys.pp" --obj_directory="src/os" "../src/os/ossys.c"
    'Finished building: ../src/os/ossys.c'
    ' '
    'Building file: ../src/os/pbm.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/os/pbm.pp" --obj_directory="src/os" "../src/os/pbm.c"
    'Finished building: ../src/os/pbm.c'
    ' '
    'Building file: ../src/os/printf.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/os/printf.pp" --obj_directory="src/os" "../src/os/printf.c"
    'Finished building: ../src/os/printf.c'
    ' '
    'Building file: ../src/netctrl/netctrl.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/netctrl/netctrl.pp" --obj_directory="src/netctrl" "../src/netctrl/netctrl.c"
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/stdlib.h", line 66: warning #48-D: incompatible redefinition of macro "_LLONG_AVAILABLE" (declared at line 17 of "..\src\netctrl\..\..\inc\stacksys.h")
    'Finished building: ../src/netctrl/netctrl.c'
    ' '
    'Building file: ../src/netctrl/netsrv.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/NDk/ti/ndk/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" --include_path="C:/Users/Administrator/Desktop/ccs/P150_04/P150/Debug" --include_path="C:/ti/ndk_2_22_02_16" --include_path="C:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="C:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="src/netctrl/netsrv.pp" --obj_directory="src/netctrl" "../src/netctrl/netsrv.c"
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include/stdlib.h", line 66: warning #48-D: incompatible redefinition of macro "_LLONG_AVAILABLE" (declared at line 17 of "..\src\netctrl\..\..\inc\stacksys.h")
    'Finished building: ../src/netctrl/netsrv.c'
    ' '
    'Building target: P150.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400 --abi=coffabi -g --define=dm642 --define=CHIP_DM642 --display_error_number --diag_warning=225 --diag_wrap=off -z --stack_size=0x800 -m"P150.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/Users/Administrator/Desktop/ccs/P150_04/P150/lib" -i"C:/ti/ndk_2_22_02_16" -i"C:/Users/Administrator/Desktop/ccs/P150_04/P150/webbb.CS_" -i"C:/Users/Administrator/Desktop/ccs/P150_04/P150/src" -i"C:/Users/Administrator/Desktop/ccs/P150_04/P150/DM642csl" -i"C:/Users/Administrator/Desktop/ccs/P150_04/P150/inc" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" -i"C:/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c6000" -i"C:/ti/bios_5_42_01_09/packages/ti/bios/lib" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="P150_linkInfo.xml" --rom_model -o "P150.out" -l"./httpservercfg.cmd" "./src/netctrl/netsrv.obj" "./src/netctrl/netctrl.obj" "./src/os/printf.obj" "./src/os/pbm.obj" "./src/os/ossys.obj" "./src/os/oscrit.obj" "./src/os/mem.obj" "./src/os/efs.obj" "./server.obj" "./saveconfig.obj" "./rs422.obj" "./main.obj" "./httpservercfg_c.obj" "./httpservercfg.obj" "./dm642init.obj" "../web.cmd" "../lib/hal/teb6416_l/hal_eth_mxf.lib" "../lib/hal/teb6416_l/hal_eth_mxi.lib" "../lib/hal/teb6416_l/hal_eth_mxp.lib" "../lib/hal/teb6416_l/hal_eth_smsce.lib" "../lib/hal/teb6416_l/hal_eth_smscf.lib" "../lib/hal/teb6416_l/hal_eth_smsci.lib" "../lib/hal/teb6416_l/hal_eth_stub.lib" "../lib/hal/teb6416_l/hal_ser_stub.lib" "../lib/hal/teb6416_l/hal_ser_ti750.lib" "../lib/hal/teb6416_l/hal_timer.lib" "../lib/hal/teb6416_l/hal_userled.lib" "../lib/hal/teb6416/hal_eth_mxf.lib" "../lib/hal/teb6416/hal_eth_mxi.lib" "../lib/hal/teb6416/hal_eth_mxp.lib" "../lib/hal/teb6416/hal_eth_smsce.lib" "../lib/hal/teb6416/hal_eth_smscf.lib" "../lib/hal/teb6416/hal_eth_smsci.lib" "../lib/hal/teb6416/hal_eth_stub.lib" "../lib/hal/teb6416/hal_ser_stub.lib" "../lib/hal/teb6416/hal_ser_ti750.lib" "../lib/hal/teb6416/hal_timer.lib" "../lib/hal/teb6416/hal_userled.lib" "../lib/hal/hal_eth_dm642.lib" "../lib/hal/evmdm642_l/hal_eth_dm642.lib" "../lib/hal/evmdm642_l/hal_eth_stub.lib" "../lib/hal/evmdm642_l/hal_ser_stub.lib" "../lib/hal/evmdm642_l/hal_timer.lib" "../lib/hal/evmdm642_l/hal_userled.lib" "../lib/hal/evmdm642/hal_eth_dm642.lib" "../lib/hal/evmdm642/hal_eth_stub.lib" "../lib/hal/evmdm642/hal_ser_stub.lib" "../lib/hal/evmdm642/hal_timer.lib" "../lib/hal/evmdm642/hal_userled.lib" "../lib/hal/dsk6711_l/hal_eth_mxf.lib" "../lib/hal/dsk6711_l/hal_eth_mxi.lib" "../lib/hal/dsk6711_l/hal_eth_mxp.lib" "../lib/hal/dsk6711_l/hal_eth_smsce.lib" "../lib/hal/dsk6711_l/hal_eth_smscf.lib" "../lib/hal/dsk6711_l/hal_eth_smsci.lib" "../lib/hal/dsk6711_l/hal_eth_stub.lib" "../lib/hal/dsk6711_l/hal_ser_stub.lib" "../lib/hal/dsk6711_l/hal_ser_ti750.lib" "../lib/hal/dsk6711_l/hal_timer.lib" "../lib/hal/dsk6711_l/hal_userled.lib" "../lib/hal/dsk6711/hal_eth_mxf.lib" "../lib/hal/dsk6711/hal_eth_mxi.lib" "../lib/hal/dsk6711/hal_eth_mxp.lib" "../lib/hal/dsk6711/hal_eth_smsce.lib" "../lib/hal/dsk6711/hal_eth_smscf.lib" "../lib/hal/dsk6711/hal_eth_smsci.lib" "../lib/hal/dsk6711/hal_eth_stub.lib" "../lib/hal/dsk6711/hal_ser_stub.lib" "../lib/hal/dsk6711/hal_ser_ti750.lib" "../lib/hal/dsk6711/hal_timer.lib" "../lib/hal/dsk6711/hal_userled.lib" "../lib/hal/dsk6416_l/hal_eth_mxf.lib" "../lib/hal/dsk6416_l/hal_eth_mxi.lib" "../lib/hal/dsk6416_l/hal_eth_mxp.lib" "../lib/hal/dsk6416_l/hal_eth_smsce.lib" "../lib/hal/dsk6416_l/hal_eth_smscf.lib" "../lib/hal/dsk6416_l/hal_eth_smsci.lib" "../lib/hal/dsk6416_l/hal_eth_stub.lib" "../lib/hal/dsk6416_l/hal_ser_stub.lib" "../lib/hal/dsk6416_l/hal_ser_ti750.lib" "../lib/hal/dsk6416_l/hal_timer.lib" "../lib/hal/dsk6416_l/hal_userled.lib" "../lib/hal/dsk6416/hal_eth_mxf.lib" "../lib/hal/dsk6416/hal_eth_mxi.lib" "../lib/hal/dsk6416/hal_eth_mxp.lib" "../lib/hal/dsk6416/hal_eth_smsce.lib" "../lib/hal/dsk6416/hal_eth_smscf.lib" "../lib/hal/dsk6416/hal_eth_smsci.lib" "../lib/hal/dsk6416/hal_eth_stub.lib" "../lib/hal/dsk6416/hal_ser_stub.lib" "../lib/hal/dsk6416/hal_ser_ti750.lib" "../lib/hal/dsk6416/hal_timer.lib" "../lib/hal/dsk6416/hal_userled.lib" "../lib/c6400_l/netctrl.lib" "../lib/c6400_l/nettool.lib" "../lib/c6400_l/os.lib" "../lib/c6400_l/os_sem.lib" "../lib/c6400_l/stack.lib" "../lib/c6400_l/all_stk/stk.lib" "../lib/c6400_l/all_stk/stk_nat.lib" "../lib/c6400_l/all_stk/stk_nat_ppp.lib" "../lib/c6400_l/all_stk/stk_nat_ppp_pppoe.lib" "../lib/c6400_l/all_stk/stk_ppp.lib" "../lib/c6400_l/all_stk/stk_ppp_pppoe.lib" "../lib/c6400/netctrl.lib" "../lib/c6400/nettool.lib" "../lib/c6400/os.lib" "../lib/c6400/os_sem.lib" "../lib/c6400/stack.lib" "../lib/c6400/all_stk/stk.lib" "../lib/c6400/all_stk/stk_nat.lib" "../lib/c6400/all_stk/stk_nat_ppp.lib" "../lib/c6400/all_stk/stk_nat_ppp_pppoe.lib" "../lib/c6400/all_stk/stk_ppp.lib" "../lib/c6400/all_stk/stk_ppp_pppoe.lib" "../lib/c6200_l/netctrl.lib" "../lib/c6200_l/nettool.lib" "../lib/c6200_l/os.lib" "../lib/c6200_l/os_sem.lib" "../lib/c6200_l/stack.lib" "../lib/c6200_l/all_stk/stk.lib" "../lib/c6200_l/all_stk/stk_nat.lib" "../lib/c6200_l/all_stk/stk_nat_ppp.lib" "../lib/c6200_l/all_stk/stk_nat_ppp_pppoe.lib" "../lib/c6200_l/all_stk/stk_ppp.lib" "../lib/c6200_l/all_stk/stk_ppp_pppoe.lib" "../lib/c6200/netctrl.lib" "../lib/c6200/nettool.lib" "../lib/c6200/os.lib" "../lib/c6200/os_sem.lib" "../lib/c6200/stack.lib" "../lib/c6200/all_stk/stk.lib" "../lib/c6200/all_stk/stk_nat.lib" "../lib/c6200/all_stk/stk_nat_ppp.lib" "../lib/c6200/all_stk/stk_nat_ppp_pppoe.lib" "../lib/c6200/all_stk/stk_ppp.lib" "../lib/c6200/all_stk/stk_ppp_pppoe.lib" "../DM642csl/cslDM642.lib" -l"C:\ti\ccsv5\tools\compiler\c6000_7.4.4\lib\cslDM642.lib" -l"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib/cslDM642.lib"
    <Linking>
    'Finished building target: P150.out'
    ' '

    **** Build Finished ****

    I go to Window->Preferences->Code Composer Studio->RTSC, I don't find nothing about NDK, and click on add then refresh ,and no NDK

  • It seems to me that your project is building just fine. The include path for NDK is present and also all libraries from NDK are found.

    As for adding NDK to CCS v5.5, I can see that that version of NDK was tested with CCS 5.2 and CCS 5.4. Usually, products compatible with CCS 5.2 should be compatible with CCS 5.5. There could be some bug in NDK or in CCS, but CCS 5.5 is already two major versions behind the current version of CCS so I don't think there will be any new 5.x releases where that bug could be fixed.

    So, the only problem you have now is that the debugger is not finding some source files. That doesn't affect your executable, so you can safely ignore these messages. I think these are DSP/BIOS source files and they are not publicly available anyway.
  • Sasha,
    Thanks for your help, I rebuild my NDK , and hope it can work well.
  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.