diff --git a/openmp/runtime/src/kmp_utility.cpp b/openmp/runtime/src/kmp_utility.cpp --- a/openmp/runtime/src/kmp_utility.cpp +++ b/openmp/runtime/src/kmp_utility.cpp @@ -16,6 +16,13 @@ #include "kmp_wrapper_getpid.h" #include +#ifndef OMPT_SUPPORT +// Define symbols required by VERSION script +ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version, + const char *runtime_version) = 0; +void ompt_libomp_connect(ompt_start_tool_result_t *result) = 0; +#endif + static const char *unknown = "unknown"; #if KMP_ARCH_X86 || KMP_ARCH_X86_64