首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >bigloo方案"make test“对pthread失败

bigloo方案"make test“对pthread失败
EN

Stack Overflow用户
提问于 2012-03-25 07:44:14
回答 1查看 488关注 0票数 2

我正在尝试在Linux Mint 12 (lisa)上构建bigloo方案的最新源代码3.8a,它是Ubuntu 11 (Oneric)的派生版本:

下面是我的“配置”:

代码语言:javascript
复制
./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

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

代码语言:javascript
复制
*** 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问题的excellent post,我们需要在链接pthread库时重新排列命令行参数。然而,我无法找到所需的Makefile代码--可能是因为它依赖于Makefile的默认设置,该默认设置以某种方式链接库。

任何帮助都将不胜感激。

EN

回答 1

Stack Overflow用户

发布于 2012-12-05 15:43:15

这个问题可能已经在新版本的bigloo中得到了解决。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9856695

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档