我正在尝试libpipeline
在 Mac OS X 上构建,但我遇到了其他使用autotools
.
这是我得到的第一个错误:
/Developer/usr/bin/ranlib: file: .libs/libgnu.a(sig-handler.o) has no symbols
第二个错误更加神秘:
warning: /Developer/usr/bin/nm: no name list
最后,我得到了这个错误,推测这是以前错误的高潮。
Undefined symbols for architecture x86_64:
"_program_name", referenced from:
_error in libgnu.a(error.o)
_error_at_line in libgnu.a(error.o)
ld: symbol(s) not found for architecture x86_64
完整日志:https ://gist.github.com/ahyattdev/7e4da95d48a6d25ad77aad926a14e7b0
重现步骤:获取源码libpipeline 1.4.1
,运行configure; make
。