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

Ovidiu Sas osas at voipembedded.com
Fri Aug 19 17:50:26 CEST 2011


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



More information about the Devel mailing list