=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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 tcl-tls-1.5.0nb8 --- tls.o --- --- tlsIO.o --- --- tlsBIO.o --- --- tlsX509.o --- --- fixstrtod.o --- --- tls.o --- clang -DVERSION=\"1.50\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1 -DUSE_TCL_STUBS=1 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_AD--- tlsIO.o --- clang -DVERSION=\"1.50\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1 -DUSE_TCL_STUBS=1 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_AD--- tlsBIO.o --- clang -DVERSION=\"1.50\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1 -DUSE_TCL_STUBS=1 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_AD--- fixstrtod.o --- clang -DVERSION=\"1.50\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1 -DUSE_TCL_STUBS=1 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_AD--- tls.o --- DRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYADDR_R_7=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -I"/usr/pkg/include" -I"/usr/include" -I/usr/pkg/include -I/usr/include -O2 -fPIC -c `echo ./tls.c` -o tls.o --- tlsIO.o --- DRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYADDR_R_7=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -I"/usr/pkg/include" -I"/usr/include" -I/usr/pkg/include -I/usr/include -O2 -fPIC -c `echo ./tlsIO.c` -o tlsIO.o --- tlsBIO.o --- DRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYADDR_R_7=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -I"/usr/pkg/include" -I"/usr/include" -I/usr/pkg/include -I/usr/include -O2 -fPIC -c `echo ./tlsBIO.c` -o tlsBIO.o --- fixstrtod.o --- DRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYADDR_R_7=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -I"/usr/pkg/include" -I"/usr/include" -I/usr/pkg/include -I/usr/include -O2 -fPIC -c `echo ./fixstrtod.c` -o fixstrtod.o --- tlsIO.o --- In file included from ./tlsIO.c:22: ./tlsInt.h:20:9: warning: '_TSLINT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TSLINT_H ^~~~~~~~~ ./tlsInt.h:21:9: note: '_TLSINT_H' is defined here; did you mean '_TSLINT_H'? #define _TLSINT_H ^~~~~~~~~ _TSLINT_H --- tlsX509.o --- clang -DVERSION=\"1.50\" -DPACKAGE=\"tls\" -DNO_IDEA=1 -DNO_RC5=1 -DUSE_TCL_STUBS=1 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYADDR_R_7=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CHFLAGS=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -I"/usr/pkg/include" -I"/usr/include" -I/usr/pkg/include -I/usr/include -O2 -fPIC -c `echo ./tlsX509.c` -o tlsX509.o --- tlsIO.o --- 1 warning generated. --- tlsBIO.o --- In file included from ./tlsBIO.c:9: ./tlsInt.h:20:9: warning: '_TSLINT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TSLINT_H ^~~~~~~~~ ./tlsInt.h:21:9: note: '_TLSINT_H' is defined here; did you mean '_TSLINT_H'? #define _TLSINT_H ^~~~~~~~~ _TSLINT_H ./tlsBIO.c:23:19: error: variable has incomplete type 'BIO_METHOD' (aka 'struct bio_method_st') static BIO_METHOD BioMethods = { ^ /usr/include/openssl/bio.h:244:16: note: forward declaration of 'struct bio_method_st' typedef struct bio_method_st BIO_METHOD; ^ ./tlsBIO.c:42:8: error: incomplete definition of type 'struct bio_st' bio->ptr = (char*)statePtr; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:43:8: error: incomplete definition of type 'struct bio_st' bio->init = 1; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:44:8: error: incomplete definition of type 'struct bio_st' bio->shutdown = flags; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:61:50: error: incomplete definition of type 'struct bio_st' Tcl_Channel chan = Tls_GetParent((State*)(bio->ptr)); ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:96:49: error: incomplete definition of type 'struct bio_st' Tcl_Channel chan = Tls_GetParent((State*)bio->ptr); ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:142:49: error: incomplete definition of type 'struct bio_st' Tcl_Channel chan = Tls_GetParent((State*)bio->ptr); ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:163:5: error: incomplete definition of type 'struct bio_st' bio->ptr = *((char **)ptr); ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:164:5: error: incomplete definition of type 'struct bio_st' bio->shutdown = (int)num; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:165:5: error: incomplete definition of type 'struct bio_st' bio->init = 1; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:168:9: error: incomplete definition of type 'struct bio_st' if (bio->init) { ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:171:12: error: incomplete definition of type 'struct bio_st' *ip = bio->num; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:173:15: error: incomplete definition of type 'struct bio_st' ret = bio->num; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:179:11: error: incomplete definition of type 'struct bio_st' ret = bio->shutdown; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:182:5: error: incomplete definition of type 'struct bio_st' bio->shutdown = (int)num; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:216:8: error: incomplete definition of type 'struct bio_st' bio->init = 0; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:217:8: error: incomplete definition of type 'struct bio_st' bio->num = 0; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:218:8: error: incomplete definition of type 'struct bio_st' bio->ptr = NULL; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ ./tlsBIO.c:219:8: error: incomplete definition of type 'struct bio_st' bio->flags = 0; ~~~^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'struct bio_st' typedef struct bio_st BIO; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. *** [tlsBIO.o] Error code 1 make: stopped in /data/scratch/security/tcl-tls/work/tls1.5 --- tls.o --- In file included from ./tls.c:26: ./tlsInt.h:20:9: warning: '_TSLINT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TSLINT_H ^~~~~~~~~ ./tlsInt.h:21:9: note: '_TLSINT_H' is defined here; did you mean '_TSLINT_H'? #define _TLSINT_H ^~~~~~~~~ _TSLINT_H ./tls.c:94:7: error: incomplete definition of type 'struct dh_st' dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL); ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ ./tls.c:95:7: error: incomplete definition of type 'struct dh_st' dh->g=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL); ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ ./tls.c:97:12: error: incomplete definition of type 'struct dh_st' if ((dh->p == NULL) || (dh->g == NULL)) ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ ./tls.c:97:31: error: incomplete definition of type 'struct dh_st' --- tlsX509.o --- In file included from ./tlsX509.c:7: ./tlsInt.h:20:9: warning: '_TSLINT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TSLINT_H ^~~~~~~~~ ./tlsInt.h:21:9: note: '_TLSINT_H' is defined here; did you mean '_TSLINT_H'? #define _TLSINT_H ^~~~~~~~~ _TSLINT_H --- tls.o --- if ((dh->p == NULL) || (dh->g == NULL)) ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ ./tls.c:488:21: warning: implicit declaration of function 'SSLv2_method' is invalid in C99 [-Wimplicit-function-declaration] ctx = SSL_CTX_new(SSLv2_method()); break; ^ ./tls.c:488:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new(SSLv2_method()); break; ^~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:1336:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ ./tls.c:495:21: warning: implicit declaration of function 'SSLv3_method' is invalid in C99 [-Wimplicit-function-declaration] ctx = SSL_CTX_new(SSLv3_method()); break; ^ ./tls.c:495:21: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new(SSLv3_method()); break; ^~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:1336:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ ./tls.c:502:21: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] ctx = SSL_CTX_new(TLSv1_method()); break; ^ /usr/include/openssl/ssl.h:1627:1: note: 'TLSv1_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ --- tlsX509.o --- ./tlsX509.c:95:42: error: incomplete definition of type 'struct x509_st' --- tls.o --- /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' --- tlsX509.o --- sha_hash[shai * 2]=shachars[(cert->sha1_hash[shai] & 0xF0) >> 4]; ~~~~^ /usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct x509_st' --- tls.o --- # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ --- tlsX509.o --- typedef struct x509_st X509; ^ ./tlsX509.c:96:46: error: incomplete definition of type 'struct x509_st' --- tls.o --- ./tls.c:482:13: warning: enumeration value 'TLS_NONE' not handled in switch [-Wswitch] --- tlsX509.o --- sha_hash[shai * 2 + 1]=shachars[(cert->sha1_hash[shai] & 0x0F)]; ~~~~^ --- tls.o --- switch ((enum protocol)index) { ^ --- tlsX509.o --- /usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ 1 warning and 2 errors generated. --- tls.o --- ./tls.c:919:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new(SSLv2_method()); ^~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:1336:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ ./tls.c:922:20: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] ctx = SSL_CTX_new(TLSv1_method()); ^ /usr/include/openssl/ssl.h:1627:1: note: 'TLSv1_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ ./tls.c:928:20: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new(SSLv3_method()); ^~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:1336:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ ./tls.c:1250:4: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] RSA_generate_key(keysize, 0x10001, NULL, NULL))) { ^ /usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ /usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ --- tlsX509.o --- *** [tlsX509.o] Error code 1 make: stopped in /data/scratch/security/tcl-tls/work/tls1.5 --- tls.o --- ./tls.c:1274:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"C", MBSTRING_ASC, k_C, -1, -1, 0); ^~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1275:55: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"ST", MBSTRING_ASC, k_ST, -1, -1, 0); ^~~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1276:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"L", MBSTRING_ASC, k_L, -1, -1, 0); ^~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1277:54: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"O", MBSTRING_ASC, k_O, -1, -1, 0); ^~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1278:55: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"OU", MBSTRING_ASC, k_OU, -1, -1, 0); ^~~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1279:55: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"CN", MBSTRING_ASC, k_CN, -1, -1, 0); ^~~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1280:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] X509_NAME_add_entry_by_txt(name,"Email", MBSTRING_ASC, k_Email, -1, -1, 0); ^~~~~~~ /usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here const unsigned char *bytes, int len, int loc, ^ ./tls.c:1182:13: warning: enumeration value 'C_DUMMY' not handled in switch [-Wswitch] switch ((enum command) cmd) { ^ 19 warnings and 4 errors generated. *** [tls.o] Error code 1 make: stopped in /data/scratch/security/tcl-tls/work/tls1.5 3 errors make: stopped in /data/scratch/security/tcl-tls/work/tls1.5 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/tcl-tls *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/tcl-tls