On Tue, Mar 30, 2010 at 6:02 PM, Matthew Flatt <[email protected]> wrote: > At Tue, 30 Mar 2010 17:01:05 -0500, Casey Klein wrote: >> I get the following error with a clean Linux build of r18681. > > Does it work if you manually include the "-pthread" flag in CFLAGS when > configuring?: > > env CFLAGS="-pthread" configure >
No, I get the same error with -lpthread. I see now that I get a similar error with this program: #include <pthread.h> pthread_rwlock_t lock; Googling lead me to this page http://lists.debian.org/debian-user/2002/09/msg02931.html which suggests using -D_XOPEN_SOURCE=500. That solves the problem with the program above but causes a different error with mzrt.c Now that I think about it, this is probably the first build I've attempted on this machine. If I've survived this long without building, I can continue without it :-) _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev
