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

Heimdal doesn't find pthreads



Hi, I'm trying to get the lates snapshots working on suse 8.2, compiling
with the following options:

--prefix=/usr/local/heimdal --with-openldap --with-pthreads


gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -g -O2 -o test_cred test_cred.o 
./.libs/libgssapi.a
/home/tarjei/src/heimdal-20040628/lib/krb5/.libs/libkrb5.a -lcrypt
/home/tarjei/src/heimdal-20040628/lib/des/.libs/libdes.a
/home/tarjei/src/heimdal-20040628/lib/asn1/.libs/libasn1.a
/home/tarjei/src/heimdal-20040628/lib/com_err/.libs/libcom_err.a
/home/tarjei/src/heimdal-20040628/lib/roken/.libs/libroken.a -ldb
-lresolv
./.libs/libgssapi.a(init.o)(.text+0x9b): In function
`gssapi_get_thread_context':
/home/tarjei/src/heimdal-20040628/lib/gssapi/init.c:66: undefined
reference to `pthread_getspecific'
./.libs/libgssapi.a(init.o)(.text+0xf7):/home/tarjei/src/heimdal-20040628/lib/gssapi/init.c:75: undefined reference to `pthread_setspecific'
./.libs/libgssapi.a(init.o)(.text+0x19e): In function
`gssapi_krb5_init':
/home/tarjei/src/heimdal-20040628/lib/gssapi/init.c:100: undefined
reference to `pthread_key_create'
collect2: ld returned 1 exit status
make[3]: *** [test_cred] Error 1
make[3]: Leaving directory
`/home/tarjei/src/heimdal-20040628/lib/gssapi'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/tarjei/src/heimdal-20040628/lib/gssapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tarjei/src/heimdal-20040628/lib'
make: *** [all-recursive] Error 1

I got glibc-devel installed, so I think it is mainly a problem of
finding the libs. Does anyone have an idea?


Thanks,
Tarjei