[OpenSER-Users] getting error while adding module to openser

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jul 8 13:12:55 CEST 2008


Well, the error message is quite self explaining:  *No such file or 
directory*

check if the */usr/src/OpenSER/openser-1.2.0-tls/modules/pna.so  *really 
exists.

Regards,
Bogdan


suresh tattikota wrote:
>  
> hi
> i checked it in log file,i am getting these errors
>  
> *ERROR: load_module: could not open module 
> </usr/src/OpenSER/openser-1.2.0-*
> ** 
> *tls/modules/pna.so>: 
> /usr/src/OpenSER/openser-1.2.0-tls/modules/pna.so: cannot open shared 
> object file: No such file or directory
> *
> *openser: parse error (54,13-14): failed to load module*
>  
> *ERROR: no version info in module 
> </usr/local/lib/openser/modules/pna.so>: 
> /usr/local/lib/openser/modules/pna.so: undefined symbol: module_version*
>
> * ERROR: no version info in module 
> </usr/local/lib/openser/modules/pna.so>: 
> /usr/local/lib/openser/modules/pna.so: undefined symbol: module_version
> *
>
>  
> thank u
>
>  
> On 7/7/08, *Bogdan-Andrei Iancu* <bogdan at voice-system.ro 
> <mailto:bogdan at voice-system.ro>> wrote:
>
>     Hi
>
>     is tour openser starting or not? if not, look (eventually in
>     syslog) for any startup errors.
>
>     Regards,
>     Bogdan
>
>     suresh tattikota wrote:
>
>         hi all
>         ** *this is the steps i followed to add module  *
>         ** * i took one example module as exMod and this exMod sub
>         directory is in directory called  /modules  *
>         ** ** *1. created one makefile *
>         *2.one .c file with one printf statement , .h file for
>         corresponding .c file *
>         *3.and added loadmodule "exMod.so" in openser.cfg file then *
>         *4. i run the openser with * make prifix=/usr/local/ all and
>         make prifix=/usr/local/ install
>         5  while i am running the openser it is not showing any thing
>             *the .c  an .h file of my* *exMod are *
>
>         *exMod.c:*
>
>         void print_modname()
>         {
>
>         printf("this is module name ");
>         }
>
>         *exMod.h*
>
>         void print_modname();
>
>         and my Makefile is :
>
>         include ../../Makefile.defs
>         auto_gen=
>         NAME=exMod.so
>         DEFS+=-I$(LOCALBASE)/include
>         LIBS=
>
>         include ../../Makefile.modules
>
>         so please help me regarding this
>
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.openser.org <mailto:Users at lists.openser.org>
>         http://lists.openser.org/cgi-bin/mailman/listinfo/users
>          
>
>
>




More information about the Users mailing list