<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi Kevin, I need I little bit of help again. <br><br>I have installed in my PC for testing the last available version of asterisk for testings. And I am using easyeclipse with cdt plugin to create a C project and compile the app_skel.c source file from the asterisk-1.4.18.1. (GCC 4.1.3) <br><br>I noticed some compilation problems:<br>- load_module and unload_module can't be static.<br>- AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Skeleton (sample) Application") at the bottom need to be commented. error: ‘AST_MODULE’ doesn't be declared here (not a function). <br><br>This is rare, because if do Ctrl + Click over AST_MODULE_INFO_STANDARD, the eclipse brings me to module.h file where is the #define
clause.<br><br>Making the necessary changes it compile but when I try to load the module in the CLI it returns this message<br><br><span style="font-style: italic;">[Mar 28 18:03:47] WARNING[18665]: loader.c:376 load_dynamic_module: Module 'app_skel.so' did not register itself during load</span><br style="font-style: italic;"><span style="font-style: italic;">[Mar 28 18:03:47] WARNING[18665]: loader.c:649 load_resource: Module 'app_skel.so' could not be loaded.</span><br><br>Any Ideas?<br><br>best regards.<br>---- Mensaje original ----<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">De: Kevin P. Fleming <kpfleming@digium.com><br>Para: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><br>Enviado: martes 25 de marzo de 2008, 13:59:13<br>Asunto: Re: [asterisk-users] Application registration on Asterisk 1.4 and 1.6?<br><br>jonas boering wrote:<br><br>> Hi Kevin I've
just arrived from my holidays I have reviewed my emails<br>> and saw that for some reason most part of my last message appears to be<br>> cut off.<br>> <br>> Continuing with the previous discussion, can you provide an example<br>> skeleton code of how the new registration way works on asterisk 1.4 and 1.6?<br><br>Of course... it's already present in the tree, amazingly it is even<br>called 'app_skel.c'.<br><br>-- <br>Kevin P. Fleming<br>Director of Software Technologies<br>Digium, Inc. - "The Genuine Asterisk Experience" (TM)<br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div><br></div></div><br>
<hr size=1><br><font face="Verdana" size="-2">Yahoo! Encuentros<br>Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros.<br> Visitá http://yahoo.cupidovirtual.com/servlet/NewRegistration</font></body></html>