在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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论