[Gc] Problem compiling gc 7.2a2

Pierre pierre42d at 9online.fr
Sun Nov 1 14:45:43 PST 2009


# 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\" 
-DPACKAGE_STRING=\"gc\ 7.2alpha2\" 
-DPACKAGE_BUGREPORT=\"Hans.Boehm at hp.com\" -DGC_VERSION_MAJOR=7 
-DGC_VERSION_MINOR=2 -DGC_ALPHA_VERSION=2 -DPACKAGE=\"gc\" 
-DVERSION=\"7.2alpha2\" -DGC_LINUX_THREADS=1 -D_REENTRANT=1 
-DPARALLEL_MARK=1 -DTHREAD_LOCAL_ALLOC=1 -DECOS=1 -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DGC_GCJ_SUPPORT=1 
-DJAVA_FINALIZATION=1 -DATOMIC_UNCOLLECTABLE=1 -DGC_ASSERTIONS=1 
-I./include   -fexceptions -I libatomic_ops/src -s -O3 -march=i686 -MT 
os_dep.lo -MD -MP -MF "$depbase.Tpo" -c -o os_dep.lo os_dep.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; 
exit 1; fi
  gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" 
-DPACKAGE_VERSION=\"7.2alpha2\" "-DPACKAGE_STRING=\"gc 7.2alpha2\"" 
-DPACKAGE_BUGREPORT=\"Hans.Boehm at hp.com\" -DGC_VERSION_MAJOR=7 
-DGC_VERSION_MINOR=2 -DGC_ALPHA_VERSION=2 -DPACKAGE=\"gc\" 
-DVERSION=\"7.2alpha2\" -DGC_LINUX_THREADS=1 -D_REENTRANT=1 
-DPARALLEL_MARK=1 -DTHREAD_LOCAL_ALLOC=1 -DECOS=1 -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DGC_GCJ_SUPPORT=1 
-DJAVA_FINALIZATION=1 -DATOMIC_UNCOLLECTABLE=1 -DGC_ASSERTIONS=1 
-I./include -fexceptions -I libatomic_ops/src -s -O3 -march=i686 -MT 
os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c os_dep.c  -fPIC -DPIC -o 
.libs/os_dep.o
os_dep.c:484: error: 'brk' redeclared as different kind of symbol
/usr/include/unistd.h:866: error: previous declaration of 'brk' was here
os_dep.c:484: error: 'brk' redeclared as different kind of symbol
/usr/include/unistd.h:866: error: previous declaration of 'brk' was here
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



More information about the Gc mailing list