按照这个帖子最后一步出现来一点小问题。
帖子地址:
http://blog.csdn.net/a649518776/article/details/6724121
gcc daytimetcpcli.c -o daytimetcpcli -lunp
错误如下:
july@july-pc:~/unpv13e/intro$ gcc daytimetcpcli.c -o daytimetcpcli -lunp
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libunp.a when searching for -lunp
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libunp.a when searching for -lunp
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libunp.a when searching for -lunp
/usr/bin/ld: skipping incompatible //usr/lib/libunp.a when searching for -lunp
/usr/bin/ld: cannot find -lunp
collect2: error: ld returned 1 exit status
-------------------------------------------------------------------------------------------------------------------
网上找了一下午,没有找到解决方法。请大神帮忙解决一下。谢谢。