<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Please ignore. <BR>
<BR>
I found what was the problem... missing dev library...<BR>
<BR>
<BR>
Thanks<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%">
<TR>
<TD>
<PRE>
--
Un cordial saludo / Best regards,
_________________________
António Silva
E-mail:<A HREF="mailto:asilva@wirelessmundi.com">asilva@wirelessmundi.com</A>
</PRE>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Un cordial saludo / Best regards,
_________________________
António Silva
E-mail:<A HREF="mailto:asilva@wirelessmundi.com">asilva@wirelessmundi.com</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>