[racket-dev] Compile error in git repo on both Linux and Mac

From: Nevo (sakur.deagod at gmail.com)
Date: Sun Oct 17 10:10:11 EDT 2010

Hi:
   I've tried to build latest version of Racket for both Linux and Mac from
git (master branch), with jit disabled, and found that both threw the same
*undefined* errors:

make[4]: Entering directory
`/opt/eggs/git-eggs/racket.git/plt.git/src/build/racket'
gcc -o racketcgc main.o  libracket.a libmzgc.a  -pthread -ldl -lm  -ldl -lm
-rdynamic
libracket.a(fun.o): In function `scheme_apply_lightweight_continuation':
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/fun.c:8578:
undefined reference to `scheme_apply_lightweight_continuation_stack'
libracket.a(fun.o): In function `scheme_fill_lwc_end':
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/fun.c:8386:
undefined reference to `scheme_fill_stack_lwc_end'
libracket.a(future.o): In function `scheme_future':
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/future.c:647:
undefined reference to `scheme_on_demand_jit_code'
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/future.c:649:
undefined reference to `scheme_on_demand_generate_lambda'
libracket.a(future.o): In function `_apply_future_lw':
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/future.c:1079:
undefined reference to `scheme_ts_scheme_force_value_same_mark'
libracket.a(future.o): In function `worker_thread_future_loop':
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/future.c:982:
undefined reference to `scheme_jit_fill_threadlocal_table'
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/future.c:1019:
undefined reference to `scheme_call_as_lightweight_continuation'
/home/nevo/eggs/git-eggs/racket.git/plt.git/src/build/racket/src/../../../racket/src/future.c:1021:
undefined reference to `scheme_ts_scheme_force_value_same_mark'
collect2: ld returned 1 exit status
make[4]: *** [racketcgc] Error 1

   My configure is done in separate build directory with "../configure
--disable-jit". And the HEAD commit is commit
51f20afd0b4d93b27645351dbe8b3e903dd4e0b6.
   Does it require other features being disabled in order to build racket
without jit?  If needed, I could attach my config.log. Thanks for your
suggest.

Nevo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20101017/9e107a82/attachment.html>

Posted on the dev mailing list.