<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Try this patch, if it works for you.  I'll commit it<br>
<br>
Kevin<br>
<br>
diff --git a/src/racket/src/env.c b/src/racket/src/env.c<br>
index b1c0a8d..68b634b 100644<br>
--- a/src/racket/src/env.c<br>
+++ b/src/racket/src/env.c<br>
@@ -501,7 +501,9 @@ static Scheme_Env *place_instance_init(void
*stack_base, int initial_main_os_thr<br>
   scheme_init_gmp_places();<br>
   scheme_alloc_global_fdset();<br>
   scheme_init_file_places();<br>
+#ifndef DONT_USE_FOREIGN<br>
   scheme_init_foreign_places();<br>
+#endif<br>
<br>
   env = scheme_make_empty_env();<br>
   scheme_set_param(scheme_current_config(), MZCONFIG_ENV,
(Scheme_Object *)env);<br>
<br>
On 07/13/2010 09:25 AM, nitralime wrote:
<blockquote cite="mid:4C3C8585.9040304@gmail.com" type="cite">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <font face="Consolas">Hi folks!<br>
  <br>
I have tried to compile Racket on Maemo 5 (&lt;--&gt; Nokia N900).<br>
Following the usual configure and make schema I have proceeded<br>
as follows:<br>
  <br>
# cd plt-5.0/src/build<br>
# ../configure  --prefix=/home/user/local/racket-5.0 --without-x
--disable-gracket --disable-foreign<br>
# make<br>
...<br>
...<br>
a - src/unwind.o<br>
a - src/vector.o<br>
ranlib libracket.a<br>
make[5]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'<br>
make[4]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'<br>
make racketcgc <br>
make[4]: Entering directory `/home/user/tmp/plt-5.0/src/build/racket'<br>
gcc -I. -I../../racket/include -g -O2  -Wall     -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DDONT_USE_FOREIGN
-DINITIAL_COLLECTS_DIRECTORY='"'"`cd ../../racket/../../collects;
pwd`"'"' -c ../../racket/main.c -o main.o<br>
gcc -o racketcgc main.o  libracket.a libmzgc.a  -ldl -lm  -ldl -lm
-rdynamic <br>
libracket.a(env.o): In function `place_instance_init':<br>
/home/user/tmp/plt-5.0/src/build/racket/src/../../../racket/src/env.c:500:

undefined reference to `scheme_init_foreign_places'<br>
collect2: ld returned 1 exit status<br>
make[4]: *** [racketcgc] Error 1<br>
make[4]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'<br>
make[3]: *** [cgc] Error 2<br>
make[3]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'<br>
make[2]: *** [3m] Error 2<br>
make[2]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'<br>
make[1]: *** [3m] Error 2<br>
make[1]: Leaving directory `/home/user/tmp/plt-5.0/src/build'<br>
make: *** [all] Error<br>
  <br>
Any idea how this problem can be resolved!<br>
  <br>
Regards<br>
Nik<br>
  </font>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________
  For list-related administrative tasks:
  <a class="moz-txt-link-freetext" href="http://lists.racket-lang.org/listinfo/users">http://lists.racket-lang.org/listinfo/users</a></pre>
</blockquote>
<br>
</body>
</html>