On Sun, 3 Jan 2010, Vasily Chekalkin wrote:

> Andy Dougherty wrote:
> > Unfortunately, it doesn't build for me on OpenSolaris.  I get the following
> > error:
> > 
> >     src/gc/alloc_memory.c", line 29: cannot find include file:
> > <gc_local_alloc.h>
> > 
> > and indeed I can not find such a file on my system.
> > 
> 
> Include removed in r43374. BTW, which version of boehm gc shipped with
> OpenSolaris? Looks like a packaging bug for me.

/usr/include/gc/gc_version.h reports itself as version 7.1.  That is:

    #define GC_TMP_VERSION_MAJOR 7
    #define GC_TMP_VERSION_MINOR 1

    # define GC_VERSION_MAJOR GC_TMP_VERSION_MAJOR
    # define GC_VERSION_MINOR GC_TMP_VERSION_MINOR

Removing the gc_local_alloc.h include gets me only a few lines
further:

    "src/gc/gc_boehm.c", line 41: syntax error before or at: obj
    "src/gc/gc_boehm.c", line 41: warning: undefined or missing type for: obj
    "src/gc/gc_boehm.c", line 41: parameter redeclared: GC_PTR

The problem is there is no GC_PTR type in the headers.

I don't think this is a packaging problem, but instead it is a
different-version problem.  Most likely, Configure.pl ought to try to
compile, link, and run a sample program that actually uses Boehm GC in
a way similar to the way it will be used in parrot, and only say "Yes,
you have Boehm GC" if that sample program works.

-- 
    Andy Dougherty              [email protected]
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to