<div dir="ltr">Hi,<br><br>Great but there are still some errors:<br><br>config.mak included<br>make[1]: Wejście do katalogu `/home/voip/src/ser/trunk/modules/auth_identity&#39;<br>gcc -fPIC -DPIC -m64 -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=opteron -Wall&nbsp;&nbsp; -DNAME=&#39;&quot;ser&quot;&#39; -DVERSION=&#39;&quot;2.1.0-dev23-make&quot;&#39; -DARCH=&#39;&quot;x86_64&quot;&#39; -DOS=&#39;linux_&#39; -DOS_QUOTED=&#39;&quot;linux&quot;&#39; -DCOMPILER=&#39;&quot;gcc 4.3.1&quot;&#39; -D__CPU_x86_64 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR=&#39;&quot;/usr/local/etc/ser/&quot;&#39; -DMODS_DIR=&#39;&quot;/usr/local/lib/ser/modules/&quot;&#39; -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT&nbsp;&nbsp; -Wall -I/usr/local/ssl/include -c auth_identity.c -o auth_identity.o<br>
auth_identity.c: In function 'mod_init':<br>auth_identity.c:177: error: 'openssl' undeclared (first use in this function)<br>auth_identity.c:177: error: (Each undeclared identifier is reported only once<br>auth_identity.c:177: error: for each function it appears in.)<br>
auth_identity.c:177: error: expected ';' before 'verify'<br>make[1]: *** [auth_identity.o] Błąd 1<br>make[1]: Opuszczenie katalogu `/home/voip/src/ser/trunk/modules/auth_identity&#39;<br>make: *** [modules] Błąd 1<br><br>
config.mak included<br>make[1]: Wejście do katalogu `/home/voip/src/ser/trunk/modules/rr&#39;<br>make -wC ../../lib/cds/&nbsp; compile_for_install=no<br>Makefile.defs defs skipped<br>make[2]: Wejście do katalogu `/home/voip/src/ser/trunk/lib/cds&#39;<br>
gcc -fPIC -DPIC -fPIC -DPIC -m64 -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=opteron -Wall&nbsp; -I/home/voip/src/ser/trunk/lib/cds/.. -I/home/voip/src/ser/trunk/lib/cds/../.. -DNAME=&#39;&quot;ser&quot;&#39; -DVERSION=&#39;&quot;2.1.0-dev23-make&quot;&#39; -DARCH=&#39;&quot;x86_64&quot;&#39; -DOS=&#39;linux_&#39; -DOS_QUOTED=&#39;&quot;linux&quot;&#39; -DCOMPILER=&#39;&quot;gcc 4.3.1&quot;&#39; -D__CPU_x86_64 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR=&#39;&quot;/usr/local/etc/ser/&quot;&#39; -DMODS_DIR=&#39;&quot;/usr/local/lib/ser/modules/&quot;&#39; -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT&nbsp;&nbsp; -DSER -c ref_cntr.c -o ref_cntr.o<br>
In file included from /home/voip/src/ser/trunk/lib/cds/../../mem/shm_mem.h:47,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../lock_alloc.h:58,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../locking.h:71,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/sync.h:30,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/ref_cntr.h:91,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ref_cntr.c:1:<br>/usr/include/sys/types.h:46: error: conflicting types for 'loff_t'<br>
/usr/include/linux/types.h:30: error: previous declaration of 'loff_t' was here<br>/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'<br>/usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here<br>
In file included from /usr/include/sys/types.h:133,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../mem/shm_mem.h:47,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../lock_alloc.h:58,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../locking.h:71,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/sync.h:30,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/ref_cntr.h:91,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ref_cntr.c:1:<br>/usr/include/time.h:105: error: conflicting types for 'timer_t'<br>
/usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here<br>In file included from /home/voip/src/ser/trunk/lib/cds/../../mem/shm_mem.h:47,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../lock_alloc.h:58,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../locking.h:71,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/sync.h:30,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/ref_cntr.h:91,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ref_cntr.c:1:<br>/usr/include/sys/types.h:198: error: conflicting types for 'int64_t'<br>/usr/include/linux/types.h:98: error: previous declaration of 'int64_t' was here<br>/usr/include/sys/types.h:204: error: conflicting types for 'u_int64_t'<br>
/usr/include/linux/types.h:97: error: previous declaration of 'u_int64_t' was here<br>In file included from /usr/include/sys/types.h:220,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../mem/shm_mem.h:47,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../lock_alloc.h:58,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../locking.h:71,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/sync.h:30,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/ref_cntr.h:91,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ref_cntr.c:1:<br>/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'<br>/usr/include/linux/types.h:12: error: previous declaration of 'fd_set' was here<br>
In file included from /home/voip/src/ser/trunk/lib/cds/../../mem/shm_mem.h:47,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../lock_alloc.h:58,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../../locking.h:71,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/sync.h:30,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/voip/src/ser/trunk/lib/cds/../cds/ref_cntr.h:91,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ref_cntr.c:1:<br>/usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t'<br>
/usr/include/linux/types.h:124: error: previous declaration of 'blkcnt_t' was here<br>make[2]: *** [ref_cntr.o] Błąd 1<br>make[2]: Opuszczenie katalogu `/home/voip/src/ser/trunk/lib/cds&#39;<br>make[1]: *** [../../lib/cds/libser_cds.so] Błąd 2<br>
make[1]: Opuszczenie katalogu `/home/voip/src/ser/trunk/modules/rr&#39;<br>make: *** [modules] Błąd 1<br><br>Regards<br>Tomasz<br><br><div class="gmail_quote">On Wed, Aug 6, 2008 at 5:28 PM, Andrei Pelinescu-Onciul <span dir="ltr">&lt;<a href="mailto:andrei@iptel.org">andrei@iptel.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Aug 06, 2008 at 01:11, Tomasz Zieleniewski &lt;<a href="mailto:tzieleniewski@gmail.com">tzieleniewski@gmail.com</a>&gt; wrote:<br>

