[developers] ECL compilation

Eric Nichols eric-n at is.naist.jp
Thu Feb 16 17:41:06 CET 2006


Greetings,

I can confirm this error and fix on a 32-bit platform running Ubuntu Breezy
when the libgc headers are installed. Does setting --enable-boehm=included
use the system's headers or the ones distributed with ECL?

Eric Nichols <eric-n at is.naist.jp>

Ben Waldron wrote:
>
>> Bernd Kiefer wrote:
>>> ecl 0.9h fails to compile on Linux x86_64
>>> Compilation fails because alloc_2.c does not
>>> find the headers gc/gc.h and gc/gc_priv.h
>>>
>>> The reason seems to be that there is a libgc.so
>>> installed in /usr/lib and gc.h in /usr/include
>>>
>>> The following patch removes the problem, although
>>> there obviously is the need to handle this correctly
>>> in the configure script:
>>>
>>> *** alloc_2.d~ Wed Nov 16 11:13:20 2005
>>> --- alloc_2.d Fri Feb 10 15:33:30 2006
>>> ***************
>>> *** 25,26 ****
>>> ! #include "gc/gc.h"
>>> ! #include "gc/private/gc_priv.h"
>>> --- 25,26 ----
>>> ! #include <gc.h>
>>> ! typedef char * ptr_t;
> I was able to work around this problem by passing the following option 
> to the configure script:
>
>    --enable-boehm=included
>
> (On my SuSE machine the problem occured because header files of the 
> same name were already installed under /usr/include/ as part of the 
> package boehm-gc-3.3.5-5)
>
> Thanks,
> - Ben



More information about the developers mailing list