Mailing List Archive

o[c]sc_get_status typo? (was: New gnupg 1.9 release)
On Tue, Jun 08, 2004 at 09:42:21PM +0200, Werner Koch wrote:
> I have just released GnuPG 1.9.9 with some minor fixes. Note that
> this is the S/MIME enhanced version of GnuPG which should peacefully
> coexists with other GnupG versions (1.2.x or 1.3.x). See the README
> and NEWS file for details.
>
> ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-1.9.9.tar.gz
> ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-1.9.9.tar.gz.sig
> ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-1.9.8-1.9.9.diff.gz
>
> You also need to update two of the libraries:
>
> ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.7.tar.gz
> ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.7.tar.gz.sig
> ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.6-0.9.7.diff.gz
>
> ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.6.6.tar.gz
> ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.6.6.tar.gz.sig
> ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.6.5-0.6.6.tar.gz

The build fails with:

apdu.c: In function `apdu_get_status':
apdu.c:1721: warning: implicit declaration of function `osc_get_status'
apdu.c: At top level:
apdu.c:1313: warning: `ocsc_get_status' defined but not used
[...]
gcc -I/usr/include -O2 -g -pipe -march=i386 -mcpu=i686 -fPIE -pie -Wall -o scdaemon scdaemon.o command.o card.o card-p15.o apdu.o ccid-driver.o iso7816.o tlv.o app.o app-help.o app-openpgp.o app-nks.o app-dinsig.o../jnlib/libjnlib.a ../common/libcommon.a -L/usr/lib -lopensc -lpcsclite -lpthread -lgcrypt -lgpg-error -L/usr/lib -lpth -lksba -lgpg-error -lassuan -lgpg-error -ldl -lz
apdu.o(.text+0x20af): In function `apdu_get_status':
/var/tmp/bach-build/BUILD/gnupg-1.9.9/scd/apdu.c:1721: undefined reference to `osc_get_status'


> Noteworthy changes are:
>
> * [gpg-agent] The new option --allow-mark-trusted is now required to
> allow gpg-agent to add a key to the trustlist.txt after user
> confirmation.
>
> * Creating PKCS#10 requests does now honor the key usage.
>
>
> Happy hacking,
>
> Werner
>
>

--
Axel.Thimm at ATrpms.net
Re: o[c]sc_get_status typo? [ In reply to ]
On Wed, 9 Jun 2004 00:38:52 +0200, Axel Thimm said:

> apdu.o(.text+0x20af): In function `apdu_get_status':
> /var/tmp/bach-build/BUILD/gnupg-1.9.9/scd/apdu.c:1721: undefined reference to `osc_get_status'

Thanks for noting. I have not tested the OpenSC version for quite
some time due to the flux in the OpenSC API.

Werner