Tool/software: TI C/C++ Compiler
Hi
My tools:
OS: win7
CCS: 7
I started to integrate SRIO and NDK and now I have a strange problem!!
I describe my actions as below:
1) I made a NDK project and it works correct(The base project was "Client" example and I could ping the DSP). The properties of the project was as below:
MCSDK: 2.1.2.6
PDK: 1.1.2.6
NDK: 2.21.2.43
SYS/BIOS: 6.3.6.50
XDCTOOLS: 3.23.4.60
CGT: 8.1.2
2) I made a SRIO DIO project and I can communicated to FPGA successfully. The properties of the project was as below:
EDMA3: 2.11.5
IPC: 1.24.3.32
MCSDK: 2.1.2.6
PDK: 1.1.2.6
NDK: 2.21.2.43
SYS/BIOS: 6.3.6.50
XDCTOOLS: 3.23.4.60
CGT: 8.1.2
3) I started to add NDK project to SRIO project.
3.1) I made a new "*.cfg" file and I could build the project successfully.
3.2) I added NDK configurations(I copy and paste stack test function with all headers from my NDK project.), I could build the project successfully.
3.3) I call stack test function as a task but when I build the project some errors happened as below:
The console prints as below:
**** Build of configuration Debug for project SRIO_Develpment_NDK2 **** "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all 'Building file: ../Srio_Source/benchmarking.c' 'Invoking: C6000 Compiler' "C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 --abi=eabi -Ooff --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" -g --optimize_with_debug=off --display_error_number --diag_wrap=off --diag_warning=225 --preproc_with_compile --preproc_dependency="Srio_Source/benchmarking.d" --obj_directory="Srio_Source" --cmd_file="configPkg/compiler.opt" "../Srio_Source/benchmarking.c" "../Srio_Source/benchmarking.c", line 645: warning #994-D: missing return statement at end of non-void function "system_init" "../Srio_Source/benchmarking.c", line 770: warning #179-D: function "producerTests" was declared but never referenced 'Finished building: ../Srio_Source/benchmarking.c' ' ' 'Building target: SRIO_Develpment_NDK2.out' 'Invoking: C6000 Linker' "C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/bin/cl6x" -mv6600 --abi=eabi -Ooff -g --optimize_with_debug=off --display_error_number --diag_wrap=off --diag_warning=225 -z -m"SRIO_Develpment_NDK2.map" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.2/include" --reread_libs --diag_wrap=off --warn_sections --display_error_number --xml_link_info="SRIO_Develpment_NDK2_linkInfo.xml" --rom_model -o "SRIO_Develpment_NDK2.out" "./Srio_Source/Net.obj" "./Srio_Source/benchmarking.obj" "./Srio_Source/cppi_device.obj" "./Srio_Source/listlib.obj" "./Srio_Source/osal.obj" "./Srio_Source/qmss_device.obj" "./Srio_Source/resourcemgr.obj" "./Srio_Source/srio_device_tput.obj" "./Srio_Source/srio_dio_tput.obj" "./Srio_Source/srio_drv.obj" "./Srio_Source/srio_laneconfig.obj" "./Srio_Source/srio_status_decode.obj" "./Srio_Source/tput_utils.obj" "../Srio_Source/benchmarking.cmd" -l"configPkg/linker.cmd" -llibc.a <Linking> undefined first referenced symbol in file --------- ---------------- Osal_nimuFree C:\ti\pdk_C6678_1_1_2_6\packages\ti\transport\ndk\nimu\lib\debug\ti.transport.ndk.nimu.ae66<nimu_eth.obj> Osal_nimuMalloc C:\ti\pdk_C6678_1_1_2_6\packages\ti\transport\ndk\nimu\lib\debug\ti.transport.ndk.nimu.ae66<nimu_eth.obj> Osal_paBeginMemAccess C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\pa\lib\ti.drv.pa.ae66<pa.oe66> Osal_paEndMemAccess C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\pa\lib\ti.drv.pa.ae66<pa.oe66> Osal_paMtCsEnter C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\pa\lib\ti.drv.pa.ae66<pa.oe66> Osal_paMtCsExit C:\ti\pdk_C6678_1_1_2_6\packages\ti\drv\pa\lib\ti.drv.pa.ae66<pa.oe66> Osal_platformFree C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_lib\lib\debug\ti.platform.evm6678l.ae66<platform.obj> Osal_platformMalloc C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_lib\lib\debug\ti.platform.evm6678l.ae66<platform.obj> Osal_platformSpiCsEnter C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_lib\lib\debug\ti.platform.evm6678l.ae66<evmc66x_spi.obj> Osal_platformSpiCsExit C:\ti\pdk_C6678_1_1_2_6\packages\ti\platform\evmc6678l\platform_lib\lib\debug\ti.platform.evm6678l.ae66<evmc66x_spi.obj> error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "SRIO_Develpment_NDK2.out" not built gmake: *** [SRIO_Develpment_NDK2.out] Error 1 gmake: Target 'all' not remade because of errors. >> Compilation failure makefile:152: recipe for target 'SRIO_Develpment_NDK2.out' failed **** Build Finished ****
I try a lot but I couldn't solve the problem.
Please, guide me what should I do?
Regards