[Asterisk-Dev] problem in loading module with asterisk

Kamran Ahmad p_kami at yahoo.com
Fri Feb 18 08:36:29 MST 2005


hi developers

i have developed a module(having a c file) for
asterisk. it is compiling well and installed .so file
to /usr/lib/asterisk/modules/. now when i try to load
it with asterisk it is giving me error
here is the error message

 [app_prepaid_auth_pin.so]Feb 19 20:06:47
WARNING[5991]: loader.c:301 __load_resource:
/usr/lib/asterisk/modules/app_prepaid_auth_pin.so:
undefined symbol: SQLExecDirect
Feb 19 20:06:47 WARNING[5991]: loader.c:509
load_modules: Loading module app_prepaid_auth_pin.so
failed!

can any one tell me what could be the problem.

i have following main function in my .c file

int load_module(void)
int unload_module(void)
static int prepaidauthcid_exec(struct ast_channel
*chan, void *data)

Kamran Ahamd


		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 



More information about the asterisk-dev mailing list