[Openmp-dev] Error compiling static library for fortran

simone via Openmp-dev openmp-dev at lists.llvm.org
Wed Jan 10 15:48:47 PST 2018


Hi all,

I am getting an error when I try to compile the OpenMP RT with static 
library for Fortran.

Here my cmake line:

cmake -D LIBOMP_ENABLE_SHARED=OFF  -D LIBOMP_FORTRAN_MODULES=ON ..

and here the error I get:

z_Linux_util.cpp:1344:3: error: use of undeclared identifier 
'__kmp_itt_reset'
   __kmp_itt_reset(); // reset ITT's global state
   ^
1 error generated.

Is there something wrong in my cmake line?

Thanks.
Simone


More information about the Openmp-dev mailing list