[racket] Compiling Racket on Maemo 5

From: nitralime (nitralime at googlemail.com)
Date: Tue Jul 13 11:25:57 EDT 2010

  Hi folks!

I have tried to compile Racket on Maemo 5 (<--> Nokia N900).
Following the usual configure and make schema I have proceeded
as follows:

# cd plt-5.0/src/build
# ../configure  --prefix=/home/user/local/racket-5.0 --without-x 
--disable-gracket --disable-foreign
# make
a - src/unwind.o
a - src/vector.o
ranlib libracket.a
make[5]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'
make[4]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'
make racketcgc
make[4]: Entering directory `/home/user/tmp/plt-5.0/src/build/racket'
gcc -I. -I../../racket/include -g -O2  -Wall     -D_LARGEFILE_SOURCE 
-DINITIAL_COLLECTS_DIRECTORY='"'"`cd ../../racket/../../collects; 
pwd`"'"' -c ../../racket/main.c -o main.o
gcc -o racketcgc main.o  libracket.a libmzgc.a  -ldl -lm  -ldl -lm 
libracket.a(env.o): In function `place_instance_init':
undefined reference to `scheme_init_foreign_places'
collect2: ld returned 1 exit status
make[4]: *** [racketcgc] Error 1
make[4]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'
make[3]: *** [cgc] Error 2
make[3]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'
make[2]: *** [3m] Error 2
make[2]: Leaving directory `/home/user/tmp/plt-5.0/src/build/racket'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/home/user/tmp/plt-5.0/src/build'
make: *** [all] Error

Any idea how this problem can be resolved!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100713/2c2a3fb0/attachment.html>

Posted on the users mailing list.