=> Building security/iaikpkcs11wrapper build started at Wed Oct 5 20:38:24 PDT 2016 port directory: /usr/ports/security/iaikpkcs11wrapper building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ale@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../08//usr/ports/security/iaikpkcs11wrapper/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=iaikPkcs11Wrapper-1.2.18 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for iaikPkcs11Wrapper-1.2.18: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/security/iaikpkcs11wrapper XDG_CONFIG_HOME=/wrkdirs/security/iaikpkcs11wrapper HOME=/wrkdirs/security/iaikpkcs11wrapper TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/security/iaikpkcs11wrapper XDG_CONFIG_HOME=/wrkdirs/security/iaikpkcs11wrapper HOME=/wrkdirs/security/iaikpkcs11wrapper TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/iaikPkcs11Wrapper" EXAMPLESDIR="share/examples/iaikPkcs11Wrapper" DATADIR="share/iaikPkcs11Wrapper" WWWDIR="www/iaikPkcs11Wrapper" ETCDIR="etc/iaikPkcs11Wrapper" --End PLIST_SUB-- --SUB_LIST-- JAVASHAREDIR="/usr/local/share/java" JAVAJARDIR="/usr/local/share/java/classes" JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="1.6+" JAVA_OS="native" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/iaikPkcs11Wrapper DOCSDIR=/usr/local/share/doc/iaikPkcs11Wrapper EXAMPLESDIR=/usr/local/share/examples/iaikPkcs11Wrapper WWWDIR=/usr/local/www/iaikPkcs11Wrapper ETCDIR=/usr/local/etc/iaikPkcs11Wrapper --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of iaikPkcs11Wrapper-1.2.18 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building =========================================================================== =================================================== ===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building => SHA256 Checksum OK for iaikPkcs11Wrapper_1_2_18.zip. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by iaikPkcs11Wrapper-1.2.18 for building ===> Extracting for iaikPkcs11Wrapper-1.2.18 => SHA256 Checksum OK for iaikPkcs11Wrapper_1_2_18.zip. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for iaikPkcs11Wrapper-1.2.18 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for iaikPkcs11Wrapper-1.2.18 =========================================================================== =================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - not found ===> Installing existing package /packages/All/openjdk8-8.102.14_1.txz Installing openjdk8-8.102.14_1... `-- Installing giflib-5.1.3... `-- Extracting giflib-5.1.3: .......... done `-- Installing libXt-1.1.5,1... | `-- Installing xproto-7.0.28... | `-- Extracting xproto-7.0.28: .......... done | `-- Installing libSM-1.2.2_3,1... | | `-- Installing libICE-1.0.9_1,1... | | `-- Extracting libICE-1.0.9_1,1: .......... done | `-- Extracting libSM-1.2.2_3,1: .......... done | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | `-- Extracting libX11-1.6.3,1: .......... done `-- Extracting libXt-1.1.5,1: .......... done `-- Installing libXtst-1.2.2_3... | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done | `-- Installing inputproto-2.3.1... | `-- Extracting inputproto-2.3.1: ..... done | `-- Installing libXi-1.7.6,1... | | `-- Installing libXfixes-5.0.1_3... | | `-- Installing fixesproto-5.0... | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.1_3: .......... done | `-- Extracting libXi-1.7.6,1: .......... done | `-- Installing recordproto-1.14.2... | `-- Extracting recordproto-1.14.2: .... done `-- Extracting libXtst-1.2.2_3: .......... done `-- Installing java-zoneinfo-2016.f... `-- Extracting java-zoneinfo-2016.f: .......... done `-- Installing gcc-4.8.5_2... | `-- Installing indexinfo-0.2.5... | `-- Extracting indexinfo-0.2.5: .... done | `-- Installing mpc-1.0.3... | | `-- Installing gmp-5.1.3_3... | | `-- Extracting gmp-5.1.3_3: .......... done | | `-- Installing mpfr-3.1.5... | | `-- Extracting mpfr-3.1.5: .......... done | `-- Extracting mpc-1.0.3: ...... done | `-- Installing binutils-2.27_4,1... | | `-- Installing gettext-runtime-0.19.8.1... | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | `-- Extracting binutils-2.27_4,1: .......... done `-- Extracting gcc-4.8.5_2: .......... done `-- Installing libXrender-0.9.9... | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done `-- Extracting libXrender-0.9.9: .......... done `-- Installing freetype2-2.6.3... `-- Extracting freetype2-2.6.3: .......... done `-- Installing alsa-lib-1.1.2... `-- Extracting alsa-lib-1.1.2: .......... done `-- Installing fontconfig-2.12.1,1... | `-- Installing expat-2.2.0... | `-- Extracting expat-2.2.0: .......... done `-- Extracting fontconfig-2.12.1,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded `-- Installing dejavu-2.35... | `-- Installing mkfontdir-1.0.7... | | `-- Installing mkfontscale-1.1.2... | | `-- Installing libfontenc-1.1.3... | | `-- Extracting libfontenc-1.1.3: ...... done | | `-- Extracting mkfontscale-1.1.2: .. done | `-- Extracting mkfontdir-1.0.7: .. done `-- Extracting dejavu-2.35: .......... done `-- Installing javavmwrapper-2.5_2... `-- Extracting javavmwrapper-2.5_2: .......... done Extracting openjdk8-8.102.14_1: .......... done Message from gcc-4.8.5_2: To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc48 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. Message from dejavu-2.35: Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. Message from openjdk8-8.102.14_1: ====================================================================== This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 ====================================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - found ===> Returning to build of iaikPkcs11Wrapper-1.2.18 ===> iaikPkcs11Wrapper-1.2.18 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... Extracting gmake-4.2.1_1: .......... done ===> iaikPkcs11Wrapper-1.2.18 depends on executable: gmake - found ===> Returning to build of iaikPkcs11Wrapper-1.2.18 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for iaikPkcs11Wrapper-1.2.18 =========================================================================== =================================================== ===> Building for iaikPkcs11Wrapper-1.2.18 gmake[1]: Entering directory '/wrkdirs/security/iaikpkcs11wrapper/src/native/unix/linux-x86_64' mkdir -p release/ cc -fPIC -I ../src/ -I ../../common/ -DUNIX -m64 -o release/libpkcs11wrapper.so ../../common/pkcs11wrapper.c -shared In file included from ../../common/pkcs11wrapper.c:62:0: ../src/platform.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_connect': ../src/platform.c:123:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Initialize': ../../common/pkcs11wrapper.c:270:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Finalize': ../../common/pkcs11wrapper.c:310:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetInfo': ../../common/pkcs11wrapper.c:339:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetSlotList': ../../common/pkcs11wrapper.c:377:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:385:38: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetSlotInfo': ../../common/pkcs11wrapper.c:427:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetTokenInfo': ../../common/pkcs11wrapper.c:463:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetMechanismList': ../../common/pkcs11wrapper.c:501:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:507:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetMechanismInfo': ../../common/pkcs11wrapper.c:549:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1InitToken': ../../common/pkcs11wrapper.c:593:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1InitPIN': ../../common/pkcs11wrapper.c:631:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SetPIN': ../../common/pkcs11wrapper.c:673:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1OpenSession': ../../common/pkcs11wrapper.c:740:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CloseSession': ../../common/pkcs11wrapper.c:788:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CloseAllSessions': ../../common/pkcs11wrapper.c:837:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetSessionInfo': ../../common/pkcs11wrapper.c:883:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetOperationState': ../../common/pkcs11wrapper.c:921:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:927:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SetOperationState': ../../common/pkcs11wrapper.c:973:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Login': ../../common/pkcs11wrapper.c:1013:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Logout': ../../common/pkcs11wrapper.c:1045:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CreateObject': ../../common/pkcs11wrapper.c:1084:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CopyObject': ../../common/pkcs11wrapper.c:1143:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DestroyObject': ../../common/pkcs11wrapper.c:1194:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetObjectSize': ../../common/pkcs11wrapper.c:1230:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetAttributeValue': ../../common/pkcs11wrapper.c:1290:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1319:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1339:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1413:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1425:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SetAttributeValue': ../../common/pkcs11wrapper.c:1486:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1FindObjectsInit': ../../common/pkcs11wrapper.c:1538:33: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1FindObjects': ../../common/pkcs11wrapper.c:1592:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) { ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1FindObjectsFinal': ../../common/pkcs11wrapper.c:1629:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1EncryptInit': ../../common/pkcs11wrapper.c:1665:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Encrypt': ../../common/pkcs11wrapper.c:1709:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1717:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1EncryptUpdate': ../../common/pkcs11wrapper.c:1764:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1770:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1EncryptFinal': ../../common/pkcs11wrapper.c:1812:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1818:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptInit': ../../common/pkcs11wrapper.c:1861:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Decrypt': ../../common/pkcs11wrapper.c:1905:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1913:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptUpdate': ../../common/pkcs11wrapper.c:1959:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:1965:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptFinal': ../../common/pkcs11wrapper.c:2007:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2013:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestInit': ../../common/pkcs11wrapper.c:2054:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Digest': ../../common/pkcs11wrapper.c:2098:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2106:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestUpdate': ../../common/pkcs11wrapper.c:2150:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestKey': ../../common/pkcs11wrapper.c:2185:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestFinal': ../../common/pkcs11wrapper.c:2220:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2226:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignInit': ../../common/pkcs11wrapper.c:2268:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Sign': ../../common/pkcs11wrapper.c:2341:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignUpdate': ../../common/pkcs11wrapper.c:2383:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignFinal': ../../common/pkcs11wrapper.c:2421:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2428:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignRecoverInit': ../../common/pkcs11wrapper.c:2470:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignRecover': ../../common/pkcs11wrapper.c:2515:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2522:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyInit': ../../common/pkcs11wrapper.c:2566:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1Verify': ../../common/pkcs11wrapper.c:2611:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyUpdate': ../../common/pkcs11wrapper.c:2649:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyFinal': ../../common/pkcs11wrapper.c:2687:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyRecoverInit': ../../common/pkcs11wrapper.c:2725:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1VerifyRecover': ../../common/pkcs11wrapper.c:2770:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2777:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DigestEncryptUpdate': ../../common/pkcs11wrapper.c:2822:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2828:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptDigestUpdate': ../../common/pkcs11wrapper.c:2873:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2879:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SignEncryptUpdate': ../../common/pkcs11wrapper.c:2924:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2930:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DecryptVerifyUpdate': ../../common/pkcs11wrapper.c:2975:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL ; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:2981:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GenerateKey': ../../common/pkcs11wrapper.c:3031:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GenerateKeyPair': ../../common/pkcs11wrapper.c:3128:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1WrapKey': ../../common/pkcs11wrapper.c:3210:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return NULL_PTR; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c:3222:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1UnwrapKey': ../../common/pkcs11wrapper.c:3285:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1DeriveKey': ../../common/pkcs11wrapper.c:3361:37: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) == CK_ASSERT_OK) { ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1SeedRandom': ../../common/pkcs11wrapper.c:3427:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GenerateRandom': ../../common/pkcs11wrapper.c:3468:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1GetFunctionStatus': ../../common/pkcs11wrapper.c:3502:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1CancelFunction': ../../common/pkcs11wrapper.c:3533:34: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ckAssertReturnValueOK(env, rv, __FUNCTION__); ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'Java_iaik_pkcs_pkcs11_wrapper_PKCS11Implementation_C_1WaitForSlotEvent': ../../common/pkcs11wrapper.c:3567:36: warning: passing argument 3 of 'ckAssertReturnValueOK' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if(ckAssertReturnValueOK(env, rv, __FUNCTION__) != CK_ASSERT_OK) { return 0L; } ^ In file included from ../../common/pkcs11wrapper.c:55:0: ../../common/pkcs11wrapper.h:209:7: note: expected 'char *' but argument is of type 'const char *' jlong ckAssertReturnValueOK(JNIEnv *env, CK_RV returnValue, char* callerMethodName); ^ ../../common/pkcs11wrapper.c: In function 'jAttributeToCKAttribute': ../../common/pkcs11wrapper.c:5527:55: warning: passing argument 3 of 'jAttributeArrayToCKAttributeArray' from incompatible pointer type [-Wincompatible-pointer-types] if (jAttributeArrayToCKAttributeArray(env, jPValue, &(ckAttribute.pValue), &(ckAttribute.ulValueLen))) { ^ ../../common/pkcs11wrapper.c:4531:5: note: expected 'CK_ATTRIBUTE ** {aka struct CK_ATTRIBUTE **}' but argument is of type 'void **' int jAttributeArrayToCKAttributeArray(JNIEnv *env, jobjectArray jArray, CK_ATTRIBUTE_PTR *ckpArray, CK_ULONG_PTR ckpLength) ^ gmake[1]: Leaving directory '/wrkdirs/security/iaikpkcs11wrapper/src/native/unix/linux-x86_64' =========================================================================== =================================================== ===> iaikPkcs11Wrapper-1.2.18 depends on file: /usr/local/openjdk8/bin/java - found =========================================================================== =================================================== ===> Staging for iaikPkcs11Wrapper-1.2.18 ===> Generating temporary packing list >> Installing JNI library in /usr/local/lib... [ DONE ] >> Installing JAR file as /usr/local/share/java/classes/iaikPkcs11Wrapper.jar... [ DONE ] >> Installing documentation in /usr/local/share/doc/iaikPkcs11Wrapper... [ DONE ] >> Installing examples in /usr/local/share/examples/iaikPkcs11Wrapper... [ DONE ] ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for iaikPkcs11Wrapper-1.2.18 file sizes/checksums [481]: ..... done packing files [481]: ..... done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for iaikPkcs11Wrapper-1.2.18 build of security/iaikpkcs11wrapper ended at Wed Oct 5 20:39:05 PDT 2016 build time: 00:00:41