[Gc]: Problem compiling gc 7.2a2

Pierre pierre42d at 9online.fr
Mon Nov 2 08:26:39 PST 2009


Ivan Maidanski wrote:
> Hi!
> Pierre <pierre42d at 9online.fr> wrote:
>> # make
>> make[1]: Entering directory `/tmp/gc-7.2alpha2'
>> depbase=`echo os_dep.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
>> if /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gc\" 
>> -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"7.2alpha2\" 
>> ...
>> os_dep.c:484: error: 'brk' redeclared as different kind of symbol
>> /usr/include/unistd.h:866: error: previous declaration of 'brk' was here
> 
> Thanks. Just fixed.
> 
>> os_dep.c: In function `GC_get_main_stack_base':
>> os_dep.c:859: error: `STACKBOTTOM' undeclared (first use in this function)
>> os_dep.c:859: error: (Each undeclared identifier is reported only once
>> os_dep.c:859: error: for each function it appears in.)
>> make[1]: *** [os_dep.lo] Error 1
>> make[1]: Leaving directory `/tmp/gc-7.2alpha2'
>> make: *** [all-recursive] Error 1
> 
> Unfortunately, you said nothing about the target platform, so:
> 1. could you try the latest CVS version of GC (the building scripts have been improved since v7.2a2);

Ok I will try it

> 2. identify the target platform.

I am using GNU/Linux on x86


Best regards,

-- 
Pierre.



More information about the Gc mailing list