Hi everyone!
I'm trying to update the net-snmp package to 5.0.6 (it's long overdue),
but I'm getting the following error:
gcc -g -O2 -Ddarwin6 -I../../include -I../../include -I. -I../.. -I.
-I./../.. -I./../../snmplib -I./.. -I.. -no-cpp-precomp -I/sw/include
-c mibII/tcp.c -fno-common -DPIC -o mibII/.libs/tcp.lo
mibII/tcp.c:278: warning: `struct tcpstat' declared inside parameter
list
mibII/tcp.c:278: warning: its scope is only this definition or
declaration, which is probably not what you want
mibII/tcp.c: In function `var_tcp':
mibII/tcp.c:287: storage size of `tcpstat' isn't known
mibII/tcp.c:287: storage size of `tcpstat' isn't known
mibII/tcp.c: At top level:
mibII/tcp.c:464: warning: `struct tcpstat' declared inside parameter
list
mibII/tcp.c:465: conflicting types for `read_tcp_stat'
mibII/tcp.c:278: previous declaration of `read_tcp_stat'
mibII/tcp.c: In function `read_tcp_stat':
mibII/tcp.c:586: dereferencing pointer to incomplete type
make[2]: *** [mibII/tcp.lo] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1
### execution of make failed, exit code 2
Failed: compiling net-snmp-5.0.6-1 failed
Any ideas on how to fix this...? Could it have anything to do with some
of the headers removed in 10.2? (I would expect a file not found error
to have come up, though...)
Thanks!
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
- Re: [Fink-devel] Problems compiling net-snmp 5.0.6 Jeremy Higgs
- Re: [Fink-devel] Problems compiling net-snmp 5.0.6 Ben Hines
- Re: [Fink-devel] Problems compiling net-snmp 5.0.6 Jeremy Higgs
- Re: [Fink-devel] Problems compiling net-snmp 5.... Benjamin Reed
- Re: [Fink-devel] Problems compiling net-snmp 5.0.6 Jeremy Higgs
