fyb_inline 发表于 2014-04-17 13:44

redhat6.3如何安装sctp相关库

redhat6.3 内核版本为   2.6.32-279.el6.i686,并且下载了lksctp-tools-1.0.16,根据文件中 INSTALL 的提示,
4) Run ./bootstrap

5) Run ./configure

6) Run make

执行了上面的操作,但是
# gcc -o ser server.c -lksctp
/usr/bin/ld: cannot find -lksctp
collect2: ld 返回 1

去掉 -lksctp
# gcc -o ser server.c
/tmp/ccI8hgSD.o: In function `main':
server.c:(.text+0x231): undefined reference to `sctp_sendmsg'
collect2: ld 返回 1

怎么弄...求指教。。。。。。。。。。。。
页: [1]
查看完整版本: redhat6.3如何安装sctp相关库