On Tue, Feb 24, 2015 at 1:43 PM, Darren Tucker <dtucker@xxxxxxxxxx> wrote: > On Tue, Feb 24, 2015 at 3:11 PM, Kevin Brott <kevin.brott@xxxxxxxxx> > wrote: > >> [...] >> "cipher-aesctr.c", line 30: warning #2260-D: explicit type is missing >> ("int" assumed) >> static inline void >> > > does replacing "inline" with "__inline__" work? Failing that, removing > inline entirely? > Using __inline__ fails the same way, but removing it entirely moves on past that to this: cc -O2 -Ae -I. -I. -I/opt/phs/include -I/opt/gnome/include -I/usr/include -I/opt/gtk2.6/include -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -o regress/netcat regress/netcat.c \ -L. -Lopenbsd-compat/ -L/opt/phs/lib -L/opt/phs/lib/hpux32 -L/opt/gnome/lib -L/usr/lib -L/usr/lib/hpux32 -L/opt/gtk2.6/lib -lssh -lopenbsd-compat -lssh -lopenbsd-compat -lcrypto -lz -lnsl -lxnet -lsec "/usr/include/sys/signal.h", line 465: warning #2047-D: incompatible redefinition of macro "_NSIG" (declared at line 828 of "./defines.h") # define _NSIG 45 ^ "regress/netcat.c", line 1613: warning #4212-D: mismatch between character pointer types "unsigned char *" and "char *" r = snprintf(buf, sizeof(buf), ^ "regress/netcat.c", line 1617: warning #4212-D: mismatch between character pointer types "unsigned char *" and "char *" r = snprintf(buf, sizeof(buf), ^ "regress/netcat.c", line 1623: warning #4212-D: mismatch between character pointer types "unsigned char *" and "const char *" r = strlen(buf); ^ "regress/netcat.c", line 1633: warning #4212-D: mismatch between character pointer types "unsigned char *" and "char *" r = snprintf(buf, sizeof(buf), "%s:%s", ^ "regress/netcat.c", line 1636: warning #4212-D: mismatch between character pointer types "unsigned char *" and "const char *" b64_ntop(buf, strlen(buf), resp, ^ "regress/netcat.c", line 1639: warning #4212-D: mismatch between character pointer types "unsigned char *" and "char *" r = snprintf(buf, sizeof(buf), "Proxy-Authorization: " ^ "regress/netcat.c", line 1643: warning #4212-D: mismatch between character pointer types "unsigned char *" and "const char *" r = strlen(buf); ^ "regress/netcat.c", line 1653: warning #4212-D: mismatch between character pointer types "unsigned char *" and "char *" proxy_read_line(proxyfd, buf, sizeof(buf)); ^ "regress/netcat.c", line 1655: warning #4212-D: mismatch between character pointer types "unsigned char *" and "const char *" strncmp(buf, "HTTP/1.0 407 ", 12) == 0) { ^ "regress/netcat.c", line 1662: warning #4212-D: mismatch between character pointer types "unsigned char *" and "const char *" } else if (strncmp(buf, "HTTP/1.0 200 ", 12) != 0 && ^ "regress/netcat.c", line 1663: warning #4212-D: mismatch between character pointer types "unsigned char *" and "const char *" strncmp(buf, "HTTP/1.1 200 ", 12) != 0) ^ "regress/netcat.c", line 1668: warning #4212-D: mismatch between character pointer types "unsigned char *" and "char *" proxy_read_line(proxyfd, buf, sizeof(buf)); ^ ld: Unsatisfied symbol "ntohs" in file netcat.o ld: Unsatisfied symbol "xstrdup" in file openbsd-compat//libopenbsd-compat.a[bsd-misc.o] 2 errors. make: *** [regress/netcat] Error 1 -- # include <stddisclaimer.h> /* Kevin Brott <Kevin.Brott@xxxxxxxxx> */ _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev