Regarding swinst_rpm.c

"Song, Xiongwei" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <PH0PR11MB519221FAC5CBC7F4EEB4A1CBEC629@PH0PR11MB5192.namprd11.prod.outlook.com>
Hi net-snmp experts,

I'm hitting the error below when building net-snmp:

814 ../../../net-snmp-5.7.3/agent/mibgroup/host/data_access/swinst_rpm.c:119:27: error: '_RPMVSF_NOSIGNATURES' undeclared (first use in this function)
815 rpmtsSetVSFlags( ts, (_RPMVSF_NOSIGNATURES|_RPMVSF_NODIGESTS));
816 ^
817 ../../../net-snmp-5.7.3/agent/mibgroup/host/data_access/swinst_rpm.c:119:27: note: each undeclared identifier is reported only once for each function it appea rs in
818 ../../../net-snmp-5.7.3/agent/mibgroup/host/data_access/swinst_rpm.c:119:48: error: '_RPMVSF_NODIGESTS' undeclared (first use in this function)
819 rpmtsSetVSFlags( ts, (_RPMVSF_NOSIGNATURES|_RPMVSF_NODIGESTS));

I found this error when I built rpm and net-snmp at same time. I checked the configure script, found that if the rpm headers are in rootfs, then built  swinst_rpm.c , otherwise not build. Hence this error would happen during populating rpm headers.

I would like to know if the swinst_rpm.c is necessary, what is this file for?

Regards,
Xiongwei

_______________________________________________
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.