much better if mention what was missing as well.<div> </div><div>anyway, good to go.<br><br>thanks.<br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 9:55 PM, Antonio <span dir="ltr"><<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
Please ignore. <br>
<br>
I found what was the problem... missing dev library...<br>
<br>
<br>
Thanks<div><div class="h5"><br>
<br>
<br>
On Thu, 2012-10-11 at 18:52 +0200, Antonio wrote:<br>
<blockquote type="CITE">
Can't compile lastest HEAD....<br>
<br>
<br>
-O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -DHAVE_CONFIG_H -c /home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr/mod_json_cdr.c -o mod_json_cdr.o >/dev/null 2>&1<br>
Creating mod_json_cdr.la...<br>
make[6]: Leaving directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr'<br>
make[5]: Leaving directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_json_cdr'<br>
<br>
making all mod_snmp<br>
make[5]: Entering directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp'<br>
make[6]: Entering directory `/home/marces/svn/packages/trunk/src/freeswitch/freeswitch-git/src/mod/event_handlers/mod_snmp'<br>
Compiling subagent.c...<br>
subagent.c:36:38: error: net-snmp/net-snmp-config.h: No such file or directory<br>
subagent.c:37:40: error: net-snmp/net-snmp-includes.h: No such file or directory<br>
subagent.c:38:52: error: net-snmp/agent/net-snmp-agent-includes.h: No such file or directory<br>
In file included from subagent.c:39:<br>
subagent.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘handle_identity’<br>
subagent.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘handle_systemStats’<br>
subagent.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘handle_channelList’<br>
subagent.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
subagent.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
subagent.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
subagent.c: In function ‘channelList_callback’:<br>
subagent.c:69: error: ‘netsnmp_tdata_row’ undeclared (first use in this function)<br>
subagent.c:69: error: (Each undeclared identifier is reported only once<br>
subagent.c:69: error: for each function it appears in.)<br>
subagent.c:69: error: ‘row’ undeclared (first use in this function)<br>
cc1: warnings being treated as errors<br>
subagent.c:73: error: implicit declaration of function ‘netsnmp_tdata_create_row’<br>
subagent.c:111: error: implicit declaration of function ‘netsnmp_tdata_row_add_index’<br>
subagent.c:111: error: ‘ASN_INTEGER’ undeclared (first use in this function)<br>
subagent.c:112: error: implicit declaration of function ‘netsnmp_tdata_add_row’<br>
subagent.c:112: error: ‘ch_table’ undeclared (first use in this function)<br>
subagent.c: At top level:<br>
subagent.c:117: error: expected ‘)’ before ‘*’ token<br>
subagent.c:130: error: expected ‘)’ before ‘*’ token<br>
subagent.c: In function ‘init_subagent’:<br>
subagent.c:154: error: ISO C forbids nested functions<br>
subagent.c:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘identity_oid’<br>
subagent.c:154: error: ‘identity_oid’ undeclared (first use in this function)<br>
subagent.c:154: error: expected expression before ‘]’ token<br>
subagent.c:155: error: ISO C forbids nested functions<br>
subagent.c:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘systemStats_oid’<br>
subagent.c:155: error: ISO C90 forbids mixed declarations and code<br>
subagent.c:155: error: ‘systemStats_oid’ undeclared (first use in this function)<br>
subagent.c:155: error: expected expression before ‘]’ token<br>
subagent.c:156: error: ISO C forbids nested functions<br>
subagent.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘channelList_oid’<br>
subagent.c:156: error: ISO C90 forbids mixed declarations and code<br>
subagent.c:156: error: ‘channelList_oid’ undeclared (first use in this function)<br>
subagent.c:156: error: expected expression before ‘]’ token<br>
subagent.c:158: error: implicit declaration of function ‘DEBUGMSGTL’<br>
subagent.c:158: error: left-hand operand of comma expression has no effect<br>
subagent.c:160: error: implicit declaration of function ‘netsnmp_register_scalar_group’<br>
subagent.c:160: error: implicit declaration of function ‘netsnmp_create_handler_registration’<br>
subagent.c:160: error: ‘handle_identity’ undeclared (first use in this function)<br>
subagent.c:160: error: implicit declaration of function ‘OID_LENGTH’<br>
subagent.c:160: error: ‘HANDLER_CAN_RONLY’ undeclared (first use in this function)<br>
subagent.c:161: error: ‘handle_systemStats’ undeclared (first use in this function)<br>
subagent.c:163: error: ‘ch_table_info’ undeclared (first use in this function)<br>
subagent.c:163: error: ‘netsnmp_table_registration_info’ undeclared (first use in this function)<br>
subagent.c:164: error: implicit declaration of function ‘netsnmp_table_helper_add_indexes’<br>
subagent.c:164: error: ‘ASN_INTEGER’ undeclared (first use in this function)<br>
subagent.c:167: error: ‘ch_table’ undeclared (first use in this function)<br>
subagent.c:167: error: implicit declaration of function ‘netsnmp_tdata_create_table’<br>
subagent.c:168: error: ‘ch_reginfo’ undeclared (first use in this function)<br>
subagent.c:168: error: ‘handle_channelList’ undeclared (first use in this function)<br>
subagent.c:169: error: implicit declaration of function ‘netsnmp_tdata_register’<br>
subagent.c:170: error: implicit declaration of function ‘netsnmp_inject_handler’<br>
subagent.c:170: error: implicit declaration of function ‘netsnmp_get_cache_handler’<br>
subagent.c:170: error: ‘channelList_load’ undeclared (first use in this function)<br>
subagent.c:170: error: ‘channelList_free’ undeclared (first use in this function)<br>
subagent.c: At top level:<br>
subagent.c:174: error: expected ‘)’ before ‘*’ token<br>
subagent.c:209: error: expected ‘)’ before ‘*’ token<br>
subagent.c:276: error: expected ‘)’ before ‘*’ token<br>
make[6]: *** [subagent.o] Error 1<br>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>--
Un cordial saludo / Best regards,
_________________________
António Silva
E-mail:<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>
</pre>
</td>
</tr>
</tbody></table>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>--
Un cordial saludo / Best regards,
_________________________
António Silva
E-mail:<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>
</pre>
</td>
</tr>
</tbody></table>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>
</div>