0
点赞
收藏
分享

微信扫一扫

《Unix网络编程》第一卷第三版 源码编译ubuntu

晗韩不普通 2022-03-18 阅读 52
linux

QUICK AND DIRTY

Execute the following from the src/ directory:

./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

ubuntu系统以上编译成功即可进入其他文件进行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

    cd ../intro    # build and test a basic client program
    make daytimetcpcli
    ./daytimetcpcli 127.0.0.1

在这里插入图片描述

举报

相关推荐

0 条评论