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
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to