On May 24, 2011, at 1:58 PM, Hanspeter Niederstrasser wrote: > On 05/24/2011 7:26 AM, trond kandal wrote: >> >> Hello >> >> Has anybody experienced that net-snmp-unified-5.6.1-1 fails to compile? > > Hard to say given that you don't actually provide the error message you get. >
Thank you for answering :) Sorry, but I thought I would try to probe before submitting the error-report. >> Configuration: >> Mac OSX 10.6.7 >> $ uname -a >> ... Darwin Kernel Version 10.7.0 ... root:xnu-1504.9.37~1/RELEASE_I386 .. >> $ fink --help >> Fink 0.30.0 > > "fink -V | head -n 3" is more useful. > $ fink -V | head -n 3 Package manager version: 0.30.0 Distribution version: selfupdate-rsync Tue May 24 13:21:25 2011, 10.6, x86_64 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto $ > Anyway, net-snmp-unified fails here on 10.5/i386 as well: > > making all in > /sw/buildworld.build/net-snmp-unified-5.6.1-1/net-snmp-5.6.1/agent/mibgroup > /bin/sh ../../libtool --mode=compile gcc -I../../include -I. > -I../../agent -I../../agent/mibgroup -I../../snmplib > -I/sw/lib/system-openssl/include -I/sw/lib/system-openssl/include > -I/sw/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2 > -Udarwin9 -Ddarwin9=darwin9 -c -o mibII/ipv6.lo mibII/ipv6.c > libtool: compile: gcc -I../../include -I. -I../../agent > -I../../agent/mibgroup -I../../snmplib -I/sw/lib/system-openssl/include > -I/sw/lib/system-openssl/include -I/sw/include -DNETSNMP_ENABLE_IPV6 > -fno-strict-aliasing -g -O2 -Udarwin9 -Ddarwin9=darwin9 -c mibII/ipv6.c > -fno-common -DPIC -o mibII/.libs/ipv6.o > mibII/ipv6.c:603: warning: 'struct ifnet' declared inside parameter list > mibII/ipv6.c:603: warning: its scope is only this definition or > declaration, which is probably not what you want > mibII/ipv6.c: In function 'if_getifnet': > mibII/ipv6.c:606: error: storage size of 'tmp' isn't known > mibII/ipv6.c: In function 'var_ifv6Entry': > mibII/ipv6.c:805: warning: pointer targets in return differ in signedness > mibII/ipv6.c:847: error: storage size of 'ifnet' isn't known > mibII/ipv6.c:848: error: storage size of 'ifaddr' isn't known > mibII/ipv6.c:900: error: storage size of 'ifnet' isn't known > mibII/ipv6.c:909: error: storage size of 'ifnet' isn't known > mibII/ipv6.c: In function 'var_udp6': > mibII/ipv6.c:1283: error: storage size of 'in6pcb' isn't known > mibII/ipv6.c:1283: error: storage size of 'savpcb' isn't known > mibII/ipv6.c: In function 'var_tcp6': > mibII/ipv6.c:1694: error: storage size of 'in6pcb' isn't known > mibII/ipv6.c:1694: error: storage size of 'savpcb' isn't known > make[2]: *** [mibII/ipv6.lo] Error 1 > make[1]: *** [subdirs] Error 1 > probably the same problem: ... libtool: compile: gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/sw/lib/system-openssl/include -I/sw/lib/system-openssl/include -I/sw/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2 -Udarwin10 -Ddarwin10=darwin10 -c mibII/ipv6.c -fno-common -DPIC -o mibII/.libs/ipv6.o mibII/ipv6.c:603: warning: 'struct ifnet' declared inside parameter list mibII/ipv6.c:603: warning: its scope is only this definition or declaration, which is probably not what you want mibII/ipv6.c: In function 'if_getifnet': mibII/ipv6.c:606: error: storage size of 'tmp' isn't known mibII/ipv6.c: In function 'var_ifv6Entry': mibII/ipv6.c:847: error: storage size of 'ifnet' isn't known mibII/ipv6.c:848: error: storage size of 'ifaddr' isn't known mibII/ipv6.c:900: error: storage size of 'ifnet' isn't known mibII/ipv6.c:909: error: storage size of 'ifnet' isn't known mibII/ipv6.c: In function 'var_udp6': mibII/ipv6.c:1283: error: storage size of 'in6pcb' isn't known mibII/ipv6.c:1283: error: storage size of 'savpcb' isn't known mibII/ipv6.c:1330: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c:1330: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c:1340: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c:1340: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c: In function 'var_tcp6': mibII/ipv6.c:1694: error: storage size of 'in6pcb' isn't known mibII/ipv6.c:1694: error: storage size of 'savpcb' isn't known mibII/ipv6.c:1742: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c:1742: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c:1752: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' mibII/ipv6.c:1752: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'caddr_t' make[2]: *** [mibII/ipv6.lo] Error 1 make[1]: *** [subdirs] Error 1 make: *** [subdirs] Error 1 ... Thank you Trond. -- Trond Kandal Org. og Info.avd. voice: +47 73597497 Applikasjonsseksjonen NTNU mobile:+47 91897110 NTNU IT 7491 Trondheim fax: +47 73598200 http://www.ntnu.no/adm/it ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
