<p><code>Make</code> very quickly spawns following error message and terminates..   </p>

<pre><code># make
bison -d -b cfg cfg.y
flex cfg.lex
Compiling action.c
Compiling async.c
Compiling bin_interface.c
Compiling blacklists.c
Compiling context.c
Compiling core_stats.c
Compiling crc.c
Compiling daemonize.c
Compiling data_lump.c
Compiling data_lump_rpl.c
Compiling dprint.c
Compiling dset.c
Compiling errinfo.c
Compiling error.c
Compiling flags.c
Compiling forward.c
Compiling io_wait.c
In file included from io_wait.c:45:0:
io_wait.h: In function ‘io_watch_add’:
io_wait.h:351:3: warning: implicit declaration of function ‘LM_BUG’ [-Wimplicit-function-declaration]
io_wait.h:355:2: error: ‘io_wait_h’ has no member named ‘epfd’
io_wait.h:355:2: error: ‘io_wait_h’ has no member named ‘epfd’
make: *** [io_wait.o] Error 1
</code></pre>

<p>I've tried <a href="http://opensips.org/pub/opensips/2.1.0/src/opensips-2.1.0.tar.gz">opensips-2.1.0.tar.gz</a> as well as <code>github</code> version.</p>

<p>My system:</p>

<pre><code># uname -rv
3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21)
</code></pre>

<p>Though I had much better luck with <a href="http://opensips.org/pub/opensips/2.1.0/src/opensips-2.1-rc2.tar.gz">opensips-2.1-rc2.tar.gz</a>, which is just half in size of the final release and I would like to know why?</p>

<p><code>rc2</code> terminates latter:</p>

<pre><code>Compiling evi/event_interface.c
Compiling evi/evi_core.c
Compiling evi/evi_params.c
Compiling evi/evi_transport.c
Compiling cachedb/cachedb.c
Compiling cachedb/cachedb_id.c
Compiling cachedb/cachedb_pool.c
Compiling net/net_tcp.c
Compiling net/net_tcp_proc.c
In file included from net/../reactor_defs.h:39:0,
                 from net/../reactor.h:38,
                 from net/net_tcp_proc.c:28:
net/../io_wait.h: In function ‘io_watch_add’:
net/../io_wait.h:351:3: warning: implicit declaration of function ‘LM_BUG’ [-Wimplicit-function-declaration]
In file included from net/../reactor.h:38:0,
                 from net/net_tcp_proc.c:28:
net/../reactor_defs.h: At top level:
net/../reactor_defs.h:45:22: error: field ‘ri’ has incomplete type
net/net_tcp_proc.c: In function ‘handle_io’:
net/net_tcp_proc.c:114:4: warning: implicit declaration of function ‘async_resume_f’ [-Wimplicit-function-declaration]
net/net_tcp_proc.c:173:20: error: ‘process_no’ undeclared (first use in this function)
net/net_tcp_proc.c:173:20: note: each undeclared identifier is reported only once for each function it appears in
net/net_tcp_proc.c:179:12: error: ‘protos’ undeclared (first use in this function)
net/net_tcp_proc.c: In function ‘tcp_worker_proc’:
net/net_tcp_proc.c:289:7: error: ‘io_poll_method’ undeclared (first use in this function)
make: *** [net/net_tcp_proc.o] Error 1
</code></pre>

<p>Any advice would be appreciated.</p>

<p>Thanks</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/505">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcialstWkSxH9k7Z8bCE8D3kKOzhhrks5oH7vhgaJpZM4EV4de.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/OpenSIPS/opensips/issues/505"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>