Subject: Comiling OpenSC
To: None <netbsd-help@netbsd.org>
From: None <netbsd@purk.ee>
List: tech-pkg
Date: 05/01/2004 12:58:06
Hi,

I'm trying to compile OpenSC patched version for Estonian ID card without much
luck.
PC/SC lite compiled fine.It configures fine in current and stable but make ends
right here:
What i'm missing here?

Thanks in advance!

 ./configure --prefix=/usr/pkg --sysconfdir=/usr/pkg/etc
--with-pcsclite=/usr/local

card-gpk.c: In function `gpk_compute_crycks':
card-gpk.c:811: error: `des_key_schedule' undeclared (first use in this
function)
card-gpk.c:811: error: (Each undeclared identifier is reported only once
card-gpk.c:811: error: for each function it appears in.)
card-gpk.c:811: error: syntax error before "k1"
card-gpk.c:816: warning: implicit declaration of function
`des_set_key_unchecked'
card-gpk.c:816: error: `des_cblock' undeclared (first use in this function)
card-gpk.c:816: error: syntax error before ')' token
card-gpk.c:817: error: syntax error before ')' token
card-gpk.c:817: error: `k2' undeclared (first use in this function)
card-gpk.c:837: warning: implicit declaration of function `des_ecb3_encrypt'
card-gpk.c:837: error: syntax error before ')' token
card-gpk.c:849: error: `k1' undeclared (first use in this function)
card-gpk.c: In function `gpk_set_filekey':
card-gpk.c:968: error: `des_key_schedule' undeclared (first use in this
function)
card-gpk.c:968: error: syntax error before "k1"
card-gpk.c:969: error: `des_cblock' undeclared (first use in this function)
card-gpk.c:972: error: syntax error before ')' token
card-gpk.c:973: error: syntax error before ')' token
card-gpk.c:973: error: `k2' undeclared (first use in this function)
card-gpk.c:975: error: syntax error before ')' token
card-gpk.c:975: error: syntax error before ')' token
card-gpk.c:977: error: syntax error before ')' token
card-gpk.c:977: error: syntax error before ')' token
card-gpk.c:977: error: `k1' undeclared (first use in this function)
card-gpk.c:984: error: syntax error before ')' token
card-gpk.c:985: error: syntax error before ')' token
card-gpk.c:987: error: syntax error before ')' token
card-gpk.c:989: error: `out' undeclared (first use in this function)




----------------------------------------------------------------
Powered By "NetBSD" http://www.netbsd.org