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/TMDSLCDK6748: Link Error occur when i tried to start NSP's bios5-cfgdemo

Part Number: TMDSLCDK6748

Tool/software: TI-RTOS

I want to develop SYS/BIOS 5 net application with NDK. so I try to start the "cfgdemo" example in nsp 1.0. (PS: the newer version of NSP only have SYS/BIOS 6's example).

here's the build result:

**** Build of configuration Debug for project ndk_evm6748_bios5_cfgdemo ****

"D:\\ti\\ccsv5\\utils\\bin\\gmake" -k all 
'Building file: ../cfgdemo.tcf'
'Invoking: TConf Script Compiler'
"D:/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="D:/ti/bios_5_42_01_09/packages;D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tci;" "../cfgdemo.tcf"
'Finished building: ../cfgdemo.tcf'
' '
'Building file: ../cfgdemo.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="cfgdemo.pp"  "../cfgdemo.c"
'Finished building: ../cfgdemo.c'
' '
'Building file: cfgdemocfg.s??'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="cfgdemocfg.pp"  "cfgdemocfg.s??"
'Finished building: cfgdemocfg.s??'
' '
'Building file: cfgdemocfg_c.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="cfgdemocfg_c.pp"  "cfgdemocfg_c.c"
'Finished building: cfgdemocfg_c.c'
' '
'Building file: ../emacHooks.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="emacHooks.pp"  "../emacHooks.c"
'Finished building: ../emacHooks.c'
' '
'Building file: ../evminit.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="evminit.pp"  "../evminit.c"
'Finished building: ../evminit.c'
' '
'Building file: ../intmgmt.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="intmgmt.pp"  "../intmgmt.c"
'Finished building: ../intmgmt.c'
' '
'Building file: ../webpage.c'
'Invoking: C6000 Compiler'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --include_path="D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc" --include_path="D:/ti/ndk_2_20_06_35/packages/ti/ndk/inc/tools" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo/Debug" --include_path="D:/Users/zhuji/Documents/workspace_v5_5/ndk_evm6748_bios5_cfgdemo" --include_path="D:/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="D:/ti/bios_5_42_01_09/packages/ti/rtdx/include/c6000" --diag_warning=225 --preproc_with_compile --preproc_dependency="webpage.pp"  "../webpage.c"
'Finished building: ../webpage.c'
' '
'Building target: ndk_evm6748_bios5_cfgdemo.out'
'Invoking: C6000 Linker'
"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 -g --diag_warning=225 -z -m"ndk_evm6748_bios5_cfgdemo.map" --warn_sections -i"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"D:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" -i"D:/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c6000" -i"D:/ti/bios_5_42_01_09/packages/ti/bios/lib" --reread_libs --xml_link_info="ndk_evm6748_bios5_cfgdemo_linkInfo.xml" --rom_model -o "ndk_evm6748_bios5_cfgdemo.out" -l"./cfgdemocfg.cmd"  "./webpage.obj" "./intmgmt.obj" "./evminit.obj" "./emacHooks.obj" "./cfgdemocfg_c.obj" "./cfgdemocfg.obj" "./cfgdemo.obj" -l"libc.a" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/miniPrintf.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/netctrl.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/nettool.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/os_bios5.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/stack.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/hal/hal_userled_stub.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/hal/hal_ser_stub.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/hal/hal_timer_bios5.lib" -l"D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/cgi.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/console.lib" -l"D:\ti\ndk_2_20_06_35/packages/ti/ndk/lib/C674/servers.lib" 
<Linking>

 undefined                                     first referenced                                                                            
  symbol                                           in file                                                                                 
 ---------                                     ----------------                                                                            
 _EMAC_setConfig                               D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<nimu_eth.o674> 
 _ti_sysbios_family_c64p_Hwi_Object__create__S D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>

 _ti_sysbios_family_c64p_Hwi_Object__delete__S D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>
>> Compilation failure
 _ti_sysbios_family_c64p_Hwi_Params__init__S   D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>
 _ti_sysbios_family_c64p_Hwi_disableIER__E     D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>
 _ti_sysbios_family_c64p_Hwi_enableIER__E      D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>
 _ti_sysbios_hal_Hwi_enableInterrupt__E        D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<csl_emac.o674> 
 _xdc_runtime_Error_getMsg__E                  D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>
 _xdc_runtime_Error_init__E                    D:\ti\nsp_1_10_03_15/packages/ti/drv/omapl138/lib/debug/ti.drv.omapl138.a674<ethdriver.o674>

error: unresolved symbols remain
error: errors encountered during linking; "ndk_evm6748_bios5_cfgdemo.out" not
   built
gmake: *** [ndk_evm6748_bios5_cfgdemo.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

It seems like some library have not built. plz help me, thx.