[plt-scheme] Compiling PLT scheme on Solaris

From: Martin Preen (preen at informatik.uni-freiburg.de)
Date: Mon Nov 16 10:41:17 EST 2009

I solved this by disabling large file support for the Solaris build.
Is this a problem ? Is there any component requiring large file support ?

Martin Preen

P.S.: Additionally I applied a patch from another thread 

Martin Preen wrote:
> Hi,
> we have a problem compiling PLT scheme 4.2.2 on Solaris 10.
> Compiler ist gcc 4.2.2. It looks like a problem with large file
> support and/or the procfs interface:
> ...
> gcc  -I./include -DNO_SIGNALS -g -O2  -Wall  -D_LARGEFILE_SOURCE 
> ./os_dep.c
> In file included from /usr/include/sys/procfs.h:29,
>                  from ./os_dep.c:3078:
> /usr/include/sys/old_procfs.h:39:2: error: #error "Cannot use procfs in 
> the large file compilation environment"
> ./os_dep.c: In function 'GC_dirty_init':
> ./os_dep.c:3129: warning: format '%d' expects type 'int', but argument 3 
> has type 'pid_t'
> ./os_dep.c: In function 'GC_read_dirty':
> ./os_dep.c:3176: warning: unused variable 'dummy'
> ./os_dep.c: In function 'GC_is_fresh':
> ./os_dep.c:3294: warning: unused variable 'index'
> ...
> Is there some workaround for this ?

Martin Preen, Universität Freiburg, Institut für Informatik
Georges-Koehler-Allee 52, Raum EG-006, 79110 Freiburg, Germany

phone: ++49 761 203-8250      preen at informatik.uni-freiburg.de
fax: ++49 761 203-8242        www.informatik.uni-freiburg.de

Posted on the users mailing list.