I tried to compile pcsc-lite-1.1.1. The ./configure show the following messages: -------------------------------------------- ... checking for pthread.h... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking whether pthreads work with -mt... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no configure: error: POSIX thread support required
The pthread.h is installed, also all other needed Libraries and Header Files.
It seems that you have the header file for pthread.h: > checking for pthread.h... yes but not the libraries themselves: > configure: error: POSIX thread support required
When I configure pcsc-lite on my machine with the following characteristics:
redhat 8.0 kernel 2.4.20 gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7 glibc-2.2.93-5
I get the this output:
checking for pthread.h... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no
I guess the relevant parrt is:
> checking whether pthreads work with -pthread... yes
Regards,
Arno
The config.log files show the following entrees: ------------------------------------------------ configure:1589: checking lex output file root configure:1610: checking whether yytext is a pointer configure:1629: gcc -o conftest -g -O2 conftest.c -lfl 1>&5 configure:1659: checking for pthread.h configure:1669: gcc -E conftest.c >/dev/null 2>conftest.out configure:1790: checking for the pthreads library -lpthreads configure:1819: gcc -o conftest -g -O2 conftest.c -lpthreads 1>&5 In file included from /usr/include/pthread.h:121, from configure:1811: /usr/include/bits/libc-lock.h:47: parse error before "__libc_key_t" /usr/include/bits/libc-lock.h:273: parse error before '*' token /usr/include/bits/libc-lock.h:276: parse error before '*' token /usr/include/bits/libc-lock.h:278: parse error before '*' token /usr/include/bits/libc-lock.h:280: parse error before '*' token /usr/include/bits/libc-lock.h:282: parse error before '*' token /usr/include/bits/libc-lock.h:284: parse error before '*' token /usr/include/bits/libc-lock.h:286: parse error before '*' token /usr/include/bits/libc-lock.h:288: parse error before '*' token /usr/include/bits/libc-lock.h:308: parse error before '*' token
My System: ---------- Linux 2.4.20 Redhat 8.0
Best thanks for any comment.
Siegbert
_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
-- Mr Arno Wilhelm phion Information Technologies GmbH System Engineer Eduard-Bodem-Gasse 1 A-6020 Innsbruck www.phion.com tel: +43 512 39 45 45 fax: +43 512 39 45 45 20
_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
