jayshankar nair
2017-05-30 04:59:47 UTC
Hi,
In the net-snmp-5.7.3 code, configure with the below options.
./configure --with-perl-modules
On running make it is terminated with the below errors
I was wondering whether the latest net-snmp tar file contains fixes for the
below error. If not where i can download the latest net-snmp tar file which
fixes the below error
In file included from ../include/net-snmp/utilities.h:42:0,
from ../include/net-snmp/net-snmp-includes.h:71,
from snmp_perl.c:9:
../include/net-snmp/library/int64.h:8:30: error: conflicting types for 'U64'
typedef struct counter64 U64;
^~~
In file included from /usr/lib64/perl5/CORE/perl.h:2684:0,
from snmp_perl.c:6:
/usr/lib64/perl5/CORE/handy.h:179:17: note: previous declaration of 'U64'
was here
typedef U64TYPE U64;
^~~
Makefile:98: recipe for target 'snmp_perl.lo' failed
make[1]: *** [snmp_perl.lo] Error 1
make[1]: Leaving directory '/home/jayshankar/net-snmp/net-snmp-5.7.3/agent'
Makefile:656: recipe for target 'subdirs' failed
Thanks,
Jayshankar
In the net-snmp-5.7.3 code, configure with the below options.
./configure --with-perl-modules
On running make it is terminated with the below errors
I was wondering whether the latest net-snmp tar file contains fixes for the
below error. If not where i can download the latest net-snmp tar file which
fixes the below error
In file included from ../include/net-snmp/utilities.h:42:0,
from ../include/net-snmp/net-snmp-includes.h:71,
from snmp_perl.c:9:
../include/net-snmp/library/int64.h:8:30: error: conflicting types for 'U64'
typedef struct counter64 U64;
^~~
In file included from /usr/lib64/perl5/CORE/perl.h:2684:0,
from snmp_perl.c:6:
/usr/lib64/perl5/CORE/handy.h:179:17: note: previous declaration of 'U64'
was here
typedef U64TYPE U64;
^~~
Makefile:98: recipe for target 'snmp_perl.lo' failed
make[1]: *** [snmp_perl.lo] Error 1
make[1]: Leaving directory '/home/jayshankar/net-snmp/net-snmp-5.7.3/agent'
Makefile:656: recipe for target 'subdirs' failed
Thanks,
Jayshankar