Closed nickersk closed 1 year ago
possible fix: --- a/pcsc_scan.c +++ b/pcsc_scan.c @@ -51,6 +51,10 @@ typedef enum
+#ifndef ATR_PARSER +/ command used to parse (on screen) the ATR / +#define ATR_PARSER "ATR_analysis" +#endif
What OS are you using?
https://www.yoctoproject.org/ on Ubuntu 22.04 x64
Do (or redo):
./bootstrap
./configure
make
thank you, works
| ../git/pcsc_scan.c: In function 'main': | ../git/pcsc_scan.c:496:45: error: 'ATR_PARSER' undeclared (first use in this function) | 496 | char atr_command[sizeof(atr)+sizeof(ATR_PARSER)+2+1]; | | ^
~~~~~ | ../git/pcsc_scan.c:496:45: note: each undeclared identifier is reported only once for each function it appears in | ../git/pcsc_scan.c:878:72: error: expected ')' before string constant | 878 | sprintf(atr_command, ATR_PARSER " '%s'", atr); | | ~ ^~~~ | | )