&gt; Hi,<br>
&gt;<br>
&gt; When I try to compile ser from sources I get the following conflicting types<br>
&gt; errors:<br>
&gt; gcc -m64 -g -O9 -funroll-loops -Wcast-align -minline-all-stringops<br>
&gt; -falign-loops -ftree-vectorize -mtune=opteron -Wall &nbsp; -DNAME=&#39;&quot;ser&quot;&#39;<br>
&gt; -DVERSION=&#39;&quot;2.1.0-dev23-make&quot;&#39; -DARCH=&#39;&quot;x86_64&quot;&#39; -DOS=&#39;linux_&#39;<br>
&gt; -DOS_QUOTED=&#39;&quot;linux&quot;&#39; -DCOMPILER=&#39;&quot;gcc 4.3.1&quot;&#39; -D__CPU_x86_64 -D__OS_linux<br>
&gt; -DSER_VER=2001000 -DCFG_DIR=&#39;&quot;/usr/local/etc/ser/&quot;&#39;<br>
&gt; -DMODS_DIR=&#39;&quot;/usr/local/lib/ser/modules/&quot;&#39; -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP<br>
&gt; -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE<br>
&gt; -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST<br>
&gt; -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK<br>
&gt; -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM<br>
&gt; -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD<br>
&gt; -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM<br>
&gt; -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT<br>
&gt; -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT &nbsp;-c lock_ops.c -o<br>
&gt; lock_ops.o<br>
&gt; In file included from ut.h:53,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from lock_ops.c:28:<br>
&gt; /usr/include/sys/types.h:46: error: conflicting types for &#39;loff_t&#39;<br>
&gt; /usr/include/linux/types.h:30: error: previous declaration of &#39;loff_t&#39; was<br>
&gt; here<br>
&gt; /usr/include/sys/types.h:62: error: conflicting types for &#39;dev_t&#39;<br>
&gt; /usr/include/linux/types.h:13: error: previous declaration of &#39;dev_t&#39; was<br>
&gt; here<br>
<br>
</div></div>[...]<br>
<div class="Ih2E3d">&gt;<br>
&gt; Is there any fix for that?<br>
<br>
</div>Thanks for the bug report. I&#39;ve just fixed it on cvs, so &nbsp;update the sources<br>
&nbsp;and it should work.<br>
It seems to be a bug / conflict between recent linux-libc-dev and<br>
libc6-dev headers on debian sid.<br>
<font color="#888888"><br>
Andrei<br>
</font></blockquote></div><br></div>