[Mono-dev] build faild in libgc

KISHIMOTO, Makoto ksmakoto at dd.iij4u.or.jp
Thu May 24 05:36:33 UTC 2012


Hello,

In my FreeBSD box, since e7f3bbad80fe04bea1a055e870d856a22003d34d of Mono trunk
build failed. Following is error message.

./doltlibtool --mode=compile --tag=CC gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\" -DPACKAGE_STRING=\"libgc-mono\ 6.6\" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DPACKAGE_URL=\"\" -DGC_FREEBSD_THREADS=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 -DLT_OBJDIR=\".libs/\" -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I../../mono/libgc/.. -I../../mono/libgc/include  -DGC_FREEBSD_THREADS -DPLATFORM_BSD -I/usr/local/include -D__default_codegen__  -g -mno-tls-direct-seg-refs   -MT pthread_support.lo -MD -MP -MF .deps/pthread_support.Tpo -c -o pthread_support.lo ../../mono/libgc/pthread_support.c
../../mono/libgc/pthread_support.c: In function 'GC_register_altstack':
../../mono/libgc/pthread_support.c:870: error: 'main_pthread_self' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:870: error: (Each undeclared identifier is reported only once
../../mono/libgc/pthread_support.c:870: error: for each function it appears in.)
../../mono/libgc/pthread_support.c:871: error: 'main_stack' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:872: error: 'main_stack_size' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:873: error: 'main_altstack' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:874: error: 'main_altstack_size' undeclared (first use in this function)
../../mono/libgc/pthread_support.c: In function 'GC_thr_init':
../../mono/libgc/pthread_support.c:1114: error: 'main_pthread_self' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:1115: error: 'main_stack' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:1116: error: 'main_stack_size' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:1117: error: 'main_altstack' undeclared (first use in this function)
../../mono/libgc/pthread_support.c:1118: error: 'main_altstack_size' undeclared (first use in this function)
gmake[3]: *** [pthread_support.lo] Error 1

Thnaks.


More information about the Mono-devel-list mailing list