[OpenSIPS-Devel] opensips 1.7.0 fails to compile with STATISTICS disabled

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Aug 19 18:38:10 CEST 2011


Hi Ovidiu,

Thanks for report - this was fixed on svn trunk, 1.7 and 1.6

Regards,
Bogdan

On 08/19/2011 06:50 PM, Ovidiu Sas wrote:
> If opensips is compiled without statistics, it fails to compile:
>
> $ svn diff
> Index: Makefile.defs
> ===================================================================
> --- Makefile.defs       (revision 8261)
> +++ Makefile.defs       (working copy)
> @@ -480,7 +480,6 @@
>           -DUSE_TCP \
>           -DDISABLE_NAGLE \
>           -DHAVE_RESOLV_RES \
> -        -DSTATISTICS \
>           -DCHANGEABLE_DEBUG_LEVEL \
>           -DF_MALLOC \
>           #-DDBG_QM_MALLOC \
>
>
>
> The error is displayed below:
> $ make
> bison -d -b cfg cfg.y
> cfg.y: conflicts: 1 shift/reduce
> flex cfg.lex
> New SVN revision: 2:8259M
> Compiling action.c
> In file included from evi/../lock_alloc.h:56,
>                   from evi/../locking.h:68,
>                   from evi/event_interface.h:31,
>                   from evi/evi_modules.h:30,
>                   from ut.h:40,
>                   from action.c:59:
> evi/../mem/mem.h:74: error: expected ‘)’ before ‘*’ token
> make: *** [action.o] Error 1
>
>
> Regards,
> Ovidiu Sas
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>


-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"




More information about the Devel mailing list