[Mono-dev] Unable to compile from svn

Kojo Adams samanpa at gmail.com
Mon Feb 23 01:46:23 EST 2009


Hi all,

I get the following error when trying to compile from svn.

CC	mono-hash.lo
mono-hash.c: In function 'g_hash_node_new':
mono-hash.c:401: error: 'node_mem_chunk' undeclared (first use in this function)
mono-hash.c:401: error: (Each undeclared identifier is reported only once
mono-hash.c:401: error: for each function it appears in.)
make[3]: *** [mono-hash.lo] Error 1


As far as I can see node_mem_chunk is defined as
#if defined(HAVE_NULL_GC)
static GMemChunk *node_mem_chunk = NULL;
#endif
#if defined(HAVE_SGEN_GC)
static MonoGHashNode *node_free_lists [4] = {NULL};
static void *hash_descr = NULL;
static GMemChunk *node_mem_chunk = NULL;
#else
static MonoGHashNode *node_free_list = NULL;
#endif

My config is

        mcs source:    $(top_srcdir)/../mcs
        olive source:

	GC:	       included
	TLS:           __thread
	SIGALTSTACK:   yes
	Engine:        Building and using the JIT
	2.0 Beta:      yes
	2.1 Alpha:     yes
	JNI support:   IKVM Native
	libgdiplus:    assumed to be installed
	zlib:
	oprofile:      no
	BigArrays:     no
	DTrace:        no
	Parallel Mark: yes

Kojo


More information about the Mono-devel-list mailing list