日期:2014-05-16  浏览次数:20656 次

谁在学<unix网络编程>这本书得阿?我不会用他得头文件(新手,分不多,希望能帮忙,谢谢)
./configure # try to figure out all implementation differences

  cd lib # build the basic library that all programs need
  make # use "gmake" everywhere on BSD/OS systems

  cd ../libfree # continue building the basic library
  make

  cd ../libroute # only if your system supports 4.4BSD style routing sockets
  make # only if your system supports 4.4BSD style routing sockets

  cd ../libxti # only if your system supports XTI
  make # only if your system supports XTI

上面这些操作是在任意目录下都可以吗?libfree里make有错误~~哎~~

如果好了以后,以后写得程序,编译得话需要链接到unp.h目录?~~ 救救我吧,我很菜,实在是入门比较难!

------解决方案--------------------
不是在任意目录下用

如tar xvjf xxx.tar.bz2
cd xxx
ls configure #看看有没有这文件存在
./configure --help #习惯性的看参数,根据需要设置

./configure #准备和生成工具,必须看看有没有错误,按提示解决问题

再进行上面说的操作


------解决方案--------------------
如果不是很急的开发任务,可以找些基础的书看看先