Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the SNMP-OID-Translate CPAN distribution.

Report information
The Basics
Id: 110850
Status: resolved
Priority: 0/
Queue: SNMP-OID-Translate

People
Owner: RDRAKE [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Compilation fails with perl 5.23.6
On a FreeBSD 10.1 and a Debian system with installed net-snmp resp. libsnmp-dev package compilation fails with perl 5.23.6. On the same systems compilation is successful with older perls (e.g. with 5.22.1, 5.20.3, 5.18.4). Looking at the output it seems that there's a conflict with a (newly defined?) type U64: cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\"0.0002\" -DXS_VERSION=\"0.0002\" -DPIC -fPIC "-I/usr/perl5.23.6p/lib/5.23.6/amd64-freebsd/CORE" Translate.c In file included from Translate.xs:16: In file included from /usr/local/include/net-snmp/net-snmp-includes.h:71: In file included from /usr/local/include/net-snmp/utilities.h:42: /usr/local/include/net-snmp/library/int64.h:8:30: error: typedef redefinition with different types ('struct counter64' vs 'unsigned long') typedef struct counter64 U64; ^ /usr/perl5.23.6p/lib/5.23.6/amd64-freebsd/CORE/handy.h:179:17: note: previous definition is here typedef U64TYPE U64; ^ 1 error generated. *** Error code 1
On Sat Jan 02 09:25:45 2016, SREZIC wrote: Show quoted text
> On a FreeBSD 10.1 and a Debian system with installed net-snmp resp. > libsnmp-dev package compilation fails with perl 5.23.6. On the same > systems compilation is successful with older perls (e.g. with 5.22.1, > 5.20.3, 5.18.4). > > Looking at the output it seems that there's a conflict with a (newly > defined?) type U64: > > cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O > -DVERSION=\"0.0002\" -DXS_VERSION=\"0.0002\" -DPIC -fPIC "- > I/usr/perl5.23.6p/lib/5.23.6/amd64-freebsd/CORE" Translate.c > In file included from Translate.xs:16: > In file included from /usr/local/include/net-snmp/net-snmp- > includes.h:71: > In file included from /usr/local/include/net-snmp/utilities.h:42: > /usr/local/include/net-snmp/library/int64.h:8:30: error: typedef > redefinition with different types ('struct counter64' vs 'unsigned > long') > typedef struct counter64 U64; > ^ > /usr/perl5.23.6p/lib/5.23.6/amd64-freebsd/CORE/handy.h:179:17: note: > previous definition is here > typedef U64TYPE U64; > ^ > 1 error generated. > *** Error code 1
Closing this here. I'll work on it through the github issue.