[OpenSIPS-Users] issue compiling opensips 1.6.3

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Oct 6 13:24:46 CEST 2010


Hi Stefano,

What distro are you using ?

See if it works by adding in modules/seas/ha.h after line 26 the 
following line:
    #include <sys/time.h>

Regards,
Bogdan

Stefano Pisani wrote:
>   Hello,
> When I tried to compile 1.6.3 I got this issue
>
> Compiling ha.c
> gcc -fPIC -DPIC  -g -O9 -funroll-loops  -Wcast-align  -Wall  
> -minline-all-stringops -falign-loops -mtune=pentium4  
> -DMOD_NAME='"seas"'    -DNAME='"opensips"' -DVERSION='"1.6.3-notls"' 
> -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.4.6"' -D__CPU_i386 
> -D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/opensips/"' 
> -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP 
> -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL 
> -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  
> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD 
> -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H 
> -DHAVE_TIMEGM -DHAVE_SIGIO_RT -DHAVE_SELECT -c ha.c -o ha.o
> In file included from ha.c:26:
> ha.h:29: error: field `sent' has incomplete type
> make[1]: *** [ha.o] Error 1
> make[1]: Leaving directory `/root/opensips-1.6.3-notls/modules/seas'
> make: *** [modules] Error 2
>
> Any advice to fix it?
>
> Thanks
> Stefano
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list