The real error is some lines earlier in the log:
make[6]: Entering directory `/build/buildd/libchipcard-5.0.0/src/lib/client/base' /bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DBUILDING_CHIPCARD -DLC_CLIENT_CONFIG_DIR=\"/etc/chipcard\" -DLC_CLIENT_CONFIG_FILE=\"chipcardc.conf\" -DLC_CLIENT_XML_DIR=\"/usr/share/chipcard\" -I. -I../../../.. -I../../../../libchipcard5 -I/usr/include -I/usr/include/PCSC -I/usr/include/gwenhywfar4 -I.. -I./.. -I../../../.. -I/usr/include/gwenhywfar4 -fvisibility=hidden -g -O2 -c -o client.lo client.c libtool: compile: gcc -DHAVE_CONFIG_H -DBUILDING_CHIPCARD -DLC_CLIENT_CONFIG_DIR=\"/etc/chipcard\" -DLC_CLIENT_CONFIG_FILE=\"chipcardc.conf\" -DLC_CLIENT_XML_DIR=\"/usr/share/chipcard\" -I. -I../../../.. -I../../../../libchipcard5 -I/usr/include -I/usr/include/PCSC -I/usr/include/gwenhywfar4 -I.. -I./.. -I../../../.. -I/usr/include/gwenhywfar4 -fvisibility=hidden -g -O2 -c client.c -fPIC -DPIC -o .libs/client.o In file included from client.c:16:0: client_p.h:45:3: error: expected specifier-qualifier-list before 'SCARD_READERSTATE_A'
... which is the same as in Debian Bug #614460.
The real error is some lines earlier in the log:
make[6]: Entering directory `/build/ buildd/ libchipcard- 5.0.0/src/ lib/client/ base' CONFIG_ DIR=\"/ etc/chipcard\ " -DLC_CLIENT_ CONFIG_ FILE=\" chipcardc. conf\" -DLC_CLIENT_ XML_DIR= \"/usr/ share/chipcard\ " -I. -I../../../.. -I../.. /../../ libchipcard5 -I/usr/include -I/usr/include/PCSC -I/usr/ include/ gwenhywfar4 -I.. -I./.. -I../../../.. -I/usr/ include/ gwenhywfar4 -fvisibility=hidden -g -O2 -c -o client.lo client.c CONFIG_ DIR=\"/ etc/chipcard\ " -DLC_CLIENT_ CONFIG_ FILE=\" chipcardc. conf\" -DLC_CLIENT_ XML_DIR= \"/usr/ share/chipcard\ " -I. -I../../../.. -I../.. /../../ libchipcard5 -I/usr/include -I/usr/include/PCSC -I/usr/ include/ gwenhywfar4 -I.. -I./.. -I../../../.. -I/usr/ include/ gwenhywfar4 -fvisibility=hidden -g -O2 -c client.c -fPIC -DPIC -o .libs/client.o qualifier- list before 'SCARD_ READERSTATE_ A'
/bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DBUILDING_CHIPCARD -DLC_CLIENT_
libtool: compile: gcc -DHAVE_CONFIG_H -DBUILDING_CHIPCARD -DLC_CLIENT_
In file included from client.c:16:0:
client_p.h:45:3: error: expected specifier-
... which is the same as in Debian Bug #614460.