报错详情:In file included from speex.c:29:0: shout_ogg.h:31:21: fatal error: ogg/ogg.h: No such file or directory #include <ogg/ogg.h>
报错原因是因为需要 libogg库。
解决办法:
curl -O -L https://downloads.xiph.org/releases/ogg/libogg-1.3.4.tar.gz
tar xzvf libogg-1.3.4.tar.gz
cd libogg-1.3.4
./configure
make
make install
运行完即可成功加载模块。