Linux 在BeagleBone(Debian 10)上安装UHD时出错

Linux 在BeagleBone(Debian 10)上安装UHD时出错,linux,debian,uhd,Linux,Debian,Uhd,我遵循以下指示: 我无法在我的Debian上为uhd构建和安装uhd和.cpp文件。我在执行make命令后出错。 cmake..正常。我想问题在于一种叫做霓虹灯的东西 处理器信息: cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 2 (v7l) BogoMIPS : 995.32 Features : half thumb fastmult vfp edsp th

我遵循以下指示:

我无法在我的Debian上为uhd构建和安装uhd和.cpp文件。我在执行make命令后出错。 cmake..正常。我想问题在于一种叫做霓虹灯的东西

处理器信息:

cat /proc/cpuinfo

processor       : 0
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 995.32
Features        : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc08
CPU revision    : 2

Hardware        : Generic AM33XX (Flattened Device Tree)
Revision        : 0000
Serial          : 4219BBBK05E9
发布:

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
安装:

    root@beaglebone:/home/debian/uhd/host/build# make
    [  2%] Built target uhd_rpclib
    [  2%] Built target uhd-resources
    [  3%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o
    In file included from /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:10:
    /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h: In member function ‘virtual void __convert_fc32_1_sc16_item32_le_1_PRIORITY_SIMD::operator()(const input_type&, const output_type&, size_t)’:
    /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:6740:1: error: inlining failed in call to always_inline ‘float32x4_t vdupq_n_f32(float32_t)’: target specific option mismatch
     vdupq_n_f32 (float32_t __a)
     ^~~~~~~~~~~
    /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:27:33: note: called from here
         float32x4_t Q0 = vdupq_n_f32(float(scale_factor));
                          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
    In file included from /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:10:
    /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10844:1: error: inlining failed in call to always_inline ‘void vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
     vst1_s16 (int16_t * __a, int16x4_t __b)
     ^~~~~~~~
    /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:50:17: note: called from here
             vst1_s16((reinterpret_cast<int16_t*>(&output[i + 4])), D13);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:10:
    /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:7440:1: error: inlining failed in call to always_inline ‘int32x4_t vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
     vcvtq_s32_f32 (float32x4_t __a)
     ^~~~~~~~~~~~~
    /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:47:39: note: called from here
             int32x4_t Q9   = vcvtq_s32_f32(Q8);
                              ~~~~~~~~~~~~~^~~~
    In file included from /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:10:
    /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline ‘float32x4_t vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
     vmulq_f32 (float32x4_t __a, float32x4_t __b)
     ^~~~~~~~~
    /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:46:35: note: called from here
             float32x4_t Q8 = vmulq_f32(Q7, Q0);
                              ~~~~~~~~~^~~~~~~~
 In file included from /home/debian/uhd/host/lib/convert/convert_with_neon.cpp:10:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10392:1: error: inlining failed in call to always_inline ‘float32x4_t vld1q_f32(const float32_t*)’: target specific option mismatch
 vld1q_f32 (const float32_t * __a)
 ^~~~~~~~~
/home/debian/uhd/host/lib/convert/convert_with_neon.cpp:29:36: note: called from here
         float32x4_t Q1  = vld1q_f32(reinterpret_cast<const float*>(&input[i]));
                           ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [lib/CMakeFiles/uhd.dir/build.make:502: lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:129: lib/CMakeFiles/uhd.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
root@beaglebone:/home/debian/uhd/host/build#make
[2%]建成目标uhd_rpclib
[2%]已建目标超高密度资源
[3%]使用_neon.cpp.o构建CXX对象库/cmakfiles/uhd.dir/convert/convert_
在/home/debian/uhd/host/lib/convert/convert_随附的文件中。cpp:10:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_-neon.h:在成员函数“virtual void”\uuuu convert\ufc32\u1\usc16\uitem32\ule\u1\upriority\usimd::operator()(常量输入类型和常量输出类型和大小)中:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_-neon.h:6740:1:错误:调用always_-inline“float32x4_t vdupq_n_f32(float32_t)”时内联失败:特定于目标的选项不匹配
vdupq_n_f32(浮动32_t_a)
^~~~~~~~~~~
/home/debian/uhd/host/lib/convert/convert_with_neon.cpp:27:33:注意:从这里调用
float32x4_t Q0=vdupq_n_f32(浮动(比例因子));
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
在/home/debian/uhd/host/lib/convert/convert_随附的文件中。cpp:10:
/usr/lib/gcc/arm linux gnueabihf/8/include/arm_neon.h:10844:1:错误:调用always_inline“void vst1_s16(int16_t*,int16x4_t)”时内联失败:特定于目标的选项不匹配
vst1_s16(int16_t*_a,int16x4_t_b)
^~~~~~~~
/home/debian/uhd/host/lib/convert/convert_with_neon.cpp:50:17:注意:从这里调用
vst1_s16(重新解释和输出[i+4]),D13;
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
在/home/debian/uhd/host/lib/convert/convert_随附的文件中。cpp:10:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_-neon.h:7440:1:错误:调用always_-inline“int32x4_t vcvtq_s32_f32(float32x4_t)”时内联失败:特定于目标的选项不匹配
vcvtq_s32_f32(浮动32x4_t_a)
^~~~~~~~~~~~~
/home/debian/uhd/host/lib/convert/convert_with_neon.cpp:47:39:注意:从这里调用
int32x4_t Q9=vcvtq_s32_f32(Q8);
~~~~~~~~~~~~~^~~~
在/home/debian/uhd/host/lib/convert/convert_随附的文件中。cpp:10:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_-neon.h:1172:1:错误:调用always_-inline“float32x4_t vmulq_f32(float32x4_t,float32x4_t)”时内联失败:特定于目标的选项不匹配
vmulq_f32(浮动32x4_______a,浮动32x4__b)
^~~~~~~~~
/home/debian/uhd/host/lib/convert/convert_with_neon.cpp:46:35:注意:从这里调用
float32x4_t Q8=vmulq_f32(Q7,Q0);
~~~~~~~~~^~~~~~~~
在/home/debian/uhd/host/lib/convert/convert_随附的文件中。cpp:10:
/usr/lib/gcc/arm linux gnueabihf/8/include/arm_neon.h:10392:1:错误:调用always_inline“float32x4_t vld1q_f32(const float32_t*)”时内联失败:特定于目标的选项不匹配
vld1q_f32(常数浮动32_t*_a)
^~~~~~~~~
/home/debian/uhd/host/lib/convert/convert_with_neon.cpp:29:36:注意:从这里调用
float32x4_t Q1=vld1q_f32(重新解释和输入[i]);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]:***[lib/CMakeFiles/uhd.dir/build.make:502:lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o]错误1
make[1]:***[CMakeFiles/Makefile2:129:lib/CMakeFiles/uhd.dir/all]错误2
make:**[Makefile:163:all]错误2


我现在能做什么?

编辑uhd/host/build/中的文件cmakcache.txt

//Use NEON SIMD instuctions, if applicable
NEON_SIMD_ENABLE:BOOL=OFF
然后使用:

make

它解决了问题。

您是否尝试过禁用霓虹灯?如果没有正确编译代码,这可能是最简单的解决方案。你有没有给我一个提示,我如何禁用霓虹灯?另一个错误。[9%]构建CXX对象库/CMakeFiles/uhd.dir/rfnoc/graph.cpp.o c++:致命错误:终止信号终止程序cc1plus编译终止。make[2]:***[lib/CMakeFiles/uhd.dir/build.make:736:lib/CMakeFiles/uhd.dir/rfnoc/graph.cpp.o]错误1 make[1]:***[CMakeFiles/Makefile2:129:lib/CMakeFiles/uhd.dir/all]错误2 make:**[Makefile:163:all]错误2解决问题: