I am building 'mozldap' from source (mozldap is also known as ldapsdk. The current port of ldapsdk is very out of date and I need to build a new one).
My build process fails when `ld` tries to use `-pthread` option though the `configure` scripts doesn't complain about `pthread`:
I've searched but did not find any similiar error. So any helps are very highly appreciated.
Thank you.
My build process fails when `ld` tries to use `-pthread` option though the `configure` scripts doesn't complain about `pthread`:
Code:
# ./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
I've searched but did not find any similiar error. So any helps are very highly appreciated.
Thank you.