Opened 18 years ago
Closed 18 years ago
#9171 closed defect (fixed)
net-snmp and variants +ipv6 can't compile
Reported by: | dev.mem@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | opendarwin.org@…, aschenke@… | |
Port: |
Description
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include -DINET6 -g -O2 -Ddarwin8 -c mibII/ipv6.c -fno-common -DPIC -o mibII/ipv6.lo mibII/ipv6.c: In function 'if_getifnet': mibII/ipv6.c:568: error: storage size of 'tmp' isn't known mibII/ipv6.c: In function 'var_ifv6Entry': mibII/ipv6.c:760: warning: pointer targets in return differ in signedness mibII/ipv6.c:802: error: storage size of 'ifnet' isn't known mibII/ipv6.c:803: error: storage size of 'ifaddr' isn't known mibII/ipv6.c:849: error: storage size of 'ifnet' isn't known mibII/ipv6.c:858: error: storage size of 'ifnet' isn't known mibII/ipv6.c: In function 'var_udp6': mibII/ipv6.c:1228: error: storage size of 'in6pcb' isn't known mibII/ipv6.c:1228: error: storage size of 'savpcb' isn't known mibII/ipv6.c: In function 'var_tcp6': mibII/ipv6.c:1641: error: storage size of 'in6pcb' isn't known mibII/ipv6.c:1641: error: storage size of 'savpcb' isn't known make[2]: * [mibII/ipv6.lo] Error 1 make[1]: * [subdirs] Error 1 make: * [subdirs] Error 1
Change History (3)
comment:1 Changed 18 years ago by aschenke@…
Cc: | aschenke@… opendarwin.org@… added |
---|
comment:2 Changed 18 years ago by opendarwin.org@…
rep_platform: | Macintosh Intel → Macintosh |
---|---|
Status: | new → assigned |
Yup, known issue. I think this is a Mac OS X 10.4.x KPI related issue, and will need patches or to include kernel-specific headers to build properly. I'd like to see patches/rewrite, feel free to contribute at will. Also filed a bug w/ net-snmp, bug #1498643
comment:3 Changed 18 years ago by ghosthound
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This is now fixed (between uprev to 5.4 and addition of "--with-out-mib-modules=mibII/ipv6" to the ipv6 variant.
Is this with 5.3 or 5.3.0.1?
Adding maintainer as CC.