bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tests on MinGW: undef ref pthread_mutex_lock/unlock


From: Tim Rühsen
Subject: Re: Tests on MinGW: undef ref pthread_mutex_lock/unlock
Date: Thu, 11 Apr 2019 22:33:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 11.04.19 20:56, Bruno Haible wrote:
> Hi Tim,
> 
>>> For analyzing this, we would need the generated
>>>   - config.log,
>>>   - config.status,
>>>   - config.h.
>>
>> Thanks, attached.
> 
> You should also say which package you are building, and with which
> configure options you configured it.
> 
> It looks like
>   - you are building gnutls-3.6.7, not just a gnulib testdir,
>   - you gave the configure option --disable-threads,
>   - but at the same time the C macro USE_POSIX_THREADS is defined.
> How come?

Maybe Debian is currently broken regarding MinGW ? I never had issues
building libunistring with MinGW, but now compilation stops with

In file included from /usr/share/mingw-w64/include/signal.h:10,
                 from ./signal.h:52,
                 from pthread_sigmask.c:20:
pthread_sigmask.c:34:1: error: expected identifier or ‘(’ before numeric
constant
 pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
 ^~~~~~~~~~~~~~~
make[4]: *** [Makefile:10495: pthread_sigmask.o] Fehler 1

Maybe this is related, all about pthreads.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]