[OpenSER-Users] getting error while adding module to openser
suresh tattikota
skumar453 at gmail.com
Mon Jul 7 14:05:30 CEST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080707/e87c5397/attachment.htm>
More information about the sr-users
mailing list