[srslte-users] srsLTE to ARM v71

Andrew McClelland andrew.m.mcclelland at gmail.com
Fri Jul 7 13:57:14 UTC 2017


Hi all,

I am attempting to port the srsLTE library over to a board using an ARM A20
dual core Cortex-A7 processor (with the goal of running srsUE on it to get
an idea . I am using the 'linaro-arm-linux-gnueabihf-4.7' toolchain to
cross-compile from my 32-bit Ubuntu 14.04 VM on an i686 to the target ARM
board.

In order to compile using CMake/make, I added:

*SET(CMAKE_SYSTEM_NAME Linux)*
*SET(CMAKE_SYSTEM_VERSION 1)*

*SET(CMAKE_C_COMPILER
/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-gcc)*
*SET(CMAKE_CXX_COMPILER
/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-c++)*

to the top of the srsLTE/CMakeLists.txt file. CMake runs successfully,
however when I Make, I get the following error:

*/usr/local/include/uhd/config.hpp:21:28: fatal error: boost/config.hpp: No
such file or directory*
*compilation terminated.*
*make[2]: *** [srslte/lib/rf/CMakeFiles/srslte_rf.dir/uhd_c_api.cpp.o]
Error 1*
*make[1]: *** [srslte/lib/rf/CMakeFiles/srslte_rf.dir/all] Error 2*
*make: *** [all] Error 2*

If I comment out the 4 added lines to the CMakeLists.txt file, then
everything compiles and makes as expected.

It's interesting to note that when I CMake, it says it found libvolk.so,
but not other Volk things
(volk_16i_s32f_convert_32f, volk_32fc_x2_multiply_32fc, etc. - however,
this does not throw an error in CMake.) while it does find these things
when I comment out the 4 added CMakeLists.txt lines.

Any help at all would be appreciated!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.softwareradiosystems.com/pipermail/srslte-users/attachments/20170707/437da7b1/attachment.html>


More information about the srslte-users mailing list