------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/openssl-1.1.1g,1.txz SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> pipsecd-19991014_5 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> pipsecd-19991014_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pipsecd-19991014_5 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> pipsecd-19991014_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pipsecd-19991014_5 for building => SHA256 Checksum OK for pipsec-19991014.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> pipsecd-19991014_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pipsecd-19991014_5 for building ===> Extracting for pipsecd-19991014_5 => SHA256 Checksum OK for pipsec-19991014.tar.gz. Extracted Memory Use: 0.09M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for pipsecd-19991014_5 ===> Applying ports patches for pipsecd-19991014_5 ===> Cleanly applied ports patch(es) patch-Makefile patch-README.port patch-pipsecd.sh patch-tunip.c ===> Applying dragonfly patches for pipsecd-19991014_5 ===> Cleanly applied dragonfly patch(es) patch-defs.h patch-tunip.c SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> pipsecd-19991014_5 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> pipsecd-19991014_5 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Configuring for pipsecd-19991014_5 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for pipsecd-19991014_5 --- pipsecd --- cc -Wall -I/usr/local/include/openssl -I/usr/local/include -I/usr/local/include -g -pipe -O2 -fno-strict-aliasing -o pipsecd tunip.c -L/usr/local/lib -lcrypto -DFILE_PREFIX=\"/usr/local\" tunip.c:141:5: error: unknown type name 'IDEA_KEY_SCHEDULE' IDEA_KEY_SCHEDULE idea; ^~~~~~~~~~~~~~~~~ tunip.c:374:5: warning: initialization of 'void (*)(hash_CTX *)' {aka 'void (*)(union *)'} from incompatible pointer type 'int (*)(MD5_CTX *)' {aka 'int (*)(struct MD5state_st *)'} [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^~~~~~~~ tunip.c:374:5: note: (near initialization for 'hash_md5.hash_Init') tunip.c:374:15: warning: initialization of 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' {aka 'void (*)(union *, const unsigned char *, unsigned int)'} from incompatible pointer type 'int (*)(MD5_CTX *, const void *, size_t)' {aka 'int (*)(struct MD5state_st *, const void *, long unsigned int)'} [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^~~~~~~~~~ tunip.c:374:15: note: (near initialization for 'hash_md5.hash_Update') tunip.c:374:27: warning: initialization of 'void (*)(unsigned char *, hash_CTX *)' {aka 'void (*)(unsigned char *, union *)'} from incompatible pointer type 'int (*)(unsigned char *, MD5_CTX *)' {aka 'int (*)(unsigned char *, struct MD5state_st *)'} [-Wincompatible-pointer-types] MD5_Init, MD5_Update, MD5_Final ^~~~~~~~~ tunip.c:374:27: note: (near initialization for 'hash_md5.hash_Final') tunip.c:379:5: warning: initialization of 'void (*)(hash_CTX *)' {aka 'void (*)(union *)'} from incompatible pointer type 'int (*)(SHA_CTX *)' {aka 'int (*)(struct SHAstate_st *)'} [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^~~~~~~~~ tunip.c:379:5: note: (near initialization for 'hash_sha1.hash_Init') tunip.c:379:16: warning: initialization of 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' {aka 'void (*)(union *, const unsigned char *, unsigned int)'} from incompatible pointer type 'int (*)(SHA_CTX *, const void *, size_t)' {aka 'int (*)(struct SHAstate_st *, const void *, long unsigned int)'} [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^~~~~~~~~~~ tunip.c:379:16: note: (near initialization for 'hash_sha1.hash_Update') tunip.c:379:29: warning: initialization of 'void (*)(unsigned char *, hash_CTX *)' {aka 'void (*)(unsigned char *, union *)'} from incompatible pointer type 'int (*)(unsigned char *, SHA_CTX *)' {aka 'int (*)(unsigned char *, struct SHAstate_st *)'} [-Wincompatible-pointer-types] SHA1_Init, SHA1_Update, SHA1_Final ^~~~~~~~~~ tunip.c:379:29: note: (near initialization for 'hash_sha1.hash_Final') tunip.c:384:5: warning: initialization of 'void (*)(hash_CTX *)' {aka 'void (*)(union *)'} from incompatible pointer type 'int (*)(RIPEMD160_CTX *)' {aka 'int (*)(struct RIPEMD160state_st *)'} [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^~~~~~~~~~~~~~ tunip.c:384:5: note: (near initialization for 'hash_ripemd160.hash_Init') tunip.c:384:21: warning: initialization of 'void (*)(hash_CTX *, const unsigned char *, unsigned int)' {aka 'void (*)(union *, const unsigned char *, unsigned int)'} from incompatible pointer type 'int (*)(RIPEMD160_CTX *, const void *, size_t)' {aka 'int (*)(struct RIPEMD160state_st *, const void *, long unsigned int)'} [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^~~~~~~~~~~~~~~~ tunip.c:384:21: note: (near initialization for 'hash_ripemd160.hash_Update') tunip.c:384:39: warning: initialization of 'void (*)(unsigned char *, hash_CTX *)' {aka 'void (*)(unsigned char *, union *)'} from incompatible pointer type 'int (*)(unsigned char *, RIPEMD160_CTX *)' {aka 'int (*)(unsigned char *, struct RIPEMD160state_st *)'} [-Wincompatible-pointer-types] RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final ^~~~~~~~~~~~~~~ tunip.c:384:39: note: (near initialization for 'hash_ripemd160.hash_Final') tunip.c: In function 'find_encap': tunip.c:494:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(encap_meth[i].name, name) == 0) ~~~~~~~~~~~~~^~~~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:494:40: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(encap_meth[i].name, name) == 0) ^~~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c: In function 'find_crypt': tunip.c:506:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(cp->name, name) == 0) ^~~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c: In function 'find_hash': tunip.c:518:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(hp->name, name) == 0) ^~~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c: In function 'encap_udp_recv': tunip.c:535:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^~~~~~~~~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ tunip.c: In function 'encap_rawip_recv': tunip.c:566:37: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^~~~~~~~~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ tunip.c: In function 'encap_icmp_recv': tunip.c:616:40: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&encap->from, &encap->fromlen); ^~~~~~~~~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:497:9: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' ssize_t recvfrom(int, void * __restrict, size_t, int, ^~~~~~~~ tunip.c: In function 'tun_send_ip': tunip.c:714:15: warning: unused variable 'i' [-Wunused-variable] int sent, i; ^ tunip.c: In function 'encap_udp_new': tunip.c:763:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "udp"; ^ tunip.c: In function 'encap_ah_new': tunip.c:794:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "ipah"; ^ tunip.c: In function 'encap_esp_new': tunip.c:825:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "ipesp"; ^ tunip.c: In function 'encap_icmp_new': tunip.c:856:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] encap->name = "icmp"; ^ tunip.c: In function 'find_local_addr': tunip.c:901:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *)source, &addrlen) == -1) { ^~~~~~~~ In file included from tunip.c:32: /usr/include/sys/socket.h:493:5: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ tunip.c: In function 'parse_secret': tunip.c:948:47: warning: format '%c' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] syslog(LOG_ERR, "illegal hex character '%c'", c); ~^ ~ %hhn tunip.c:960:47: warning: format '%c' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] syslog(LOG_ERR, "illegal hex character '%c'", c); ~^ ~ %hhn tunip.c: In function 'config_read': tunip.c:989:18: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(line, sizeof line, cf) != NULL) { ^~~~ In file included from tunip.c:37: /usr/include/stdio.h:216:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *fgets(char * __restrict, int, FILE * __restrict); ^~~~~ tunip.c:992:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] line[strlen(line)-1] = '\0'; ^~~~ In file included from tunip.c:51: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *) __pure; ^~~~~~ tunip.c:996:18: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:135:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:996:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1000:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:135:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:1000:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg2 = strsep(&lp, " \t"); while (arg2 && *arg2 == '\0'); ^ tunip.c:1006:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "sa") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1040:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:135:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:1040:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1043:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^~~ In file included from tunip.c:51: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ tunip.c:1043:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ tunip.c:1048:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = ""; ^ tunip.c:1049:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "enc") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1056:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "noiv") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1058:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "dest") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1059:26: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] he = gethostbyname(arg2); ^~~~ In file included from tunip.c:49: /usr/include/netdb.h:249:17: note: expected 'const char *' but argument is of type 'unsigned char *' struct hostent *gethostbyname(const char *); ^~~~~~~~~~~~~ tunip.c:1087:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "ekey") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1093:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "akey") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1099:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "spi") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1100:22: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sa->spi = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1101:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "auth") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1137:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "if") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1143:16: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(arg2, O_RDWR); ^~~~ In file included from tunip.c:36: /usr/include/fcntl.h:328:5: note: expected 'const char *' but argument is of type 'unsigned char *' int open(const char *, int, ...); ^~~~ tunip.c:1145:10: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] perror(arg); ^~~ In file included from tunip.c:37: /usr/include/stdio.h:237:7: note: expected 'const char *' but argument is of type 'unsigned char *' void perror(const char *); ^~~~~~ tunip.c:1160:19: warning: passing argument 1 of 'strsep' from incompatible pointer type [-Wincompatible-pointer-types] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^~~ In file included from tunip.c:51: /usr/include/string.h:135:7: note: expected 'char **' but argument is of type 'unsigned char **' char *strsep(char **, const char *); ^~~~~~ tunip.c:1160:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] do arg = strsep(&lp, " \t"); while (arg && *arg == '\0'); ^ tunip.c:1163:17: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^~~ In file included from tunip.c:51: /usr/include/string.h:87:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *strchr(const char *, int) __pure; ^~~~~~ tunip.c:1163:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = strchr(arg, '='); ^ tunip.c:1168:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] arg2 = ""; ^ tunip.c:1169:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(arg, "local_spi") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1170:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] unsigned long spi = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1177:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "remote_spi") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1178:32: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] unsigned long spi = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1207:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "keepalive_recv") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1208:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] keepalive_recv = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1209:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "keepalive_send") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1210:28: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] keepalive_send = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c:1211:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] } else if (strcmp(arg, "checkifaddr") == 0) { ^~~ In file included from tunip.c:51: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strcmp(const char *, const char *) __pure; ^~~~~~ tunip.c:1212:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] check_ifaddr = atoi(arg2); ^~~~ In file included from tunip.c:50: /usr/include/stdlib.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' int atoi(const char *); ^~~~ tunip.c: In function 'hmac_compute': tunip.c:1291:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, (char *)k_ipad, 64); ^~~~~~~~~~~~~~ tunip.c:1291:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c:1297:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, (char *)k_opad, 64); ^~~~~~~~~~~~~~ tunip.c:1297:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c: In function 'hmac_udp_compute': tunip.c:1358:32: warning: pointer targets in passing argument 2 of 'hm->hash_Update' differ in signedness [-Wpointer-sign] hm->hash_Update(&hash_ctx, ":::", 3); ^~~~~ tunip.c:1358:32: note: expected 'const unsigned char *' but argument is of type 'char *' tunip.c: In function 'my_idea_cbc_encrypt': tunip.c:1998:5: warning: implicit declaration of function 'idea_cbc_encrypt'; did you mean 'my_idea_cbc_encrypt'? [-Wimplicit-function-declaration] idea_cbc_encrypt(t, t, len, &ek->idea, iv, IDEA_ENCRYPT); ^~~~~~~~~~~~~~~~ my_idea_cbc_encrypt tunip.c:1998:48: error: 'IDEA_ENCRYPT' undeclared (first use in this function); did you mean 'DES_ENCRYPT'? idea_cbc_encrypt(t, t, len, &ek->idea, iv, IDEA_ENCRYPT); ^~~~~~~~~~~~ DES_ENCRYPT tunip.c:1998:48: note: each undeclared identifier is reported only once for each function it appears in tunip.c: In function 'my_idea_cbc_decrypt': tunip.c:2004:50: error: 'IDEA_DECRYPT' undeclared (first use in this function); did you mean 'DES_DECRYPT'? idea_cbc_encrypt(ct, ct, len, &dk->idea, iv, IDEA_DECRYPT); ^~~~~~~~~~~~ DES_DECRYPT tunip.c: In function 'my_idea_set_encrypt_key': tunip.c:2009:16: error: 'IDEA_KEY_LENGTH' undeclared (first use in this function); did you mean 'CAST_KEY_LENGTH'? if (len != IDEA_KEY_LENGTH) ^~~~~~~~~~~~~~~ CAST_KEY_LENGTH tunip.c:2011:5: warning: implicit declaration of function 'idea_set_encrypt_key'; did you mean 'my_idea_set_encrypt_key'? [-Wimplicit-function-declaration] idea_set_encrypt_key(b, &k->idea); ^~~~~~~~~~~~~~~~~~~~ my_idea_set_encrypt_key tunip.c: In function 'my_idea_set_decrypt_key': tunip.c:2017:16: error: 'IDEA_KEY_LENGTH' undeclared (first use in this function); did you mean 'CAST_KEY_LENGTH'? if (len != IDEA_KEY_LENGTH) ^~~~~~~~~~~~~~~ CAST_KEY_LENGTH tunip.c:2020:5: warning: implicit declaration of function 'idea_set_decrypt_key'; did you mean 'my_idea_set_decrypt_key'? [-Wimplicit-function-declaration] idea_set_decrypt_key(&k->idea, &k->idea); ^~~~~~~~~~~~~~~~~~~~ my_idea_set_decrypt_key tunip.c: In function 'my_des_cbc_encrypt': tunip.c:2027:42: warning: passing argument 5 of 'DES_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] DES_cbc_encrypt(t, t, len, &ek->des, iv, DES_ENCRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:79:34: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des_cbc_decrypt': tunip.c:2039:44: warning: passing argument 5 of 'DES_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] DES_cbc_encrypt(ct, ct, len, &dk->des, iv, DES_DECRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:79:34: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des_setkey': tunip.c:2050:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] return DES_set_key(b, &k->des); ^ In file included from tunip.c:62: /usr/local/include/openssl/des.h:154:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c: In function 'my_des3_cbc_encrypt': tunip.c:2059:5: warning: passing argument 7 of 'DES_ede3_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] iv, DES_ENCRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:122:62: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_key_schedule *ks3, DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des3_cbc_decrypt': tunip.c:2067:5: warning: passing argument 7 of 'DES_ede3_cbc_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] iv, DES_DECRYPT); ^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:122:62: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' DES_key_schedule *ks3, DES_cblock *ivec, int enc); ~~~~~~~~~~~~^~~~ tunip.c: In function 'my_des3_setkey': tunip.c:2075:21: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b, &k->des3.k1) != 0) ^ In file included from tunip.c:62: /usr/local/include/openssl/des.h:154:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c:2077:22: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b+8, &k->des3.k2) != 0) ~^~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:154:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c:2079:22: warning: passing argument 1 of 'DES_set_key' from incompatible pointer type [-Wincompatible-pointer-types] if (DES_set_key(b+16, &k->des3.k3) != 0) ~^~~ In file included from tunip.c:62: /usr/local/include/openssl/des.h:154:35: note: expected 'unsigned char (*)[8]' but argument is of type 'unsigned char *' int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); ~~~~~~~~~~~~~~~~~~^~~ tunip.c: In function 'main': tunip.c:2127:22: warning: passing argument 2 of 'tun_new' makes integer from pointer without a cast [-Wint-conversion] tun_new(&tm_tun, NULL, 0); ^~~~ tunip.c:703:16: note: expected 'unsigned int' but argument is of type 'void *' unsigned link_header_size, unsigned char *link_header) ~~~~~~~~~^~~~~~~~~~~~~~~~ tunip.c:2321:59: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] syslog(LOG_DEBUG, "received update probe from peer %d", ~^ %ld peer - peers); ~~~~~~~~~~~~ *** [pipsecd] Error code 1 make[1]: stopped in /construction/net/pipsecd/pipsec-19991014 1 error make[1]: stopped in /construction/net/pipsecd/pipsec-19991014 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/net/pipsecd FAILED 00:00:00