[srslte-users] srsLTE compilation problem with "instrinsics"

Andre Puschmann andre.puschmann at softwareradiosystems.com
Tue May 9 11:03:53 UTC 2017


Hey Keith,

just found that in my spam. Not sure if it's still relevant. Just in
case it is, please check the next and the issue should be gone. I reckon
this was a debug build and there were some issues with debug builds with
some compilers.

Cheers
Andre


On 15.04.2017 05:13, Keith E. Fleming wrote:
> I tried to compile srsLTE with VOLK found and enabled in the cmake. The compilation fails. Any ideas? Thanks in advance.
> 
> 
> [root at tampa build]# make
> Scanning dependencies of target srslte_enb
> [  0%] Building C object srslte/lib/enb/CMakeFiles/srslte_enb.dir/enb_dl.c.o
> [  1%] Building C object srslte/lib/enb/CMakeFiles/srslte_enb.dir/enb_ul.c.o
> [  1%] Built target srslte_enb
> Scanning dependencies of target srslte_agc
> [  2%] Building C object srslte/lib/agc/CMakeFiles/srslte_agc.dir/agc.c.o
> [  2%] Built target srslte_agc
> Scanning dependencies of target srslte_ch_estimation
> [  2%] Building C object srslte/lib/ch_estimation/CMakeFiles/srslte_ch_estimation.dir/chest_common.c.o
> [  3%] Building C object srslte/lib/ch_estimation/CMakeFiles/srslte_ch_estimation.dir/chest_dl.c.o
> [  3%] Building C object srslte/lib/ch_estimation/CMakeFiles/srslte_ch_estimation.dir/chest_ul.c.o
> [  4%] Building C object srslte/lib/ch_estimation/CMakeFiles/srslte_ch_estimation.dir/refsignal_dl.c.o
> [  4%] Building C object srslte/lib/ch_estimation/CMakeFiles/srslte_ch_estimation.dir/refsignal_ul.c.o
> [  4%] Built target srslte_ch_estimation
> Scanning dependencies of target srslte_common
> [  5%] Building C object srslte/lib/common/CMakeFiles/srslte_common.dir/phy_common.c.o
> [  6%] Building C object srslte/lib/common/CMakeFiles/srslte_common.dir/sequence.c.o
> [  6%] Building C object srslte/lib/common/CMakeFiles/srslte_common.dir/timestamp.c.o
> [  6%] Built target srslte_common
> Scanning dependencies of target srslte_fec
> [  6%] Building C object srslte/lib/fec/CMakeFiles/srslte_fec.dir/cbsegm.c.o
> [  7%] Building C object srslte/lib/fec/CMakeFiles/srslte_fec.dir/convcoder.c.o
> [  8%] Building C object srslte/lib/fec/CMakeFiles/srslte_fec.dir/crc.c.o
> [  8%] Building C object srslte/lib/fec/CMakeFiles/srslte_fec.dir/parity.c.o
> [  9%] Building C object srslte/lib/fec/CMakeFiles/srslte_fec.dir/rm_conv.c.o
> [  9%] Building C object srslte/lib/fec/CMakeFiles/srslte_fec.dir/rm_turbo.c.o
> In file included from /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/pmmintrin.h:31:0,
> from /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/tmmintrin.h:31,
> from /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/smmintrin.h:32,
> from /root/srsLTE/srslte/lib/fec/rm_turbo.c:41:
> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/emmintrin.h: In function ‘srslte_rm_turbo_rx_lut_sse’:
> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/emmintrin.h:1349:27: error: selector must be an integer constant in the range 0..7
> return (unsigned short) __builtin_ia32_vec_ext_v8hi ((__v8hi)__A, __N);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/emmintrin.h:1349:27: error: selector must be an integer constant in the range 0..7
> return (unsigned short) __builtin_ia32_vec_ext_v8hi ((__v8hi)__A, __N);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/emmintrin.h:1349:27: error: selector must be an integer constant in the range 0..7
> return (unsigned short) __builtin_ia32_vec_ext_v8hi ((__v8hi)__A, __N);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/lib/gcc/x86_64-redhat-linux/6.3.1/include/emmintrin.h:1349:27: error: selector must be an integer constant in the range 0..7
> return (unsigned short) __builtin_ia32_vec_ext_v8hi ((__v8hi)__A, __N);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> srslte/lib/fec/CMakeFiles/srslte_fec.dir/build.make:182: recipe for target 'srslte/lib/fec/CMakeFiles/srslte_fec.dir/rm_turbo.c.o' failed
> make[2]: *** [srslte/lib/fec/CMakeFiles/srslte_fec.dir/rm_turbo.c.o] Error 1
> CMakeFiles/Makefile2:1504: recipe for target 'srslte/lib/fec/CMakeFiles/srslte_fec.dir/all' failed
> make[1]: *** [srslte/lib/fec/CMakeFiles/srslte_fec.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> 



More information about the srslte-users mailing list