Thanks. Ok, then we should add the pthread only to the modules that need it. Right now its
seems to be active for all modules:
```
kamailio/src/modules/auth$ make clean; make Q=0
[..]
gcc -shared -g -pthread -m64 -Wl,-O2 -Wl,-E -rdynamic "-ldl"
-Wl,-Bsymbolic-functions nonce.o nc.o challenge.o ot_nonce.o rfc2617.o nid.o
rfc2617_sha256.o api.o auth_mod.o -o auth.so
kamailio/src/modules/auth$ grep thread Makefile
kamailio/src/modules/auth$
kamailio/src/modules/xlog$ make clean; make Q=0
[..]
gcc -shared -g -pthread -m64 -Wl,-O2 -Wl,-E -rdynamic "-ldl"
-Wl,-Bsymbolic-functions xl_lib.o xlog.o -o xlog.so
kamailio/src/modules/xlog$ grep thread Makefile
kamailio/src/modules/xlog$
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4041#issuecomment-2538013930
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4041/2538013930(a)github.com>