我正在尝试制作 lammps-13Jull11 的旧版本。我在 src 目录中使用了此命令:make openmpi
但由于以下错误而失败:
make[1]: Entering directory '/home/alireza/lammps-13Jul11/src/Obj_openmpi'
make[1]: *** No rule to make target '/usr/include/x86_64-linux-gnu/bits/huge_val.h', needed by 'bond_fene.o'. Stop.
make[1]: Leaving directory '/home/alireza/lammps-13Jul11/src/Obj_openmpi'
Makefile:66: recipe for target 'openmpi' failed
make: *** [openmpi] Error 2
答案1
在我的 Ubuntu 16.04.5 LTS 系统上(YMMV):
$ dpkg -S /usr/include/x86_64-linux-gnu/bits/huge_val.h
libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/huge_val.h
我/usr/include/x86_64-linux-gnu/bits/huge_val.h
从包裹中取出了我的文件libc6-dev:amd64
。