Nesrine Chaher wrote: > Hello, > I am trying to compile Pkcs11-muscle with libmusclecard 1.3 and I am > getting some symbols undeclared : > for example: MSC_MODE_SIGNATURE_RSA_SHA_PKCS1
Mmmh, maybe Muscle PKCS#11 is already partly updated to the new API. Look at: https://alioth.debian.org/project/showfiles.php?group_id=30111 if it is contained in the framework. Or checkout a previous version from SVN. I you want to try the "stable" framework and switch later to the new version (maybe you have obtained a certificate and want to keep it ...), you should generate the key, so they can be exported. (Should be possible to read the keys) Maybe this is only possible with muscleTool 2.1 from https://alioth.debian.org/project/showfiles.php?group_id=30112 Karsten > > I checked in PCSC/include and those variables are effectively not there > while with libmuclecard2.0 those symbols are found in PCSC/musclecard.h > ... > My question is: has anyone encountered that error? > and where can I found the header that contains these symbols? > > In attachment the output of the make command. > > For info: I have used libp11 version 0.2.1 and pcsc-lite version 1.3.0 ... > > Best Regards, > Nesrine > > ************************************************ > > making all in src > make[1]: Entering directory `/home/nesrine/src/PKCS/Pkcs11-muscle/src' > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\" > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libmusclepkcs11\" > -DVERSION=\"0.0.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBCRYPTO=1 > -DHAVE_LIBMUSCLECARD=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 > -DHAVE_SYS_WAIT_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_VPRINTF=1 -I. -I. -I./../include `pkg-config --cflags > libmusclecard` -g -O2 -Wall -fno-strict-aliasing -MT p11_crypt.lo -MD > -MP -MF ".deps/p11_crypt.Tpo" -c -o p11_crypt.lo p11_crypt.c; \ > then mv -f ".deps/p11_crypt.Tpo" ".deps/p11_crypt.Plo"; else rm -f > ".deps/p11_crypt.Tpo"; exit 1; fi > gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE=\"libmusclepkcs11\" -DVERSION=\"0.0.11\" -DSTDC_HEADERS=1 > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 > -DHAVE_LIBCRYPTO=1 -DHAVE_LIBMUSCLECARD=1 -DHAVE_LIBPTHREAD=1 > -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_VPRINTF=1 -I. -I. -I./../include -pthread > -I/usr/local/include/PCSC -I/usr/include/PCSC -g -O2 -Wall > -fno-strict-aliasing -MT p11_crypt.lo -MD -MP -MF .deps/p11_crypt.Tpo -c > p11_crypt.c -fPIC -DPIC -o .libs/p11_crypt.o > p11_crypt.c: In function 'C_Encrypt': > p11_crypt.c:177: error: 'MSC_MODE_SIGNATURE_RSA_SHA_PKCS1' undeclared > (first use in this function) > p11_crypt.c:177: error: (Each undeclared identifier is reported only once > p11_crypt.c:177: error: for each function it appears in.) > p11_crypt.c: In function 'C_Decrypt': > p11_crypt.c:420: error: 'MSC_CAPABLE_CIPHER_RSA_NOPAD' undeclared (first > use in this function) > p11_crypt.c:425: error: 'MSC_MODE_CIPHER_RSA_NOPAD' undeclared (first > use in this function) > p11_crypt.c:460: error: 'MSC_CAPABLE_CIPHER_RSA_PKCS1' undeclared (first > use in this function) > p11_crypt.c:467: error: 'MSC_MODE_CIPHER_RSA_PKCS1' undeclared (first > use in this function) > make[1]: *** [p11_crypt.lo] Error 1 > make[1]: Leaving directory `/home/nesrine/src/PKCS/Pkcs11-muscle/src' > make: *** [all-recursive] Error 1 > > > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
