我们正在尝试完全按照他们网页上的说明为 Ubuntu 安装库libpqcrypto(几天以来)。不幸的是,我们无法修复安装过程中出现的错误:
cpucycles/amd64cpuspeed compiling
# gcc -fPIC -Wall -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
cpucycles.c: In function ‘pqcpucycles_impl_persecond’:
cpucycles.c:20:12: error: ‘CTL_HW’ undeclared (first use in this function); did you mean ‘CTL_PM’?
oid[0] = CTL_HW;
^~~~~~
CTL_PM
cpucycles.c:20:12: note: each undeclared identifier is reported only once for each function it appears in
cpucycles.c:21:12: error: ‘HW_CPUSPEED’ undeclared (first use in this function)
oid[1] = HW_CPUSPEED;
^~~~~~~~~~~
cpucycles/cpucycles.c compiler exited 1
您知道为什么会发生此错误或它告诉我们什么吗?
PS:我们使用 Parallels Desktop 在 Mac 上运行 Ubuntu。