Hello,
On 02/24/2010 11:44 AM, Henning Westerholt wrote:
On Wednesday 24 February 2010, Daniel-Constantin
Mierla wrote:
I get some errors when compiling registrar module
from master/modules_k.
Is something missing or my local repository got broken?
reg_mod.c: In function ‘default_expires_stats_update’:
reg_mod.c:532: error: ‘default_expires_stat’ undeclared (first use in
this function)
reg_mod.c:532: error: (Each undeclared identifier is reported only once
reg_mod.c:532: error: for each function it appears in.)
reg_mod.c: In function ‘min_expires_stats_update’:
reg_mod.c:536: error: ‘min_expires_stat’ undeclared (first use in this
function)
Hi Daniel,
in my checkout of the master branch it works.
the problem seems to be only when
compiling the kamailio flavour
make FLAVOUR=kamailio cfg
then the registrar module compilation fails.
Cheers,
Daniel
This are the definitions of this
variables in my repository:
$ grep "default_expires_stats_update"
reg_mod.h
99:extern void default_expires_stats_update(str*, str*);
config.c
51: {"default_expires", CFG_VAR_INT | CFG_CB_ONLY_ONCE, 0, 0, 0,
default_expires_stats_update,
config.h
46:extern void default_expires_stats_update(str*, str*);
reg_mod.c
531:void default_expires_stats_update(str* gname, str* name){
$ grep "default_expires_stats"
reg_mod.h
99:extern void default_expires_stats_update(str*, str*);
config.c
51: {"default_expires", CFG_VAR_INT | CFG_CB_ONLY_ONCE, 0, 0, 0,
default_expires_stats_update,
config.h
46:extern void default_expires_stats_update(str*, str*);
reg_mod.c
531:void default_expires_stats_update(str* gname, str* name){
Cheers,
Henning
--
Daniel-Constantin Mierla
Kamailio SIP Router Masterclass, Berlin, March 22-26, 2010
*
http://www.asipto.com/index.php/sip-router-masterclass/