Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

undefined reference to `blosc_internal_xgetbv' #404

Open
a-ma72 opened this issue Jun 1, 2020 · 0 comments
Open

undefined reference to `blosc_internal_xgetbv' #404

a-ma72 opened this issue Jun 1, 2020 · 0 comments

Comments

@a-ma72
Copy link

a-ma72 commented Jun 1, 2020

Hi,
I am using c-blosc since a long time. I usually use MSVC or gcc (linux) to build the package.
Now I have to use MinGW (3.11) and get zwo issues:

1. ld.exe: c-blosc/blosc/libblosc.a(shuffle.c.obj):shuffle.c:(.text+0x474): undefined reference to `blosc_internal_xgetbv'
2. ld.exe: cond.c:(.text+0xd90): multiple definition of `pthread_cond_wait'

2nd issue I got solved by changing blosc.c line 60:
#if defined(_WIN32)
to
#if defined(_WIN32) && !defined(__MINGW32__)

I don't know if this is the best solution...

Kindly reagrds,
Andreas

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant