build c-sdk on FreeBSD-7.2

kyanh <[email protected]> Wed, 20 May 2009 06:40:53 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <5c00ab83-b9b3-4254-b8d7-e62fc1705f88@r31g2000prh.googlegroups.com>
Dear all,

I try to build Fedora Directory Server on FreeBSD -7.2. Now I am
building `mozldap` . The `ld` prorgram fails with option `-pthread`:

<pre>
# ./configure --enable-clu --with-sasl=/usr/local --with-svrcore=/usr/
local

....
checking whether gcc accepts -pthread... yes
creating ./config.status
.....

# gmake
/usr/bin/ld: unrecognized option '-pthread'
/usr/bin/ld: use the --help option for usage information
gmake[3]: *** [libprldap60.so] Error 1
</pre>

How can I get rid of this error?

Thank you for your helps.

Regards.