On Thu, 2006-08-31 at 09:05 +0200, Ludovic Rousseau wrote:
On 30/08/06, Byron Johnson <[EMAIL PROTECTED]> wrote:
>  Looks as though conftest.c can't find confdefs.h

I don't think so.


>  configure:4641: checking for ifdhandler.h
>  configure:4662: gcc -c -g -O2  -pthread -I/usr/local/include/PCSC
> conftest.c >&5
>  conftest.c:12:24: error: calling fdopen: Bad file descriptor
>  configure:4668: $? = 1
>  configure: failed program was:
>  | /* confdefs.h.  */
>  | #define PACKAGE_NAME "ccid"
>  | #define PACKAGE_TARNAME "ccid"
>  | #define PACKAGE_VERSION "1.1.0"
>  | #define PACKAGE_STRING "ccid 1.1.0"
>  | #define PACKAGE_BUGREPORT ""
>  | #define PACKAGE "ccid"
>  | #define VERSION "1.1.0"
>  | /* end confdefs.h.  */
>  |  #include <ifdhandler.h>
>  |
>  | #include <ifdhandler.h>
>  configure:4700: result: no
>  configure:4705: error: ifdhandler.h not found, install pcsc-lite
> 1.2.9-beta9 or later, or use ./configure PCSC_CFLAGS=...

The compilation failed on line 12 of the source code, ie on the
_second_ #include <ifdhandler.h>.

In one of your previous mails you wrote:
>> Can you tell me where ifdhandler.h has been installed on your system?
> /usr/local/include/PCSC/ifdhandler.h
> /usr/local/include/PCSC/ifdhandler.h.gch

I have never seen .gch header files yet. After some search it looks
like it is a precompiled header by g++.

Can you save the attached file and compile it using:
$ gcc c -g -O2 -pthread -I/usr/local/include/PCSC a.c

gcc -c -g -O2 -pthread -I/usr/local/include/PCSC a.c
a.c:2:24: error: calling fdopen: Bad file descriptor

After deleting 1 of the include lines in a.c I receive no errors.


Also what is the output of: gcc --version

gcc --version gcc (GCC) 4.1.0 (SUSE Linux)

Bye,

_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to