免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3175 | 回复: 3
打印 上一主题 下一主题

在aix5.3下安装flow-tools0.68 make时报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-09 09:44 |只看该作者 |倒序浏览
在aix5.3下安装flow-tools0.68 make时报错;gcc 4.02\r\n[root@m3:/netflow/flow-tools-0.68]make\r\nMaking all in lib\r\n        make  all-am\r\n        source=\'ftio.c\' object=\'ftio.o\' libtool=no  depfile=\'.deps/ftio.Po\' tmpdepfile=\'.deps/ftio.TPo\'  depmode=gcc3 /bin/sh ../depcomp  gcc -I. -I./lib -I. -I. -I.     -g -Wall -g -Wall -c `test -f \'ftio.c\' || echo \'./\'`ftio.c\r\nIn file included from ftio.c:30:\r\nftlib.h:477: warning: no semicolon at end of struct or union\r\nftlib.h:477: error: syntax error before \'.\' token\r\nftlib.h:494: error: syntax error before \'}\' token\r\nmake: 1254-004 The error code from the last command is 1.\r\n\r\n\r\nStop.\r\nmake: 1254-004 The error code from the last command is 2.\r\n\r\n\r\nStop.\r\nmake: 1254-004 The error code from the last command is 1.\r\n\r\n\r\nStop.\r\n\r\nftlib.h的这段代码:\r\n  +474\r\n  +475  struct ftnet {\r\n  +476    struct sockaddr_in loc_addr;    /* local side */\r\n  +477    struct sockaddr_in rem_addr;    /* remote side (exporter) */\r\n  +478    u_int32 loc_ip;                 /* local IP */\r\n  +479    u_int32 rem_ip;                 /* remote IP */\r\n  +480    u_int16 dst_port;               /* exporter UDP destination port */\r\n  +481    int fd;                         /* fd receiving flows on */\r\n  +482    struct mymsghdr msg;            /* recvmsg data */\r\n  +483    struct {\r\n  +484      struct cmsghdr hdr;\r\n  +485  #ifdef IP_RECVDSTADDR\r\n  +486      struct in_addr ip;\r\n  +487  #else\r\n  +488  #ifdef IP_PKTINFO\r\n  +489      struct in_pktinfo pktinfo;\r\n  +490  #endif /* else */\r\n  +491  #endif /* IP RECVDSTADDR */\r\n  +492    } msgip;\r\n  +493    struct iovec iov[1];            /* msg buffer */\r\n  +494  };\r\n  +495\r\n\r\n哪位知道是怎么会事呀?

论坛徽章:
6
2015年迎新春徽章
日期:2015-03-04 09:48:00IT运维版块每日发帖之星
日期:2015-06-11 22:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2015-10-24 06:20:00IT运维版块每日发帖之星
日期:2015-12-24 06:20:00IT运维版块每日发帖之星
日期:2016-04-15 06:20:00
2 [报告]
发表于 2006-01-09 13:52 |只看该作者
要用NetFlow的话搞个Linux就行了,Windows也可以(我用的就是Windows),没必要弄个AIX这么复杂的东东来用吧?

论坛徽章:
0
3 [报告]
发表于 2006-01-09 14:30 |只看该作者
原帖由 apen 于 2006-1-9 13:52 发表\r\n要用NetFlow的话搞个Linux就行了,Windows也可以(我用的就是Windows),没必要弄个AIX这么复杂的东东来用吧?
\r\n\r\nthx. 通过改程序已经解决了,不过不明白是怎么会事,呵呵;\r\n\r\nWindows上怎么安装哪些工具呀;通过Cygwin么?

论坛徽章:
0
4 [报告]
发表于 2006-01-21 21:48 |只看该作者
建议linux\r\n不会有撒问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP