upgrade from 5.7.2.1 to 5.8

Jakov Simunic <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <AM0PR0702MB363444CB226B0938AE2092B598BC0@AM0PR0702MB3634.eurprd07.prod.outlook.com>
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>

--
Lijep pozdrav / Best regards
Jakov Šimunić

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.