Problem with new module domain

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with new module domain

mmarzuola

Hi all.
I have downloaded the new domain module, compiled and copied domain.so in /usr/local/lib/modules/.
When I start opensips I have these errors in the log:

Feb  3 09:31:58 opensips-lab opensips: ERROR:core:sr_load_module: could not open module </usr/local/lib/opensips/modules/domain.so>: /usr/local/lib/opensips/modules/domain.so: undefined symbol: register_alias_fct
Feb  3 09:31:58 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 35, column 13-14: failed to load module
Feb  3 09:31:59 opensips-lab opensips: ERROR:core:set_mod_param_regex: no module matching domain found |
Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 106, column 11-12: Can't set module parameter
Feb  3 09:31:59 opensips-lab opensips: ERROR:core:set_mod_param_regex: no module matching domain found |
Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 107, column 19-20: Can't set module parameter
Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 170, column 43-44: unknown command, missing loadmodule?
Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 202, column 25-26: unknown command, missing loadmodule?
Feb  3 09:31:59 opensips-lab opensips: ERROR:core:main: bad config file (5 errors)

Any suggestions?

Thanks in advance

Matteo Marzuola



----------------------------------------------------------------------------
Vuoi essere presente online?
Vuoi dare voce alla tua attivita`?
Acquista un dominio su domini.interfree.it.
A partire da 18,59 euro
----------------------------------------------------------------------------


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Problem with new module domain

Bogdan-Andrei Iancu
Hi Matteo,

have you also updated the core files (name_alias.{c,h} and main.c) ?

Because the changes in the domain module are strongly tide to other core
changes. So please update the whole SVN tree, recompile everything and
try again.

Thanks and regards,
Bogdan

[hidden email] wrote:

> Hi all.
> I have downloaded the new domain module, compiled and copied domain.so in /usr/local/lib/modules/.
> When I start opensips I have these errors in the log:
>
> Feb  3 09:31:58 opensips-lab opensips: ERROR:core:sr_load_module: could not open module </usr/local/lib/opensips/modules/domain.so>: /usr/local/lib/opensips/modules/domain.so: undefined symbol: register_alias_fct
> Feb  3 09:31:58 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 35, column 13-14: failed to load module
> Feb  3 09:31:59 opensips-lab opensips: ERROR:core:set_mod_param_regex: no module matching domain found |
> Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 106, column 11-12: Can't set module parameter
> Feb  3 09:31:59 opensips-lab opensips: ERROR:core:set_mod_param_regex: no module matching domain found |
> Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 107, column 19-20: Can't set module parameter
> Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 170, column 43-44: unknown command, missing loadmodule?
> Feb  3 09:31:59 opensips-lab opensips: CRITICAL:core:yyerror: parse error in config file, line 202, column 25-26: unknown command, missing loadmodule?
> Feb  3 09:31:59 opensips-lab opensips: ERROR:core:main: bad config file (5 errors)
>
> Any suggestions?
>
> Thanks in advance
>
> Matteo Marzuola
>
>
>
> ----------------------------------------------------------------------------
> Vuoi essere presente online?
> Vuoi dare voce alla tua attivita`?
> Acquista un dominio su domini.interfree.it.
> A partire da 18,59 euro
> ----------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users