2017-07-14 41 views
2

enter link description here诡计-2.0.11停止并出现以下错误的构建,如何修复macOS上的libguile/stime.c Sierra构建的guile-2.0.11?

Undefined symbols for architecture x86_64: 
"_clock_getcpuclockid", referenced from: 
    _scm_init_stime in libguile_2.0_la-stime.o 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see  invocation) 

我周围的谷歌搜索发现了一个bug报告和补丁。错误报告是在这里:

http://lists.gnu.org/archive/html/bug-guile/2016-06/msg00252.html

到补丁的链接是错误报告。该补丁只是几行,所以我通过将补丁合并到stime.c中来编辑stime.c,然后再次运行configure并重新生成。不幸的是,错误保持不变。

任何意见将不胜感激。

回答

0

显然,这个补丁已被取代:see this post at bug-guile

由于与stime.c问题已被固定在后续版本狡诈,我只是在libguile目录复制stime.c更高版本(.../libguile/stime.c)并将原始软件包版本移至stime_old.c。然后配置并制作。错误不再出现,并且make完成。然后我做了sudo make install,看起来没问题。