this might be due to
http://www.freebsd.org/doc/en/books/porters-handbook/dads-pthread.html

you might wanna try removing -pthread from EXTRA_LIBS line of
ldap/libraries/libldap/Makefile.in, see if that helps or not.

kyanh wrote:
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?
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to