thrift依赖openssl和zlib、libevent等库
1、以来zlib、libevent库(比较简单,略)
2、编译openssl库
参考https://blog.csdn.net/clirus/article/details/50151427
3、编译thrift库
下载0.9.1版本
tar -zxvf xxx
cd thrift-0.9.1
./configure --host=mips64el-redhat-linux CXX=mips64el-redhat-linux-g++ CC=mips64el-redhat-linux-gcc --prefix=/usr/mips/thrift --with-libevent=/usr/mips/libevent --with-zlib=/usr/mips/zlib CCFLAGS="-I/home/toolchain/cross-tools/gcc-4.4.7-7215-n64-loongson/usr/mips64el-redhat-linux/sysroot/usr/include"
打开configure,修改成不进行测试,