[srslte-users] srsran installation fails on ubuntu 20.04

Nadav Hashimshony nadavh at gmail.com
Sun Jul 18 08:55:21 UTC 2021


Hi,

im trying to build srsRAN from source,
following the instruction from the guide:
https://docs.srsran.com/en/latest/general/source/1_installation.html#gen-installation

when i run the 'make' command i get the following error message

/opt/srsRAN/build# make

[  0%] Building CXX object
lib/src/asn1/CMakeFiles/srsran_asn1.dir/liblte_common.cc.o
cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch
cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2
nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
icelake-server cascadelake bonnell atom silvermont slm goldmont
goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 btver1 btver2 native
cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch
cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2
nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell
core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client
icelake-server cascadelake bonnell atom silvermont slm goldmont
goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000
nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64
athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4
znver1 znver2 btver1 btver2 generic native
make[2]: *** [lib/src/asn1/CMakeFiles/srsran_asn1.dir/build.make:63:
lib/src/asn1/CMakeFiles/srsran_asn1.dir/liblte_common.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3364:
lib/src/asn1/CMakeFiles/srsran_asn1.dir/all] Error 2
make: *** [Makefile:163: all] Error 2



Any idea why?

Thanks,
Nadav.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20210718/a363e069/attachment.htm>


More information about the srsran-users mailing list