2

我需要在我的 OSX 上尝试可嵌入的 common lisp。不幸的是,我认为安装时遇到了问题,不知道为什么。我安装了 ecl-13.5.1 并按照http://ecls.sourceforge.net/new-manual/pr01s06.html上的说明进行操作,但在 make 命令期间遇到了问题。以下是一些消息:

    haukurs-mbp:ecl-13.5.1 Haukur$ make
    cd build; /Applications/Xcode.app/Contents/Developer/usr/bin/make
    if (echo c gmp gc libffi atomic | grep gmp); then \
      cd gmp && /Applications/Xcode.app/Contents/Developer/usr/bin/make install && \
      cd .. && mv include/gmp.h ecl/ && rmdir include &&  \
      mv ./libgmp.a ./libeclgmp.a; \
    fi
c gmp gc libffi atomic
gcc -fPIC -fno-common `test -f 'gen-fac_ui_.c' || echo '/Users/Haukur/ecl-13.5.1/src/gmp/'`gen-fac_ui_.c -o gen-fac_ui
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
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]: *** [gen-fac_ui] Error 1
make[1]: *** [libeclgmp.a] Error 2
make: *** [all] Error 2

和 make install 消息:

haukurs-mbp:ecl-13.5.1 Haukur$ make install
cd build; /Applications/Xcode.app/Contents/Developer/usr/bin/make install
# Here we would use the option -s but the install program in sourceforge-solaris
# is broken.
/bin/sh /Users/Haukur/ecl-13.5.1/src/gc/mkinstalldirs /usr/local/bin/ /usr/local/lib/ \
      /usr/local/lib/ecl-13.5.1/ /usr/local/include/ /usr/local/include//ecl
mkdir -p -- /usr/local/lib/ecl-13.5.1/ /usr/local/include/ /usr/local/include//ecl

我只是不明白错误代码,所以我不知道出了什么问题。现在网站说要使用 OS X Tiger 但我有 Maverick 10.9.3。也许这是错误,并且 ecl 不会使用此操作系统构建。如果没有,我可以修复它吗?不幸的是,我的搜索结果是空的,因此非常感谢任何帮助。

4

0 回答 0