SRubbish2011TT 发表于 2011-03-16 16:02

在HP-UX B.11.11上编译NET-SNMP-5.5,已经折腾很久了,就是有错误!求助。

错误还是:
large_fd_set.c: In function 'netsnmp_copy_large_fd_set_to_fd_set':
large_fd_set.c:181: warning: incompatible implicit declaration of built-in function 'memset'
system.c: In function 'get_myaddr':
system.c:653: error: storage size of 'ifc' isn't known
system.c:669: error: invalid application of 'sizeof' to incomplete type 'struct ifreq'
system.c:674: error: invalid application of 'sizeof' to incomplete type 'struct ifreq'
system.c:677: error: invalid application of 'sizeof' to incomplete type 'struct ifconf'
system.c:708: error: increment of pointer to unknown structure
system.c:708: error: arithmetic on pointer to an incomplete type
system.c:711: error: dereferencing pointer to incomplete type
system.c:714: error: dereferencing pointer to incomplete type
system.c:716: error: invalid application of 'sizeof' to incomplete type 'struct ifreq'
system.c:719: error: dereferencing pointer to incomplete type
system.c:719: error: 'IFF_UP' undeclared (first use in this function)
system.c:719: error: (Each undeclared identifier is reported only once
system.c:719: error: for each function it appears in.)
system.c:723: error: dereferencing pointer to incomplete type
system.c:730: error: invalid application of 'sizeof' to incomplete type 'struct ifreq'
system.c:734: error: dereferencing pointer to incomplete type
页: [1]
查看完整版本: 在HP-UX B.11.11上编译NET-SNMP-5.5,已经折腾很久了,就是有错误!求助。