Making all in res make[1]: Entering directory `/usr/src/svn/callweaver/trunk/res' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O0 -D__OPBX_DEBUG_MALLOC -DDEBUG_SCHEDULER -DSTACK_BACKTRACES -DDETECT_DEADLOCKS -MT res_snmp_la-agent.lo -MD -MP -MF ".deps/res_snmp_la-agent.Tpo" -c -o res_snmp_la-agent.lo `test -f 'snmp/agent.c' || echo './'`snmp/agent.c; \ then mv -f ".deps/res_snmp_la-agent.Tpo" ".deps/res_snmp_la-agent.Plo"; else rm -f ".deps/res_snmp_la-agent.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O0 -D__OPBX_DEBUG_MALLOC -DDEBUG_SCHEDULER -DSTACK_BACKTRACES -DDETECT_DEADLOCKS -MT res_snmp_la-agent.lo -MD -MP -MF .deps/res_snmp_la-agent.Tpo -c snmp/agent.c -fPIC -DPIC -o .libs/res_snmp_la-agent.o In file included from ../include/callweaver.h:23, from snmp/agent.c:12: ../include/confdefs.h:46:1: warning: "DEBUG_SCHEDULER" redefined :1:1: warning: this is the location of the previous definition ../include/confdefs.h:549:1: warning: "STACK_BACKTRACES" redefined :1:1: warning: this is the location of the previous definition ../include/confdefs.h:629:1: warning: "__OPBX_DEBUG_MALLOC" redefined :1:1: warning: this is the location of the previous definition In file included from ../include/callweaver/channel.h:26, from snmp/agent.c:20: ../include/confdefs.h:516:1: warning: "PACKAGE_BUGREPORT" redefined In file included from snmp/agent.c:16: /usr/include/net-snmp/net-snmp-config.h:946:1: warning: this is the location of the previous definition In file included from ../include/callweaver/channel.h:26, from snmp/agent.c:20: ../include/confdefs.h:519:1: warning: "PACKAGE_NAME" redefined In file included from snmp/agent.c:16: /usr/include/net-snmp/net-snmp-config.h:949:1: warning: this is the location of the previous definition In file included from ../include/callweaver/channel.h:26, from snmp/agent.c:20: ../include/confdefs.h:522:1: warning: "PACKAGE_STRING" redefined In file included from snmp/agent.c:16: /usr/include/net-snmp/net-snmp-config.h:952:1: warning: this is the location of the previous definition In file included from ../include/callweaver/channel.h:26, from snmp/agent.c:20: ../include/confdefs.h:525:1: warning: "PACKAGE_TARNAME" redefined In file included from snmp/agent.c:16: /usr/include/net-snmp/net-snmp-config.h:955:1: warning: this is the location of the previous definition In file included from ../include/callweaver/channel.h:26, from snmp/agent.c:20: ../include/confdefs.h:528:1: warning: "PACKAGE_VERSION" redefined In file included from snmp/agent.c:16: /usr/include/net-snmp/net-snmp-config.h:958:1: warning: this is the location of the previous definition snmp/agent.c: In function 'opbx_var_channel_types': snmp/agent.c:517: warning: assignment makes pointer from integer without a cast snmp/agent.c: In function 'opbx_var_channel_types_table': snmp/agent.c:540: warning: assignment makes pointer from integer without a cast snmp/agent.c: In function 'opbx_var_indications': snmp/agent.c:627: warning: assignment makes pointer from integer without a cast snmp/agent.c: In function 'opbx_var_indications_table': snmp/agent.c:656: warning: assignment makes pointer from integer without a cast snmp/agent.c: In function 'opbx_var_Version': snmp/agent.c:716: error: 'CALLWEAVER_VERSION' undeclared (first use in this function) snmp/agent.c:716: error: (Each undeclared identifier is reported only once snmp/agent.c:716: error: for each function it appears in.) snmp/agent.c:719: error: 'CALLWEAVER_VERSION_NUM' undeclared (first use in this function) make[1]: *** [res_snmp_la-agent.lo] Error 1 make[1]: Leaving directory `/usr/src/svn/callweaver/trunk/res' make: *** [all-recursive] Error 1