==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done ==> Making package: scanssh 2.1.2-1 (Tue Nov 9 12:15:45 2021) ==> Retrieving sources... -> Found 2.1.2.tar.gz -> Found config.guess-for-aarch64.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... 2.1.2.tar.gz ... Passed config.guess-for-aarch64.patch ... Passed ==> Making package: scanssh 2.1.2-1 (Tue 09 Nov 2021 12:15:53 PM EST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (5) dbus-1.12.20-1 libnl-3.5.0-3 libdnet-1.12-13 libevent-2.1.12-1 libpcap-1.10.1-1 Total Download Size: 1.28 MiB Total Installed Size: 4.90 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libnl-3.5.0-3-x86_64 downloading... dbus-1.12.20-1-x86_64 downloading... libpcap-1.10.1-1-x86_64 downloading... libevent-2.1.12-1-x86_64 downloading... libdnet-1.12-13-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libevent... Optional dependencies for libevent python: to use event_rpcgen.py installing libnl... installing dbus... installing libpcap... installing libdnet... [?25h==> Checking buildtime dependencies... ==> Retrieving sources... -> Found 2.1.2.tar.gz -> Found config.guess-for-aarch64.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting 2.1.2.tar.gz with bsdtar ==> Starting prepare()... patching file config.guess patching file config.sub ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /build/scanssh/src/scanssh-2.1.2/missing: Unknown `--is-lightweight' option Try `/build/scanssh/src/scanssh-2.1.2/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for inet_aton... yes checking for inet_pton... yes checking for strsep... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for strlcpy... no checking for strlcat... no checking for arc4random... no checking for MD5Update... no checking for warnx... yes checking for libpcap... yes checking for dnet-config... /usr/bin/dnet-config checking whether libdnet is a libdumbnet... no checking for working addr_pton in libdnet... yes checking for libevent... yes checking for bufferevent in libevent... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for fd_mask in sys/select.h... yes checking for pid_t... yes checking for size_t... yes checking for u_int64_t... yes checking for u_int32_t... yes checking for u_int16_t... yes checking for u_int8_t... yes checking whether time.h and sys/time.h may both be included... yes checking for struct sockaddr_storage in sys/socket.h... yes checking for struct addrinfo in netdb.h... yes checking for timeradd in sys/time.h... yes checking for byte order of raw socket I/O... good byte order checking for sin_len in struct sockaddr_in... no checking for sa_family_t... yes checking for socklen_t... yes checking for NI_NUMERICHOST... yes checking for NI_MAXSERV... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for seteuid... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory '/build/scanssh/src/scanssh-2.1.2' gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o scanssh.o scanssh.c scanssh.c: In function ‘generate_random’: scanssh.c:792:33: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 792 | MD5Update(&ctx, seed, strlen(seed)); | ^~~~ | | | char * In file included from scanssh.c:56: ./compat/md5.h:20:65: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 20 | MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); | ~~~~~~~~~~~~~~~~~~~~~^~~ scanssh.c: In function ‘ports_parse’: scanssh.c:1410:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1410 | strlcpy(buf, argument, sizeof(buf)); | ^~~~~~~ | strncpy scanssh.c: In function ‘main’: scanssh.c:1185:9: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1185 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ scanssh.c:1187:9: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1187 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o atomicio.o atomicio.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o exclude.o exclude.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o connecter.o connecter.c connecter.c: In function ‘ssh_process_line’: connecter.c:236:27: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 236 | char *p = EVBUFFER_DATA(input); | ^~~~~~~~~~~~~ connecter.c:253:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 253 | p = EVBUFFER_DATA(input); | ^ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o xmalloc.o xmalloc.c xmalloc.c: In function ‘xstrdup’: xmalloc.c:72:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 72 | strlcpy(cp, str, len); | ^~~~~~~ | strncpy gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o interface.o interface.c interface.c: In function ‘interface_new’: interface.c:97:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 97 | if ((dev = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from interface.c:54: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ interface.c:104:9: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 104 | strlcpy(inter->if_ent.intf_name, dev, sizeof(inter->if_ent.intf_name)); | ^~~~~~~ | strncpy interface.c: In function ‘interface_expandips’: interface.c:254:29: warning: implicit declaration of function ‘strlcat’; did you mean ‘strncat’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 254 | if (strlcat(filter, " or ", sizeof(filter)) >= sizeof(filter)) | ^~~~~~~ | strncat gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o socks.o socks.c socks.c: In function ‘socks_bufferanalyse’: socks.c:190:50: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:190:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ socks.c:196:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 196 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from socks.c:43: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ socks.c:211:34: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 211 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:214:39: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 214 | if (evbuffer_find(input, socks->word, strlen(socks->word)) != NULL) { | ~~~~~^~~~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o http.o http.c http.c: In function ‘http_getheaders’: http.c:94:42: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /usr/include/event.h:72, from http.c:46: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c:94:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ http.c:100:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 100 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from http.c:43: /usr/include/string.h:391:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:111:43: warning: pointer targets in passing argument 1 of ‘http_response’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 111 | if (http_response(EVBUFFER_DATA(input)) == -1) { | ^~~~~~~~~~~~~ | | | unsigned char * http.c:78:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 78 | http_response(char *line) | ~~~~~~^~~~ http.c: In function ‘http_bufferanalyse’: http.c:140:42: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 140 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * In file included from /usr/include/event.h:72, from http.c:46: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c: In function ‘http_makeconnect’: http.c:177:13: warning: too many arguments for format []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-extra-args-Wformat-extra-args]8;;] 177 | "CONNECT %s:80 HTTP/1.0\r\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o telnet.o telnet.c telnet.c: In function ‘telnet_makeconnect’: telnet.c:80:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 80 | #define CCPROXY "CCProxy Telnet>" | ^~~~~~~~~~~~~~~~~ | | | char * telnet.c:95:34: note: in expansion of macro ‘CCPROXY’ 95 | if (evbuffer_find(input, CCPROXY, strlen(CCPROXY)) != NULL) { | ^~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:81:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 81 | #define GATEWAY1 "host_name:port" | ^~~~~~~~~~~~~~~~ | | | char * telnet.c:102:41: note: in expansion of macro ‘GATEWAY1’ 102 | } else if (evbuffer_find(input, GATEWAY1, strlen(GATEWAY1)) != NULL) { | ^~~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:82:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 82 | #define GATEWAY2 "host[:port]:" | ^~~~~~~~~~~~~~ | | | char * telnet.c:109:41: note: in expansion of macro ‘GATEWAY2’ 109 | } else if (evbuffer_find(input, GATEWAY2, strlen(GATEWAY2)) != NULL) { | ^~~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:83:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 83 | #define WINGATE "WinGate>" | ^~~~~~~~~~ | | | char * telnet.c:120:41: note: in expansion of macro ‘WINGATE’ 120 | } else if (evbuffer_find(input, WINGATE, strlen(WINGATE)) != NULL) { | ^~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c: In function ‘telnet_readcb’: telnet.c:179:29: warning: pointer targets in passing argument 3 of ‘printres’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 179 | EVBUFFER_DATA(input)); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from telnet.c:50: scanssh.h:134:44: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 134 | void printres(struct argument *, uint16_t, char *); | ^~~~~~ telnet.c:187:47: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 187 | if (evbuffer_find(input, state->connect_wait, | ~~~~~^~~~~~~~~~~~~~ | | | char * In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o strlcpy.o strlcpy.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o strlcat.o strlcat.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o arc4random.o arc4random.c arc4random.c: In function ‘arc4random’: arc4random.c:19:25: warning: implicit declaration of function ‘time’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 19 | srandom(time(NULL)); | ^~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -I/usr/include -D_FORTIFY_SOURCE=2 -O2 -Wall -g -c -o md5.o md5.c md5.c: In function ‘MD5Update’: md5.c:104:25: warning: implicit declaration of function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 104 | memcpy(p, buf, len); | ^~~~~~ md5.c:33:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ 32 | #include "md5.h" +++ |+#include <string.h> 33 | md5.c:104:25: warning: incompatible implicit declaration of built-in function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 104 | memcpy(p, buf, len); | ^~~~~~ md5.c:104:25: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ md5.c:107:17: warning: incompatible implicit declaration of built-in function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 107 | memcpy(p, buf, t); | ^~~~~~ md5.c:107:17: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ md5.c:116:17: warning: incompatible implicit declaration of built-in function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 116 | memcpy(ctx->in, buf, 64); | ^~~~~~ md5.c:116:17: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ md5.c:124:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 124 | memcpy(ctx->in, buf, len); | ^~~~~~ md5.c:124:9: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ md5.c: In function ‘MD5Final’: md5.c:153:17: warning: implicit declaration of function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 153 | memset(p, 0, count); | ^~~~~~ md5.c:153:17: note: include ‘<string.h>’ or provide a declaration of ‘memset’ md5.c:153:17: warning: incompatible implicit declaration of built-in function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] md5.c:153:17: note: include ‘<string.h>’ or provide a declaration of ‘memset’ md5.c:160:17: warning: incompatible implicit declaration of built-in function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 160 | memset(p, 0, count-8); | ^~~~~~ md5.c:160:17: note: include ‘<string.h>’ or provide a declaration of ‘memset’ md5.c:172:9: warning: incompatible implicit declaration of built-in function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^~~~~~ md5.c:172:9: note: include ‘<string.h>’ or provide a declaration of ‘memset’ md5.c:172:30: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsizeof-pointer-memaccess-Wsizeof-pointer-memaccess]8;;] 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ gcc -O2 -Wall -g -Wl,-O1,--sort-common,--as-needed,-z,relro -o scanssh scanssh.o atomicio.o exclude.o connecter.o xmalloc.o interface.o socks.o http.o telnet.o strlcpy.o strlcat.o arc4random.o md5.o -L/usr/lib -lpcap -L/usr/lib -levent -L/usr/lib -ldnet make[1]: Leaving directory '/build/scanssh/src/scanssh-2.1.2' ==> Entering fakeroot environment... ==> Starting package()... make[1]: Entering directory '/build/scanssh/src/scanssh-2.1.2' /usr/bin/mkdir -p '/build/scanssh/pkg/scanssh/usr/bin' /usr/bin/install -c scanssh '/build/scanssh/pkg/scanssh/usr/bin' /usr/bin/mkdir -p '/build/scanssh/pkg/scanssh/usr/share/man/man1' /usr/bin/install -c -m 644 scanssh.1 '/build/scanssh/pkg/scanssh/usr/share/man/man1' make[1]: Leaving directory '/build/scanssh/src/scanssh-2.1.2' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "scanssh"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: scanssh 2.1.2-1 (Tue 09 Nov 2021 12:16:11 PM EST) ==> Cleaning up... ==> Removing installed dependencies... [?25lchecking dependencies... Packages (5) dbus-1.12.20-1 libdnet-1.12-13 libevent-2.1.12-1 libnl-3.5.0-3 libpcap-1.10.1-1 Total Removed Size: 4.90 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libpcap... removing libnl... removing libevent... removing libdnet... removing dbus... [?25h