Hello,
when I upgraded from net-snmp 5.7.2.1 to 5.8 our build broke:

snmp/libsnmp.a(alarmTable.o): In function `alarmTable_set_community':
/home/esc123/work/rsm_sw/ptxdist/platform-esc0201/build-target/sc-0.1/snmp/alarmTable.c:378:
 undefined reference to `vacm_parse_rocommunity'
snmp/libsnmp.a(alarmTable.o): In function `alarmTable_init':
/home/esc123/work/rsm_sw/ptxdist/platform-esc0201/build-target/sc-0.1/snmp/alarmTable.c:530:
 undefined reference to `vacm_standard_views'
snmp/libsnmp.a(version.o): In function `snmp_version_conf':
/home/esc123/work/rsm_sw/ptxdist/platform-esc0201/build-target/sc-0.1/snmp/version.c:43:
 undefined reference to `vacm_parse_rouser'
collect2: error: ld returned 1 exit status

I don't see any changes regarding those functions, should I include some other 
header?

Is there an example which uses these functions, grep'ing through the repo 
doesn't give me anything except vacm_conf.c and I know that i cannot include 
that file.

For now (with 5.7.2.1) we include the following in alarmTable.c:

#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>

Any kind of hint/suggestion is very welcome.

--
Lijep pozdrav / Kind Regards
Jakov Šimunić


_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to