-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mingw msys errors, libgomp #8
Comments
|
I got it working by adding -lgomp however I also had to make sure I was using the correct compiler in my path, in my case TDM-GCC-64 I can also suggest adding a line to configure.ac AC_SEARCH_LIBS([GOMP_parallel], [gomp]) Thanks. |
I think the problem was due to There's an upcoming PR that tests OK on MinGW at Noloader | Autotools. The Autotools changes removes The Autotools changes also test OK on Cygwin. What I am not sure of is, do we have similar environments. I'm testing on Windows 7. I don't know which MinGW version I have. Searching for "mingw get version" is turning up irrelevant noise. For completeness, here are the commands I ran:
|
Any progress on this issue? |
@Biswa96 i've just compiled git, and not problem with mingw-w64 on msys2 |
I am getting errors at the linking stage, when compiling on mingw msys.
Do I need to compile with -fopenmp or something else, such as installing a libgomp library? What steps would I follow to do that exactly?
Thank you.
--
.libs/libb2_la-blake2sp.o:blake2sp.c:(.text+0xc): undefined reference to
omp_get_thread_num' .libs/libb2_la-blake2sp.o:blake2sp.c:(.text+0x7c): undefined reference to
omp_get_thread_num'.libs/libb2_la-blake2sp.o:blake2sp.c:(.text+0x5ea): undefined reference to
omp_set_num_threads' .libs/libb2_la-blake2sp.o:blake2sp.c:(.text+0x626): undefined reference to
GOMP_parallel'.libs/libb2_la-blake2sp.o:blake2sp.c:(.text+0x9d8): undefined reference to
omp_set_num_threads' .libs/libb2_la-blake2sp.o:blake2sp.c:(.text+0xa1d): undefined reference to
GOMP_parallel'.libs/libb2_la-blake2bp.o:blake2bp.c:(.text+0xc): undefined reference to
omp_get_thread_num' .libs/libb2_la-blake2bp.o:blake2bp.c:(.text+0x7c): undefined reference to
omp_get_thread_num'.libs/libb2_la-blake2bp.o:blake2bp.c:(.text+0x6ba): undefined reference to
omp_set_num_threads' .libs/libb2_la-blake2bp.o:blake2bp.c:(.text+0x6f2): undefined reference to
GOMP_parallel'.libs/libb2_la-blake2bp.o:blake2bp.c:(.text+0xabb): undefined reference to
omp_set_num_threads' .libs/libb2_la-blake2bp.o:blake2bp.c:(.text+0xb0c): undefined reference to
GOMP_parallel'collect2.exe: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: