Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/153.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 操作数约束不一致_C++_Debian_Vmware Tools - Fatal编程技术网

C++ 操作数约束不一致

C++ 操作数约束不一致,c++,debian,vmware-tools,C++,Debian,Vmware Tools,我已经在我的VMvare虚拟机上安装了Raspberry Pi桌面操作系统。正在尝试安装open vm工具: git clone https://github.com/vmware/open-vm-tools.git autoreconf -i ./configure make sudo make install sudo ldconfig 生成时出错: backdoorGcc64.c: In function ‘Backdoor_InOut’: backdoorGcc64.c:78:4: e

我已经在我的VMvare虚拟机上安装了Raspberry Pi桌面操作系统。正在尝试安装open vm工具:

git clone https://github.com/vmware/open-vm-tools.git
autoreconf -i
./configure
make
sudo make install
sudo ldconfig
生成时出错:

backdoorGcc64.c: In function ‘Backdoor_InOut’:
backdoorGcc64.c:78:4: error: inconsistent operand constraints in an ‘asm’
    __asm__ __volatile__(
    ^~~~~~~

为什么会出现这种情况以及如何解决这个问题?

看看(我认为是)这里的问题,我猜32位和64位的构建之间存在某种类型的不匹配?backdoorGcc64.c中的“64”表示它正在尝试构建64位文件,但如果它以某种方式使用32位编译器,则可能会出现类似错误。为什么不直接通过系统包管理器安装:
apt install open vm tools