2

我正在尝试在 Linux Mint 12 (lisa) 上从 bigloo 方案的最新源 3.8a 构建,它是 Ubuntu 11 (Oneric) 衍生产品:

这是我的“配置”:

./configure --enable-pthread --enable-fthread --enable-ssl --enable-sqlite --enable-web --enable-multimedia --enable-mail --enable-calendar --enable-pkgcomp --enable-pkglib --enable-gstreamer --enable-text --enable-srfi1 --enable-srfi27 --enable-crypto --enable-openpgp --enable-phone --enable-alsa --enable-mpg123 --enable-csv --jvm=yes


** Configuration summary **

Release features:
  release number.............. 3.8a
  supported backends.......... native:yes JVM:yes
  default backend............. native
  additional APIs............. pthread fthread sqlite web multimedia mail calendar pkgcomp pkglib text srfi1 srfi27 packrat crypto openpgp phone mpg123 csv
  native threads support...... yes
  openssl support............. no
  sqlite support.............. sqltiny + sqlite
  dynamic libraries support... yes

Bee configuration:
  bee support................. partial
  emacs....................... emacs
  emacs brand................. emacs23

Implementation details:
  tuning...................... standard 
  cc.......................... gcc
  gc.......................... custom (bigloogc-3.8a, v731)
  Java version................ 1.3
  bignum support.............. gmp (5.0.1)

Directories where Bigloo will be installed:
  binaries.................... /usr/local/bin
  libraries................... /usr/local/lib
  files directory............. bigloo/3.8a
  standard zip................ /usr/local/lib/bigloo/3.8a
  standard dll................ /usr/local/lib/bigloo/3.8a
  manual pages................ /usr/local/man/man1
  info documentation.......... /usr/local/info
  lisp files.................. 
  temporary build dir......... /tmp

“制作”成功;但是 pthread 的“make test”失败

*** pthread ********** 
make[2]: Entering directory `/home/liew/Downloads/bigloo3.8a/api/pthread/recette'
/home/liew/Downloads/bigloo3.8a/bin/bigloo -c  -call/cc  -O3 -fcfa-arithmetic -q recette.scm -o recette.o
/home/liew/Downloads/bigloo3.8a/bin/bigloo  -O3 -fcfa-arithmetic -q recette.o -o recette
/usr/bin/ld: recette: hidden symbol `pthread_atfork' in /usr/lib/i386-linux-gnu/libpthread_nonshared.a(pthread_atfork.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [recette] Error 1
make[2]: Leaving directory `/home/liew/Downloads/bigloo3.8a/api/pthread/recette'
make[1]: *** [c-test] Error 1
make[1]: Leaving directory `/home/liew/Downloads/bigloo3.8a'
make: *** [test] Error 2

根据这篇关于这个 pthread 问题的优秀帖子,我们需要在链接 pthread 库时重新排列命令行参数。但是,我无法找到所需的 Makefile 代码——可能是因为它依赖于 Makefile 默认值,该默认值以某种方式链接库。

任何帮助将不胜感激。

4

1 回答 1

0

该问题可能已在较新版本的 bigloo 中得到解决。

于 2012-12-05T07:43:14.560 回答