QT搭建UNP开发环境

系统环境与工具

  • ubuntu 14.04 ×64
  • Qt Creator 3.5.1 opensource
  • Qt 5.5.1 GCC 64Bit
  • unpv13e

编译unp源代码

代码包中的README给出了详细步骤:

1.   ./configure    
2.   cd lib         
     make           
3.   cd ../libfree  
     make
4.   cd ../libroute 
     make           
5.   cd ../libxti   
     make           
6.   cd ../intro    # build and test a basic client program
     make daytimetcpcli
7.   ./daytimetcpcli 127.0.0.1

其中步骤45对于我的系统环境而言是可以忽略的,另外在第3make的过程中遇到了error

inet_ntop.c: In function ‘inet_ntop’:
inet_ntop.c:60:9: error: argument ‘size’ doesn’t match prototype
  size_t size;
         ^
In file included from inet_ntop.c:27:0:
/usr/include/arpa/inet.h:64:20: error: prototype declaration
 extern const char *inet_ntop
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值