Hi everyone,

I'm trying to compile the newest version of net-snmp (5.0.7) for MacOS X 10.2.3, but am having the same problem as with the previous version:

gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -no-cpp-precomp -I/sw/include -g -O2 -Ddarwin6 -c mibII/tcp.c -fno-common -DPIC -o mibII/.libs/tcp.lo
In file included from mibII/tcp.c:104:
/usr/include/netinet/tcpip.h:66: field `ti_i' has incomplete type
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.7-1 failed

So obviously there's a problem with the tcpip.h header provided by Apple... Can anyone offer any solutions? I'm not quite sure how to tackle this...

Thanks!



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to