|
From: | w xd |
Subject: | Re: [Discuss-gnuradio] gr-lte make error |
Date: | Mon, 28 Aug 2017 09:03:21 +0800 |
######################################################################## | |
# Install all headers in the include directories | |
######################################################################## | |
set(VOLK_RUNTIME_DIR bin) | |
set(VOLK_LIBRARY_DIR lib${LIB_SUFFIX}) | |
set(VOLK_INCLUDE_DIR include) | |
install( | |
DIRECTORY ${CMAKE_SOURCE_DIR}/kernels/volk | |
DESTINATION include COMPONENT "volk_devel" | |
FILES_MATCHING PATTERN "*.h" | |
) | |
install(FILES | |
${CMAKE_SOURCE_DIR}/include/volk/volk_prefs.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_complex.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_common.h | |
${CMAKE_SOURCE_DIR}/include/volk/saturation_arithmetic.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_avx_intrinsics.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_sse_intrinsics.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_sse3_intrinsics.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_neon_intrinsics.h | |
${CMAKE_BINARY_DIR}/include/volk/volk.h | |
${CMAKE_BINARY_DIR}/include/volk/volk_cpu.h | |
${CMAKE_BINARY_DIR}/include/volk/volk_config_fixed.h | |
${CMAKE_BINARY_DIR}/include/volk/volk_typedefs.h | |
${CMAKE_SOURCE_DIR}/include/volk/volk_malloc.h | |
DESTINATION include/volk | |
COMPONENT "volk_devel" | |
) |
The issue is that gr-lte requires Volk but does not check for it -- nor use its API / headers correctly nor use its ABI / libraries correctly -- in the CMakeLists.txt scripts. This is a simple fix, which you can copy from other OOT modules.Related: Are you trying to use MacPorts to do the install? I've thought about adding gr-lte into MP for a while. Would not be difficult for me to do so, along with patching this issue, so that installing it is as simple as "sudo port install gr-lte" ... - MLDOn Sun, Aug 27, 2017, at 03:34 AM, w xd wrote:Environment: Mac os 10.12.6I want to install gr-lte and learn something about LTE. And I follow the instruction from https://github.com/kit-cel/gr-lte .when the go to the command "make -jX", it go wrong.The error message:Linking CXX shared library libgnuradio-lte.dylibUndefined symbols for architecture x86_64:"_volk_32f_accumulator_s32f_a", referenced from: gr::lte::pcfich.....Have someone met this problem? Thanks very much.
[Prev in Thread] | Current Thread | [Next in Thread] |