[MacPorts] #56600: net-snmp: typedef redefinition with different types
MacPorts
noreply at macports.org
Sun Jun 3 20:47:12 UTC 2018
#56600: net-snmp: typedef redefinition with different types
-------------------------+------------------------
Reporter: Schamschula | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: net-snmp
-------------------------+------------------------
While building net-snmp @5.7.3 on High Sierra, I get the following error:
{{{
info:build libtool: compile: /usr/bin/clang -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib -I/opt/local/include -I/opt/local/include
-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -pipe -Os -arch x86_64
-Udarwin17 -Ddarwin17=darwin17 -fno-common -DPERL_DARWIN -mmacosx-version-
min=10.13 -pipe -Os -fno-strict-aliasing -fstack-protector-strong
-I/opt/local/include -DPERL_USE_SAFE_PUTENV -I/opt/local/lib/perl5/5.26
/darwin-thread-multi-2level/CORE -c snmp_perl.c -fno-common -DPIC -o
.libs/snmp_perl.o
:info:build In file included from snmp_perl.c:9:
:info:build In file included from ../include/net-snmp/net-snmp-
includes.h:71:
:info:build In file included from ../include/net-snmp/utilities.h:42:
:info:build ../include/net-snmp/library/int64.h:8:30: error: typedef
redefinition with different types ('struct counter64' vs 'unsigned long')
:info:build typedef struct counter64 U64;
:info:build ^
:info:build /opt/local/lib/perl5/5.26/darwin-thread-multi-
2level/CORE/handy.h:179:17: note: previous definition is here
:info:build typedef U64TYPE U64;
:info:build ^
:info:build 1 error generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56600>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list