Part Number: TMS320C6678
Tool/software: TI C/C++ Compiler
Hello,
I have been working on a single core of c6678 so far and my project was working fine on ccs V5 comiler v7.4. I wanted to add the multithreading support from openMP. I first started with the hello and matvec example with omp and was able to compile and run them with omp_1_01_03_02. But when I try to add the omp in my existing project I get all kinds of compile and linker errors. I have added --openmp and included omp.h. I have added the paths to the include files and the ti.omp.ae66 library file. The latest errors I get is:
>> Compilation failure
undefined first referenced
symbol in file
--------- ----------------
SharedRegion_getCacheLineSize C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<alloc.oe66>
SharedRegion_getHeap C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<alloc.oe66>
gomp_barrier_destroy C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
gomp_barrier_init C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
gomp_barrier_reinit C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
gomp_barrier_wait C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
gomp_dynamic_max_threads C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<parallel.oe66>
gomp_init_thread_affinity C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
gomp_team_barrier_wait C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<barrier.oe66>
gomp_thread_create C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
gomp_thread_getspecific C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<barrier.oe66>
gomp_thread_setspecific C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<team.oe66>
ti_omp_utils_OpenMP_ompHwSem__C C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<parallel.oe66>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "myEVMstart.out" not built
gmake: *** [myEVMstart.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
Would you please tell me what's going on?
I appreciate any response.

