[Gc] mingw32 issues?

QianQian Sunny catsunny2010 at gmail.com
Sun Aug 1 17:03:53 PDT 2010


Hi all,

I did the followings:
(1) ./configure --enable-shared=no --enable-static=yes
--enable-parallel-mark --enable-threads=win32 --prefix=/mingw
(2) make
(3) make check

However, it failed at make check. Emitted the following message:
.libs/typd_mlc.o: In function `GC_malloc_explicitly_typed_ignore_off_page':
e:\test\gc-7.1/typd_mlc.c:630: undefined reference to `GC_need_to_lock'
e:\test\gc-7.1/typd_mlc.c:630: undefined reference to `GC_allocate_ml'
e:\test\gc-7.1/typd_mlc.c:630: undefined reference to `GC_need_to_lock'
e:\test\gc-7.1/typd_mlc.c:639: undefined reference to `GC_allocate_ml'
e:\test\gc-7.1/typd_mlc.c:632: undefined reference to `GC_allocate_ml'
.libs/typd_mlc.o: In function `GC_calloc_explicitly_typed':
e:\test\gc-7.1/typd_mlc.c:679: undefined reference to `GC_need_to_lock'
e:\test\gc-7.1/typd_mlc.c:679: undefined reference to `GC_allocate_ml'
e:\test\gc-7.1/typd_mlc.c:679: undefined reference to `GC_need_to_lock'
e:\test\gc-7.1/typd_mlc.c:689: undefined reference to `GC_allocate_ml'
e:\test\gc-7.1/typd_mlc.c:681: undefined reference to `GC_allocate_ml'
...

Could anyone please tell me what's why? It seemed that some object
files are missing from libgc.a, right?

Thank you!
Qian.


More information about the Gc mailing list