依赖安装
sudo apt-get update
sudo apt-get install libncurses5-dev
sudo apt-get install build-essential
1.下载mptcp源码cd /usr/src
sudo git clone -b mptcp_v0.93 --depth=1 git://github.com/multipath-tcp/mptcp
//这里面v0.93是mptcp版本号
执行后这样src文件夹下会有一个mptcp文件夹,里面存放着源代码
2.配置编译sudo make menuconfig
3.内核编译 /usr/src/mptcp sudo make -j8
出错执行:
scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
compila ti on terminated.
scripts/Makefile.host:91: recipe for target ‘scripts/sign-file‘ failed
解决方案:
使用sudo apt-get install libssl-dev来安装libssl-dev即可`
4sudo make modules_install
5sudo make install