=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for qore-asn1-module-0.0.3nb7 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- asn1.lo --- --- QC_ASN1Sequence.lo --- --- QC_ASN1Integer.lo --- --- QC_ASN1ObjectIdentifier.lo --- --- QC_ASN1Boolean.lo --- --- QC_ASN1String.lo --- --- QC_ASN1OctetString.lo --- --- QC_ASN1UTF8String.lo --- --- asn1.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT asn1.lo -MD -MP -MF .deps/asn1.Tpo -c -o asn1.lo asn1.cc --- QC_ASN1Sequence.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1Sequence.lo -MD -MP -MF .deps/QC_ASN1Sequence.Tpo -c -o QC_ASN1Sequence.lo QC_ASN1Sequence.cc --- QC_ASN1Integer.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1Integer.lo -MD -MP -MF .deps/QC_ASN1Integer.Tpo -c -o QC_ASN1Integer.lo QC_ASN1Integer.cc --- QC_ASN1ObjectIdentifier.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1ObjectIdentifier.lo -MD -MP -MF .deps/QC_ASN1ObjectIdentifier.Tpo -c -o QC_ASN1ObjectIdentifier.lo QC_ASN1ObjectIdentifier.cc --- QC_ASN1Boolean.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1Boolean.lo -MD -MP -MF .deps/QC_ASN1Boolean.Tpo -c -o QC_ASN1Boolean.lo QC_ASN1Boolean.cc --- QC_ASN1String.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1String.lo -MD -MP -MF .deps/QC_ASN1String.Tpo -c -o QC_ASN1String.lo QC_ASN1String.cc --- QC_ASN1OctetString.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1OctetString.lo -MD -MP -MF .deps/QC_ASN1OctetString.Tpo -c -o QC_ASN1OctetString.lo QC_ASN1OctetString.cc --- QC_ASN1UTF8String.lo --- /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -I/usr/include -I/usr/pkg/include -pthread -O3 -Wall -MT QC_ASN1UTF8String.lo -MD -MP -MF .deps/QC_ASN1UTF8String.Tpo -c -o QC_ASN1UTF8String.lo QC_ASN1UTF8String.cc --- QC_ASN1ObjectIdentifier.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1ObjectIdentifier.lo -MD -MP -MF .deps/QC_ASN1ObjectIdentifier.Tpo -c QC_ASN1ObjectIdentifier.cc -fPIC -DPIC -o .libs/QC_ASN1ObjectIdentifier.o --- QC_ASN1String.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1String.lo -MD -MP -MF .deps/QC_ASN1String.Tpo -c QC_ASN1String.cc -fPIC -DPIC -o .libs/QC_ASN1String.o --- QC_ASN1Integer.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1Integer.lo -MD -MP -MF .deps/QC_ASN1Integer.Tpo -c QC_ASN1Integer.cc -fPIC -DPIC -o .libs/QC_ASN1Integer.o --- QC_ASN1UTF8String.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1UTF8String.lo -MD -MP -MF .deps/QC_ASN1UTF8String.Tpo -c QC_ASN1UTF8String.cc -fPIC -DPIC -o .libs/QC_ASN1UTF8String.o --- asn1.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT asn1.lo -MD -MP -MF .deps/asn1.Tpo -c asn1.cc -fPIC -DPIC -o .libs/asn1.o --- QC_ASN1Sequence.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1Sequence.lo -MD -MP -MF .deps/QC_ASN1Sequence.Tpo -c QC_ASN1Sequence.cc -fPIC -DPIC -o .libs/QC_ASN1Sequence.o --- QC_ASN1Boolean.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1Boolean.lo -MD -MP -MF .deps/QC_ASN1Boolean.Tpo -c QC_ASN1Boolean.cc -fPIC -DPIC -o .libs/QC_ASN1Boolean.o --- QC_ASN1OctetString.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/qore-asn1-module/work/.buildlink/include -O2 -pthread -O3 -Wall -MT QC_ASN1OctetString.lo -MD -MP -MF .deps/QC_ASN1OctetString.Tpo -c QC_ASN1OctetString.cc -fPIC -DPIC -o .libs/QC_ASN1OctetString.o --- QC_ASN1ObjectIdentifier.lo --- In file included from QC_ASN1ObjectIdentifier.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ In file included from QC_ASN1ObjectIdentifier.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1ObjectIdentifier.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1ObjectIdentifier.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1ObjectIdentifier.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1ObjectIdentifier.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ 8 errors generated. *** [QC_ASN1ObjectIdentifier.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- asn1.lo --- In file included from asn1.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ --- QC_ASN1String.lo --- In file included from QC_ASN1String.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ --- asn1.lo --- In file included from asn1.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from asn1.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from asn1.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from asn1.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ --- QC_ASN1String.lo --- In file included from QC_ASN1String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ --- asn1.lo --- In file included from asn1.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- QC_ASN1String.lo --- In file included from QC_ASN1String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ --- asn1.lo --- ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- QC_ASN1String.lo --- In file included from QC_ASN1String.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- asn1.lo --- asn1.cc:65:23: error: use of undeclared identifier 'd2i_ASN1_type_bytes' ASN1_STRING *str = d2i_ASN1_type_bytes(0, (OPENSSL_CONST unsigned char **)&p, len + (t - p), type); ^ asn1.cc:111:21: error: use of undeclared identifier 'c2i_ASN1_INTEGER'; did you mean 'd2i_ASN1_INTEGER'? ASN1_INTEGER *i = c2i_ASN1_INTEGER(0, (OPENSSL_CONST unsigned char **)&p, len); ^~~~~~~~~~~~~~~~ d2i_ASN1_INTEGER /usr/include/openssl/asn1.h:570:1: note: 'd2i_ASN1_INTEGER' declared here DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) ^ /usr/include/openssl/asn1.h:217:39: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) ^ /usr/include/openssl/asn1.h:224:9: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) ^ /usr/include/openssl/asn1.h:231:15: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' type *d2i_##name(type **a, const unsigned char **in, long len); \ ^ :121:1: note: expanded from here d2i_ASN1_INTEGER ^ asn1.cc:111:41: error: cannot initialize a parameter of type 'const unsigned char **' with an rvalue of type 'unsigned char **' ASN1_INTEGER *i = c2i_ASN1_INTEGER(0, (OPENSSL_CONST unsigned char **)&p, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/asn1.h:570:1: note: passing argument to parameter 'in' here DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) ^ /usr/include/openssl/asn1.h:217:39: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) ^ /usr/include/openssl/asn1.h:224:9: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) ^ /usr/include/openssl/asn1.h:231:58: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' type *d2i_##name(type **a, const unsigned char **in, long len); \ ^ asn1.cc:166:20: error: no matching function for call to 'd2i_ASN1_OBJECT' ASN1_OBJECT *o = d2i_ASN1_OBJECT(0, (OPENSSL_CONST unsigned char **)&p, len + (t - p)); ^~~~~~~~~~~~~~~ /usr/include/openssl/asn1.h:531:14: note: candidate function not viable: no known conversion from 'unsigned char **' to 'const unsigned char **' for 2nd argument ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, ^ --- QC_ASN1Integer.lo --- In file included from QC_ASN1Integer.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ --- QC_ASN1String.lo --- 8 errors generated. *** [QC_ASN1String.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- QC_ASN1Integer.lo --- In file included from QC_ASN1Integer.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Integer.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Integer.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Integer.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Integer.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- asn1.lo --- 12 errors generated. *** [asn1.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- QC_ASN1UTF8String.lo --- In file included from QC_ASN1UTF8String.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ --- QC_ASN1Sequence.lo --- In file included from QC_ASN1Sequence.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ --- QC_ASN1UTF8String.lo --- ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ --- QC_ASN1Integer.lo --- 8 errors generated. --- QC_ASN1Sequence.lo --- ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ --- QC_ASN1Integer.lo --- *** [QC_ASN1Integer.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- QC_ASN1UTF8String.lo --- In file included from QC_ASN1UTF8String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1UTF8String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1UTF8String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1UTF8String.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ --- QC_ASN1Sequence.lo --- In file included from QC_ASN1Sequence.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Sequence.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Sequence.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Sequence.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ --- QC_ASN1UTF8String.lo --- In file included from QC_ASN1UTF8String.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- QC_ASN1Sequence.lo --- In file included from QC_ASN1Sequence.cc:23: --- QC_ASN1UTF8String.lo --- ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- QC_ASN1Sequence.lo --- In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ --- QC_ASN1OctetString.lo --- In file included from QC_ASN1OctetString.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ --- QC_ASN1UTF8String.lo --- 8 errors generated. --- QC_ASN1Sequence.lo --- 8 errors generated. --- QC_ASN1OctetString.lo --- In file included from QC_ASN1OctetString.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1OctetString.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ --- QC_ASN1Sequence.lo --- *** [QC_ASN1Sequence.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- QC_ASN1UTF8String.lo --- *** [QC_ASN1UTF8String.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- QC_ASN1OctetString.lo --- In file included from QC_ASN1OctetString.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1OctetString.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1OctetString.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ 8 errors generated. *** [QC_ASN1OctetString.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src --- QC_ASN1Boolean.lo --- In file included from QC_ASN1Boolean.cc:23: In file included from ./qore-asn1.h:42: ./QC_ASN1Integer.h:73:14: error: use of undeclared identifier 'i2c_ASN1_INTEGER' int size = i2c_ASN1_INTEGER((ASN1_INTEGER *)i, 0); ^ ./QC_ASN1Integer.h:76:3: error: use of undeclared identifier 'i2c_ASN1_INTEGER' i2c_ASN1_INTEGER((ASN1_INTEGER *)i, &tmp); ^ In file included from QC_ASN1Boolean.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:14: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? int size = i2d_ASN1_BOOLEAN(b, 0); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Boolean.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:45:31: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') int size = i2d_ASN1_BOOLEAN(b, 0); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Boolean.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:3: error: use of undeclared identifier 'i2d_ASN1_BOOLEAN'; did you mean 'i2d_ASN1_OBJECT'? i2d_ASN1_BOOLEAN(b, &tmp); ^~~~~~~~~~~~~~~~ i2d_ASN1_OBJECT /usr/include/openssl/asn1.h:530:5: note: 'i2d_ASN1_OBJECT' declared here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Boolean.cc:23: In file included from ./qore-asn1.h:44: ./QC_ASN1Boolean.h:49:20: error: cannot initialize a parameter of type 'const ASN1_OBJECT *' (aka 'const asn1_object_st *') with an lvalue of type 'const ASN1_BOOLEAN' (aka 'const int') i2d_ASN1_BOOLEAN(b, &tmp); ^ /usr/include/openssl/asn1.h:530:40: note: passing argument to parameter 'a' here int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); ^ In file included from QC_ASN1Boolean.cc:23: In file included from ./qore-asn1.h:45: ./QC_ASN1String.h:65:14: error: use of undeclared identifier 'i2d_ASN1_bytes' int size = i2d_ASN1_bytes(str, 0, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ ./QC_ASN1String.h:70:3: error: use of undeclared identifier 'i2d_ASN1_bytes' i2d_ASN1_bytes(str, &tmp, ASN1_STRING_type(str), V_ASN1_UNIVERSAL); ^ 8 errors generated. *** [QC_ASN1Boolean.lo] Error code 1 make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src 8 errors make[2]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3/src *** [all-recursive] Error code 1 make[1]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3 1 error make[1]: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3 *** [all] Error code 2 make: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3 1 error make: stopped in /data/scratch/security/qore-asn1-module/work/qore-asn1-module-0.0.3 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/qore-asn1-module *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/qore-asn1-module