# ll /usr/local/lib/-rw-r--r--. 1 root root 18724882 Sep 4 10:34 libsecsipid.alrwxrwxrwx. 1 root root 20 Sep 4 10:34 libsecsipid.so -> libsecsipid.so.1.3.2lrwxrwxrwx. 1 root root 20 Sep 4 10:34 libsecsipid.so. -> libsecsipid.so.1.3.2-rw-r--r--. 1 root root 7723128 Sep 4 10:34 libsecsipid.so.1.3.2
make include_modules="secsipid secsipid_proc" cfgmake rpm
Hello,
On 03.09.24 17:14, Володимир Іванець via sr-users wrote:
Hello!
I was wondering if someone was trying to build Kamailio RPM packages containing modules secsipid and secsipid_proc and faced the same problem.
I compiled secsipidx library and copied secsipid.h, libsecsipid.h as well as libsecsipid.a files into the source directory of secsipid_proc module. And when I'm trying to build RPM packages, I get the following error:
CC (gcc) [M secsipid_proc.so] secsipid_proc_mod.o
secsipid_proc_mod.c:28:10: fatal error: secsipid.h: No such file or directory
#include <secsipid.h>
^~~~~~~~~~~~
compilation terminated.
make[2]: *** [../../Makefile.rules:100: secsipid_proc_mod.o] Error 1
make[1]: *** [Makefile:508: modules] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/kamailio-5.8.2/src'
make: *** [Makefile:34: every-module] Error 2
You have to install the libsecsipid library files, go to the folder with secsipidx project and run:
make all
make installI noticed that the secsipid module had old documentation guidelines, no longer applicable, since the secsipidx project got a proper makefile build system -- I just pushed an update for it.
For the records: iirc, libsecsipid should be also packaged on deb.kamailio.org (or maybe even on some of the new Debian distros) -- Victor can correct me if I am wrong.
Cheers,
Daniel
-- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com Kamailio Advanced Training, October 8-10, 2024 -- asipto.com