OK - I found a small amount of info that seems to indicate that the correct flag is simply -pthread without -lc_r, and this is also true for FreeBSD 6, although the only problem I ran into with FreeBSD 6 was a show stopping 64 bit compile issue. Once I compiled 32 bit I had no problems.
Anyway, if you are running FreeBSD 7 and have trouble compiling the binaries, remove -lc_r from the makefile - that seems to be working so far for me quite well. From what I read, you should remove it regardless and just keep -pthread, but then I try not to believe everything I read! Jeff Jeff Buehler wrote: > Hi All - > > There appears to be a build problem with FreeBSD 7 and XMail, at least > on the two non-64 bit systems I have updated so far - the build fails on > the -lc_r flag. I am uncertain as to the specifics of the lc_r flag - > it appears to be a directive to link against libc_r for threading - but > at any rate, that flag is no longer recognized (or valid?) under FreeBSD > 7. I removed it from the Makefile and kept -pthread, and so far > everything seems OK with the XMail binaries. > > I am guessing that FreeBSD 7 has changed the way it handles threads, > probably a good thing, and this is the root of the build problem. If > so, does anyone know if simply passing -pthreads is adequate? I haven't > been able to find much info about lc_r so far... > > Thanks, > Jeff > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
