Skip to content

Instantly share code, notes, and snippets.

@jmdejong
Created July 30, 2020 15:53
Show Gist options
  • Select an option

  • Save jmdejong/bec5494e5cb4804522ec8dec46566dcb to your computer and use it in GitHub Desktop.

Select an option

Save jmdejong/bec5494e5cb4804522ec8dec46566dcb to your computer and use it in GitHub Desktop.
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `(anonymous namespace)::OMPThreadManager::run_concurrent_threads(std::vector<GEO::SmartPointer<GEO::Thread>, std::allocator<GEO::SmartPointer<GEO::Thread> > >&, unsigned int)':
process.cpp:(.text+0xa7): undefined reference to `GOMP_parallel'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `(anonymous namespace)::OMPThreadManager::~OMPThreadManager()':
process.cpp:(.text+0x104): undefined reference to `omp_destroy_lock'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `(anonymous namespace)::OMPThreadManager::~OMPThreadManager()':
process.cpp:(.text+0x134): undefined reference to `omp_destroy_lock'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `(anonymous namespace)::OMPThreadManager::run_concurrent_threads(std::vector<GEO::SmartPointer<GEO::Thread>, std::allocator<GEO::SmartPointer<GEO::Thread> > >&, unsigned int) [clone ._omp_fn.0]':
process.cpp:(.text+0x2fc): undefined reference to `GOMP_loop_nonmonotonic_dynamic_start'
/usr/bin/ld: process.cpp:(.text+0x305): undefined reference to `GOMP_loop_end_nowait'
/usr/bin/ld: process.cpp:(.text+0x337): undefined reference to `GOMP_loop_nonmonotonic_dynamic_next'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `GEO::ThreadManager::run_threads(std::vector<GEO::SmartPointer<GEO::Thread>, std::allocator<GEO::SmartPointer<GEO::Thread> > >&)':
process.cpp:(.text+0x45a): undefined reference to `GOMP_parallel'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `GEO::Process::is_running_threads()':
process.cpp:(.text+0x935): undefined reference to `omp_in_parallel'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `GEO::Process::initialize(int)':
process.cpp:(.text+0x14c8): undefined reference to `omp_init_lock'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `(anonymous namespace)::OMPThreadManager::leave_critical_section()':
process.cpp:(.text+0xd5): undefined reference to `omp_unset_lock'
/usr/bin/ld: lib/libgeogram.a(process.cpp.o): in function `(anonymous namespace)::OMPThreadManager::enter_critical_section()':
process.cpp:(.text+0xe5): undefined reference to `omp_set_lock'
/usr/bin/ld: lib/libgeogram.a(nl_matrix.c.o): in function `nlCRSMatrixMult._omp_fn.0':
nl_matrix.c:(.text+0xe2): undefined reference to `omp_get_num_threads'
/usr/bin/ld: nl_matrix.c:(.text+0xe9): undefined reference to `omp_get_thread_num'
/usr/bin/ld: lib/libgeogram.a(nl_matrix.c.o): in function `nlCRSMatrixMult':
nl_matrix.c:(.text+0x361): undefined reference to `GOMP_parallel'
/usr/bin/ld: lib/libgeogram.a(nl_matrix.c.o): in function `nlSparseMatrix_mult_rows._omp_fn.0':
nl_matrix.c:(.text+0x38a): undefined reference to `omp_get_num_threads'
/usr/bin/ld: nl_matrix.c:(.text+0x391): undefined reference to `omp_get_thread_num'
/usr/bin/ld: lib/libgeogram.a(nl_matrix.c.o): in function `nlSparseMatrixMult':
nl_matrix.c:(.text+0xaa3): undefined reference to `GOMP_parallel'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/CurveDrawing.dir/build.make:301: CurveDrawing] Error 1
make[1]: *** [CMakeFiles/Makefile2:265: CMakeFiles/CurveDrawing.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment