[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

krb5-config --libs gssapi prints out "-pthread" - why makes this my build fail?


I am trying to build GSSAPI-using sofware (mod_auth_kerb in that case)
against an installation of Heimdal 0.7.2

The output of

   krb5-config --libs gssapi


   -L/home/achim/local/heimdal_0.7.2/lib -lgssapi -lkrb5 -lasn1 -lcom_err
   -lcrypto -lroken -lcrypt -ldl -lresolv -pthread

I do not understand what the '-pthread' is thought for:
The Buildsystem of mod_auth_kerb passes 

   "-L/home/achim/local/heimdal_0.7.2/lib -lgssapi -lkrb5 -lasn1 -lcom_err
   -lcrypto -lroken -lcrypt -ldl -lresolv -pthread"

to the linker, but during linking (Linux x86)) ld fails with

   unrecognized option '-pthreads'

Can you help me find out what I am doing wrong?

Thank you, Achim

uname -a
Linux thor.grolmsnet.de 2.4.26-gentoo-r13 #6 SMP Fri Dec 17 19:54:24 CET 2004 
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

ld --version
GNU ld version 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

 gcc --version
gcc (GCC) 3.3.5-20050130 (Gentoo, ssp-, 
Copyright  2003 Free Software Foundation, Inc.