Blosc/bcolz

undefined reference to `blosc_internal_xgetbv'

a-ma72 opened this issue · 0 comments

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