[srslte-users] srsran installation fails on ubuntu 20.04

Andre Puschmann andre at srs.io
Sun Jul 18 20:25:46 UTC 2021


Hi,

there is something mixed up with the compile flags that have been
selected. Please provide full system details (cat /proc/cpuinfo) and
full output of CMake after a fresh/clean run.

Cheers
Andre

On 18/7/21 10:55, Nadav Hashimshony wrote:
> 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
> <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.
> 
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> https://lists.softwareradiosystems.com/mailman/listinfo/srslte-users
> 




More information about the srsran-users mailing list