<p>When trying to compile Kamailio, I get the following error:</p>

<pre><code>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
</code></pre>

<p>Have tried versions 4.1 and 4.3.3, on Ubuntu Trusty & Wily, always get the same error.</p>

<p>This is an automated Jenkins/Docker build that was previously succeeding, so that rules out the dependency problems.</p>

<p>Can anyone point me in the right direction?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/380">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZTEdYF2wVupL9FgoApswvjWzbyYVks5o-r0-gaJpZM4GU5yq.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/380"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>