[Mono-list] Problems Compiling with GC on Linux

Mike Peters mpeters@aktifkablo.net
Sat, 8 Mar 2003 01:26:42 +0200


I'm having trouble compiling mono-0.22 on Linux, Slackware 8 with
garbage collection enabled. I'm following the instructions as per the
Chapter 4.1), installed gc6.1 and linked the headers. However I'm
getting the following errors:

../io-layer/.libs/libwapi.al(timed-thread.lo): In function
/source/mono-0.22/mono/io-layer/timed-thread.c:88: undefined reference
to `GC_pthread_detach'
../io-layer/.libs/libwapi.al(timed-thread.lo): In function
/source/mono-0.22/mono/io-layer/timed-thread.c:124: undefined reference
to `GC_pthread_create'
collect2: ld returned 1 exit status
make[3]: *** [pedump] Error 1
make[3]: Leaving directory `/source/mono-0.22/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/source/mono-0.22/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/source/mono-0.22'
make: *** [all] Error 2

Any ideas where I'm going wrong?

Thanks in advance for your help.

Registered Linux User #247123

All Hell hadn't been let loose. It was merely Detritus. But from a few
feet away you couldn't tell the difference.
(The Fifth Elephant)