Hi Juha, right - there were some ifdefs missing - it should be fixed now.
Thanks and regards, Bogdan Juha Heinanen wrote: > in order to figure out if my != mystery would get solved by latest trunk > version of openser, i tried to build it, but compilation failed. > > i have in acc module Makefile: > > #DEFS+=-DSQL_ACC > ENABLE_RADIUS_ACC=true > > in acc_mod.c/mod_init() function there is no ifdef on db related stuff > in the beginning of the function: > > if (db_url.s) > db_url.len = strlen(db_url.s); > db_table_acc.len = strlen(db_table_acc.s); > ... > > causing compilation to fail: > > acc_mod.c: In function Æmod_initÇ: > acc_mod.c:317: error: Ædb_urlÇ undeclared (first use in this function) > acc_mod.c:317: error: (Each undeclared identifier is reported only once > acc_mod.c:317: error: for each function it appears in.) > acc_mod.c:319: error: Ædb_table_accÇ undeclared (first use in this function) > acc_mod.c:320: error: Ædb_table_mcÇ undeclared (first use in this function) > acc_mod.c:321: error: Æacc_method_colÇ undeclared (first use in this function) > acc_mod.c:322: error: Æacc_fromtag_colÇ undeclared (first use in this > function) > acc_mod.c:323: error: Æacc_totag_colÇ undeclared (first use in this function) > acc_mod.c:324: error: Æacc_callid_colÇ undeclared (first use in this function) > acc_mod.c:325: error: Æacc_sipcode_colÇ undeclared (first use in this > function) > acc_mod.c:326: error: Æacc_sipreason_colÇ undeclared (first use in this > function) > acc_mod.c:327: error: Æacc_time_colÇ undeclared (first use in this function) > > -- juha > > > ------------------------------------------------------------------------ > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.openser.org/cgi-bin/mailman/listinfo/devel > _______________________________________________ Devel mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/devel
