When trying to compile Kamailio, I get the following error:
``` CC (gcc) [M log_systemd.so] log_systemd_mod.o [91mlog_systemd_mod.c:27:32: fatal error: systemd/sd-journal.h: No such file or directory [0m[91mcompilation terminated. [0m../../Makefile.rules:97: recipe for target 'log_systemd_mod.o' failed [91mmake[1]: *** [log_systemd_mod.o] Error 1 [0m[91mmake: *** [modules] Error 1 [0mMakefile:511: recipe for target 'modules' failed The command '/bin/sh -c make all && make install' returned a non-zero code: 2 ```
Have tried versions 4.1 and 4.3.3, on Ubuntu Trusty & Wily, always get the same error.
This is an automated Jenkins/Docker build that was previously succeeding, so that rules out the dependency problems.
Can anyone point me in the right direction?
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/380
This is a module that was added recently. you have to add it to exclude_modules inside modules.lst file or run:
``` make distclean ```
Then run again the commands you used to build kamailio.
If you still get issues, re-open this item.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/380#issuecomment-150774884
Closed #380.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/380#event-444486694
Kamailio 4.1 and 4.3 don't have the log_systemd module, I guess you mixed the branches there.
You can restart with a fresh clone from git and try again to compile.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/380#issuecomment-150790640