Hello,
I am developing an asterisk module which I compile and deploy on FreeBSD. I, however, get the warnings shown below and the module cannot be loaded. I cannot figure out what is wrong since I have the routines (load_module, unload_module, usecount, description, key) in my code. Am I possibly doing something wrong during the make/build of my module? I am running Asterisk 1.2.11 and gradually loosing all my nerves.
Thanks for your Help,
Roland.
Warnings on Asterisk start:
Sep 11 15:56:40 WARNING[21548] loader.c: No load_module in module /usr/local/lib/asterisk/modules/app_yakadial.so
Sep 11 15:56:40 WARNING[21548] loader.c: No unload_module in module /usr/local/lib/asterisk/modules/app_yakadial.so
Sep 11 15:56:40 WARNING[21548] loader.c: No usecount in module /usr/local/lib/asterisk/modules/app_yakadial.so
Sep 11 15:56:40 WARNING[21548] loader.c: No description in module /usr/local/lib/asterisk/modules/app_yakadial.so
Sep 11 15:56:40 WARNING[21548] loader.c: No key routine in module /usr/local/lib/asterisk/modules/app_yakadial.so
Sep 11 15:56:40 WARNING[21548] loader.c: Key routine returned NULL in module /usr/local/lib/asterisk/modules/app_yakadial.so
Source code declarations are:
char *description(void)
{
return tdesc;
}
int usecount(void)
{
int res;
STANDARD_USECOUNT(res);
return res;
}
char *key()
{
return ASTERISK_GPL_KEY;
}
...