@xkaraman: after merging the PR #4059, all the modules seem to be compiled/linked together
with the code of former libraries, for example for xlog module, I see:
```
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/xl_lib.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/xlog.c.o
[ 98%] Building C object
src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/ims/ims_getters.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_id.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_pool.c.o
[ 98%] Building C object
src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_query.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_res.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_row.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_ut.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb1/db_val.c.o
[ 98%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_cmd.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_con.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_ctx.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_drv.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_fld.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_gen.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_pool.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_rec.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_res.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/srdb2/db_uri.c.o
[100%] Building C object src/modules/xlog/CMakeFiles/xlog.dir/__/__/lib/trie/dtrie.c.o
[100%] Linking C shared library xlog.so
```
The xlog.so generated is 618368 bytes, while the one build with old makefiles is 128112
bytes.
Definitely something has to be adjusted, because the modules must not be compiled/linked
in this way. `xlog` is anyhow not needing any of these former libs.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4041#issuecomment-2528930229
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4041/2528930229(a)github.com>