Bug#414715: openct: FTBFS: Parse errors in ifdhandler.h

2007-03-13 Thread Daniel Schepler
Package: openct
Version: 0.6.11-1
Severity: serious
Tags: sid
X-Debbugs-CC: Ludovic Rousseau [EMAIL PROTECTED]

From my pbuilder build log for openct, using a sid chroot:

...
make[4]: Entering directory `/tmp/buildd/openct-0.6.11/src/pcsc'
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../src/ctapi -I../../src/include -I../../src/include  
-I/usr/include/PCSC-I../../src/include -I../../src/include   -Wall -g -Wall 
-O2  -c -o pcsc.lo pcsc.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/ctapi -I../../src/include 
-I../../src/include -I/usr/include/PCSC -I../../src/include -I../../src/include 
-Wall -g -Wall -O2 -c pcsc.c  -fPIC -DPIC -o .libs/pcsc.o
In file included from pcsc.c:37:
ifdhandler.h:20: warning: 'LPTSTR' is deprecated
ifdhandler.h:21: warning: 'LPTSTR' is deprecated
ifdhandler.h:23: warning: 'LPTSTR' is deprecated
ifdhandler.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'IFDHCreateChannel'
ifdhandler.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'IFDHCloseChannel'
...
make[4]: *** [pcsc.lo] Error 1
make[4]: Leaving directory `/tmp/buildd/openct-0.6.11/src/pcsc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/openct-0.6.11/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/openct-0.6.11'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/openct-0.6.11'
make: *** [debian/stamp-makefile-build] Error 2

The build works fine in an etch chroot, so I suspect an incompatibility with
the newer version of pcsc-lite.  Cc'ing the pcsc-lite maintainer for input.
-- 
Daniel Schepler



Bug#414715: openct: FTBFS: Parse errors in ifdhandler.h

2007-03-13 Thread Ludovic Rousseau
Hello,

Le 13.03.2007, à 14:58:55, Daniel Schepler a écrit:
 The build works fine in an etch chroot, so I suspect an incompatibility with
 the newer version of pcsc-lite.  Cc'ing the pcsc-lite maintainer for input.

pcsc-lite evolved and RESPONSECODE type is now defined in ifdhandler.h
instead of wintypes.h for pcsc-lite 1.4.0

See http://archives.neohapsis.com/archives/dev/muscle/2007-q1/0144.html

Etch has pcsc-lite 1.3.2 so has no problem with that.

I will submit a patch for OpenCT on opensc-devel list.

Bye

-- 
 Dr. Ludovic Rousseau[EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --



Bug#414715: openct: FTBFS: Parse errors in ifdhandler.h

2007-03-13 Thread Andreas Jellinghaus
ok, thanks everyone. I opened a bug in the openct bug tracker to track the
issue too, it is bug #25.

Andreas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]