[plt-scheme] Problems compiling mzscheme 3m

From: Jaime Vargas (jev at mac.com)
Date: Wed Aug 2 12:55:57 EDT 2006

I'm trying to compile 3m version of mzscheme in an openbsd-3.9-current
box, without luck the problem seems related to xform.ss.
Below is the gmake output:

gmake mz3m
gmake[1]: Entering directory `/root/mz-352.2/src'
cd mzscheme; gmake 3m
gmake[2]: Entering directory `/root/mz-352.2/src/mzscheme'
gmake bin
gmake[3]: Entering directory `/root/mz-352.2/src/mzscheme'
gmake g-c
gmake[4]: Entering directory `/root/mz-352.2/src/mzscheme'
cd gc; gmake ../libmzgc.a
gmake[5]: Entering directory `/root/mz-352.2/src/mzscheme/gc'
gmake[5]: `../libmzgc.a' is up to date.
gmake[5]: Leaving directory `/root/mz-352.2/src/mzscheme/gc'
gmake[4]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake foreign-stuff
gmake[4]: Entering directory `/root/mz-352.2/src/mzscheme'
cd ../foreign; gmake all
gmake[5]: Entering directory `/root/mz-352.2/src/foreign'
gmake foreign.o
gmake[6]: Entering directory `/root/mz-352.2/src/foreign'
gmake[6]: `foreign.o' is up to date.
gmake[6]: Leaving directory `/root/mz-352.2/src/foreign'
gmake gcc/libffi/libffi.la
gmake[6]: Entering directory `/root/mz-352.2/src/foreign'
gmake[6]: `gcc/libffi/libffi.la' is up to date.
gmake[6]: Leaving directory `/root/mz-352.2/src/foreign'
gmake[5]: Leaving directory `/root/mz-352.2/src/foreign'
gmake[4]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake llvm-nothing
gmake[4]: Entering directory `/root/mz-352.2/src/mzscheme'
echo no llvm
no llvm
gmake[4]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake normal-bin
gmake[4]: Entering directory `/root/mz-352.2/src/mzscheme'
gmake dynlib
gmake[5]: Entering directory `/root/mz-352.2/src/mzscheme'
cd src; gmake mzheaders
gmake[6]: Entering directory `/root/mz-352.2/src/mzscheme/src'
gmake[6]: Nothing to be done for `mzheaders'.
gmake[6]: Leaving directory `/root/mz-352.2/src/mzscheme/src'
cd dynsrc; gmake dynlib
gmake[6]: Entering directory `/root/mz-352.2/src/mzscheme/dynsrc'
gmake ../mzdyn.o
gmake[7]: Entering directory `/root/mz-352.2/src/mzscheme/dynsrc'
gmake[7]: `../mzdyn.o' is up to date.
gmake[7]: Leaving directory `/root/mz-352.2/src/mzscheme/dynsrc'
gmake ../starter
gmake[7]: Entering directory `/root/mz-352.2/src/mzscheme/dynsrc'
gmake[7]: `../starter' is up to date.
gmake[7]: Leaving directory `/root/mz-352.2/src/mzscheme/dynsrc'
gmake[6]: Leaving directory `/root/mz-352.2/src/mzscheme/dynsrc'
gmake[5]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake mzlibrary
gmake[5]: Entering directory `/root/mz-352.2/src/mzscheme'
cd src; gmake all
gmake[6]: Entering directory `/root/mz-352.2/src/mzscheme/src'
gmake  mzheaders
gmake[7]: Entering directory `/root/mz-352.2/src/mzscheme/src'
gmake[7]: Nothing to be done for `mzheaders'.
gmake[7]: Leaving directory `/root/mz-352.2/src/mzscheme/src'
gmake  mzobjects
gmake[7]: Entering directory `/root/mz-352.2/src/mzscheme/src'
gmake[7]: Nothing to be done for `mzobjects'.
gmake[7]: Leaving directory `/root/mz-352.2/src/mzscheme/src'
gmake[6]: Leaving directory `/root/mz-352.2/src/mzscheme/src'
gmake libmzscheme.a
gmake[6]: Entering directory `/root/mz-352.2/src/mzscheme'
gmake[6]: `libmzscheme.a' is up to date.
gmake[6]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake[5]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake mzscheme
gmake[5]: Entering directory `/root/mz-352.2/src/mzscheme'
gmake[5]: `mzscheme' is up to date.
gmake[5]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake[4]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake[3]: Leaving directory `/root/mz-352.2/src/mzscheme'
cd gc2; gmake all
gmake[3]: Entering directory `/root/mz-352.2/src/mzscheme/gc2'
gmake xobjects
gmake[4]: Entering directory `/root/mz-352.2/src/mzscheme/gc2'
env XFORM_USE_PRECOMP=xsrc/precomp.h ../mzscheme -rq ./xform.ss -- 
setup --cpp "gcc -E -DNEWGC_BTC_ACCOUNT  -DMZ_NO_ICONV -I./.. -I./../ 
include" -o xsrc/file.c ./../src/file.c
Error [CALL] 743 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 2952 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 2951 in ../src/file.c: Bad place for function call,  
starting tok is filename_for_error.
Error [CALL] 2950 in ../src/file.c: Bad place for function call,  
starting tok is filename_for_error.
Error [CALL] 3937 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 3936 in ../src/file.c: Bad place for function call,  
starting tok is filename_for_error.
Error [CALL] 3979 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 3978 in ../src/file.c: Bad place for function call,  
starting tok is filename_for_error.
Error [CALL] 4019 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 4018 in ../src/file.c: Bad place for function call,  
starting tok is filename_for_error.
Error [CALL] 4016 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 4016 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 4096 in ../src/file.c: Bad place for function call,  
starting tok is __errno.
Error [CALL] 4095 in ../src/file.c: Bad place for function call,  
starting tok is filename_for_error.
xform: Errors converting

=== context ===
/root/mz-352.2/src/mzscheme/gc2/xform-collects/compiler/private/ 
xform.ss:8:2: xform

gmake[4]: *** [xsrc/file.c] Error 1
gmake[4]: Leaving directory `/root/mz-352.2/src/mzscheme/gc2'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/root/mz-352.2/src/mzscheme/gc2'
gmake[2]: *** [3m] Error 2
gmake[2]: Leaving directory `/root/mz-352.2/src/mzscheme'
gmake[1]: *** [mz3m] Error 2
gmake[1]: Leaving directory `/root/mz-352.2/src'
gmake: *** [3m] Error 2



Posted on the users mailing list.