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.

Is openMP a trap?

Other Parts Discussed in Thread: TMS320C6657, SYSBIOS

I set up a project with “omp_hello.c” which offered by TI in TMS320C6657.It includes “ti/omp/omp.h”.

When I compile the project,errors occur,like couldn’t find header files and unresolved symbol.

I try to fix it. Until now,It reports the following error, and I feel hopeless.

Does openMP work in 6657? Are there any integrated example projects?

 

 

Error:

#10010 errors encountered during linking; "omp_hello.out" not built omp_hello                  C/C++ Problem

<a href="file:/C:/ti/ccsv5/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain  omp_hello                  C/C++ Problem

unresolved symbol ti_sysbios_knl_Task_self__E, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_sysbios_knl_Task_getHookContext__E, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol xdc_runtime_Memory_calloc__E, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<alloc.oe66>     omp_hello                  C/C++ Problem

unresolved symbol xdc_runtime_Assert_raise__I, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_Module__id__C, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_Module__diagsMask__C, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_sysbios_BIOS_getThreadType__E, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_Module__state__V, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_A_invalidKey__C, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_A_invalidContext__C, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_Module__diagsIncluded__C, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

unresolved symbol ti_omp_utils_ThreadLocal_Module__diagsEnabled__C, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocal.oe66> omp_hello                  C/C++ Problem

 

 

Warning:

Description     Resource Path Location  Type

#10210-D creating ".stack" section with default size of 0x400; use the -stack option to change the default size      omp_hello                  C/C++ Problem

#10210-D creating ".sysmem" section with default size of 0x400; use the -heap option to change the default size  omp_hello                  C/C++ Problem

unresolved symbol SharedRegion_getCacheLineSize, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<alloc.oe66>     omp_hello                  C/C++ Problem

unresolved symbol SharedRegion_getHeap, first referenced in C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<alloc.oe66>     omp_hello                  C/C++ Problem

#163-D unrecognized #pragma     omp_hello.c    /omp_hello     line 32    C/C++ Problem

#10247-D creating output section "gomp_data" without a SECTIONS specification  omp_hello                  C/C++ Problem