Re: build c-sdk on FreeBSD-7.2
Anton Bobrov <[email protected]> Wed, 20 May 2009 17:49:49 +0200
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Organization | Sun Microsystems, Inc. |
| Message-ID | <[email protected]> |
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?