我们正按照其webpage上的说明尝试安装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。