|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
getting error while adding module to openserhi 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 include ../../Makefile.modules so please help me regarding this _______________________________________________ Users mailing list Users@... http://lists.openser.org/cgi-bin/mailman/listinfo/users |
|
|
Re: getting error while adding module to openserHi
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@... > http://lists.openser.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list Users@... http://lists.openser.org/cgi-bin/mailman/listinfo/users |
|
|
|
| Free Forum Powered by Nabble | Forum Help |