[Asterisk-Users] Problems loading asterisk .
Moises Silva
moises.silva at gmail.com
Fri Jul 1 08:45:03 MST 2005
may be reading include/asterisk/module.h you can find the answer. May be this?
/*! Returns the ASTERISK_GPL_KEY */
/*!
* This returns the ASTERISK_GPL_KEY, signifiying that you agree to the terms of
* the GPL stated in the ASTERISK_GPL_KEY. Your module will not load if it does
* not return the EXACT message, i.e. char *key(void){return ASTERISK_GPL_KEY;}
*/
char *key(void); /*! Return the below mentioned key,
unmodified */
may be you missed to specify that function
best regards
On 6/1/05, Bharat M. Sarvan <bharat.sarvan at ezzibpo.com> wrote:
>
>
>
> Hello everybody,
>
> I have made a application of my own. (I.e. Def (
> )). I am able to compile the application successfully. And the .so file is
> created as well. But when I load asterisk I get the following error.
>
>
>
>
>
> [Def.so]Jul 1 19:20:06 WARNING[15664]: loader.c:295 ast_load_resource: No
> key routine in module /usr/lib/asterisk/modules/Def.so
>
> Jul 1 19:20:06 WARNING[15664]: loader.c:302 ast_load_resource: Key routine
> returned NULL in module /usr/lib/asterisk/modules/Def.so
>
> Jul 1 19:20:06 WARNING[15664]: loader.c:311 ast_load_resource: 2 error(s)
> loading module /usr/lib/asterisk/modules/Def.so, aborted
>
> Jul 1 19:20:06 WARNING[15664]: loader.c:440 load_modules: Loading module
> Def.so failed!
>
>
>
>
>
>
>
> So if anybody could help me out as to where must I be going wrong, it would
> be very kind of you.
>
>
>
>
>
>
>
>
>
> Regards,
>
> Bharat M. Sarvan
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
More information about the asterisk-users
mailing list