[plt-scheme] Garbage collection woes

From: Henk Boom (lunarc.lists at gmail.com)
Date: Fri Nov 16 00:51:37 EST 2007

On 15/11/2007, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> It's an error in v371. I remember fixing the problem that you reported
> at some point, and it must have been after v371.
> I tried v371.3 from SVN, and the compact build work ok on my machine.
> You might try that:
>  http://svn.plt-scheme.org/plt/branches/v3

No luck, I get the source with:
svn co http://svn.plt-scheme.org/plt/branches/v3 plt
run ./configure --enable-compact, then make, and after a while I get
this output:

gcc -g -O2 -DUSE_COMPACT_3M_GC  -I./.. -I./../include  -Wall  -c
./gc2.c -o gc2.o
In file included from ./gc2.c:5:
./compact.c: In function 'designate_modified_maybe':
./compact.c:2641: warning: implicit declaration of function 'designate_modified'
./compact.c: At top level:
./compact.c:2679: error: static declaration of 'designate_modified'
follows non-static declaration
./compact.c:2641: error: previous implicit declaration of
'designate_modified' was here
make[4]: *** [gc2.o] Error 1
make[4]: Leaving directory `/home/henk/dev/plt/src/mzscheme/gc2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/henk/dev/plt/src/mzscheme/gc2'
make[2]: *** [3m] Error 2
make[2]: Leaving directory `/home/henk/dev/plt/src/mzscheme'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/home/henk/dev/plt/src'
make: *** [all] Error 2

I'm not sure what I'm doing wrong, are you sure this is the version you tried?

    Henk Boom

Posted on the users mailing list.