OAI搭建编译eNB报错
●错误提示:
sudo -E ./lte-softmodem -O $OPENAIR_DIR/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpb210.conf -d
For x86 Architecture, you must have following flags: -mssse3 -msse4.1. The
current detected flags are: -mssse3 . You can pass the flags manually in
build script, for example: ./build_oai --cflags_processor “-mssse3 -msse4.1
-mavx2”
●错误原因:
CPU版本太低,CPU的SIMD指令集不支持SSE4
●官方配置:
https://gitlab.eurecom.fr/oai/openairinterface5g/wikis/OpenAirSystemRequirements
对于eNB,CPU至少得是3代及以上i5、i7系列。且CPU的SIMD指令集需要支持SSE、SSE2、SSS3、SSE4和AVX2。
Linux下查看SIMD指令集:
cat /proc/cpuinfo
无奈用的电脑是实验室祖传下来的,CPU为奔腾E2200,根本不支持SSE4。