Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Mosquitto 2.0.19 released

Roger Light via mosquitto-dev <mosquitto-dev@xxxxxxxxxxx> writes:

> Dear all,
>
> Mosquitto 2.0.19 is now available. Details are here:
> https://mosquitto.org/blog/2024/10/version-2-0-19-released/

This fails to build in an environemnt where 2.0.18 did build.   It seems
there are changes to the build system related to pthreads.  This results in:


In file included from /tmp/work/net/mosquitto/work/mosquitto-2.0.19/lib/mosquitto_internal.h:39,
                 from /tmp/work/net/mosquitto/work/mosquitto-2.0.19/src/mosquitto_broker_internal.h:33,
                 from /tmp/work/net/mosquitto/work/mosquitto-2.0.19/src/subs.c:56:
/tmp/work/net/mosquitto/work/mosquitto-2.0.19/lib/dummypthread.h:12: warning: "pthread_mutex_unlock" redefined
   12 | #define pthread_mutex_unlock(A)
      | 
In file included from /usr/include/openssl/crypto.h:517,
                 from /usr/include/openssl/comp.h:22,
                 from /usr/include/openssl/ssl.h:27,
                 from /usr/pkg/include/libwebsockets.h:304,
                 from /tmp/work/net/mosquitto/work/mosquitto-2.0.19/src/mosquitto_broker_internal.h:27,
                 from /tmp/work/net/mosquitto/work/mosquitto-2.0.19/src/subs.c:56:
/usr/include/pthread.h:348: note: this is the location of the previous definition
  348 | #define pthread_mutex_unlock  __libc_mutex_unlock
      | 
[152/157] Linking C executable src/mosquitto
FAILED: src/mosquitto 


Back to the top