我正在尝试安装icsiboost库(https://github.com/benob/icsiboost)。我把它安装在我以前的机器上(OS X 10.8),但现在,在OS X 10.10.3上,它给了我一个奇怪的错误,我无法理解为什么(顺便说一句,它就像Ubuntu 14.10上的魅力)。从错误消息中,它看起来像是在_
之前添加符号。这是错误消息:(我之前已经运行./configure
)
make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
gcc -fnested-functions -I/opt/local/include -L/opt/local/lib -o icsiboost icsiboost.o vector.o string.o hashtable.o array.o mapped.o threads.o debug.o file.o common.o -lz -lpthread -lpcre -lm
Undefined symbols for architecture x86_64:
"_vector_get_float", referenced from:
_compute_classification_error in icsiboost.o
"_vector_get_int32_t", referenced from:
_train_text_stump in icsiboost.o
_train_abstaining_text_stump in icsiboost.o
_compute_test_error in icsiboost.o
_compute_classification_error in icsiboost.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [icsiboost] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
知道它可能是什么吗?