ubuntu14.04下unix网络编程 环境的配置

在ubuntu下

首先:在unpv13e文件加下

./configure

cd lib

make

cd ../libfree

make

cd ../liggai

make

cd ..

vim lib/nup.h  

 // 改动 #include "../config.h" 为 #include "config.h"
/ 拷贝头文件
sudo cp config.h /usr/local/include
sudo cp lib/unp.h /usr/local/include

// 拷贝库文件
sudo cp libunp.a /usr/local/lib
gcc xxxx -lunp (末尾)




posted on 2015-12-19 15:24  gcczhongduan  阅读(353)  评论(0编辑  收藏  举报