Re[6]: [GC] Missing references when building under MinGW
Ivan Maidanski
ivmai at mail.ru
Sat Feb 25 09:07:00 PST 2012
Hi Sergio,
I've fixed the problem. Try again.
25 02 2012, 19:35 Sergio NNX <sfhacker at hotmail.com>:
>
> Hi Ivan,
>
> Sorry to trouble with this but i'm still facing problems ......
>
> ./configure --enable-threads=posix --enable-static --enable-shared --enable-cplusplus
>
> make
>
> I get the following undefined references: (I get the same result if i specify: --enable-threads=pthreads)
posix is a synonym to pthreads
>
> .libs/alloc.o:alloc.c:(.text+0x18): undefined reference to `GC_need_to_lock'
> .libs/alloc.o:alloc.c:(.text+0xf9): undefined reference to `GC_need_to_lock'
> .libs/alloc.o:alloc.c:(.text+0x113): undefined reference to `GC_allocate_ml'
GC_need_to_lock is defined in win32_thread.c
Regards.
> ...
> .libs/typd_mlc.o:typd_mlc.c:(.text+0x10d1): undefined reference to `GC_allocate_ml'
> collect2: ld returned 1 exit status
> make[1]: *** [libgc.la] Error 1
> make: *** [all-recursive] Error 1
>
More information about the Gc
mailing list