=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for srp-client-1.4.4nb2 Making all in libsrp cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_client.c t_client.c:70:21: warning: passing 'char [32]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, tc->username, strlen(tc->username)); ^~~~~~~~~~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_client.c:134:21: warning: passing 'char [32]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, tc->username, strlen(tc->username)); ^~~~~~~~~~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_client.c:135:21: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, ":", 1); ^~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_client.c:136:21: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, password, strlen(password)); ^~~~~~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_conf.c t_conf.c:97:43: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tc->tcbuf.modulus.len = t_fromb64(tc->modbuf, b64buf)) > 0 && ^~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:99:45: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tc->tcbuf.generator.len = t_fromb64(tc->genbuf, b64buf)) > 0) { ^~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:139:38: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tc->tcbuf.modulus.len = t_fromb64(tc->modbuf, b64buf)) > 0 && ^~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:141:40: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tc->tcbuf.generator.len = t_fromb64(tc->genbuf, b64buf)) > 0) { ^~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:224:12: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_random(parambuf, i); ^~~~~~~~ ./t_pwd.h:253:42: note: passing argument to parameter here _TYPE( void ) t_random P((unsigned char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:225:27: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = BigIntegerFromBytes(parambuf, i); ^~~~~~~~ ./t_defines.h:126:60: note: passing argument to parameter 'bytes' here _TYPE( BigInteger ) BigIntegerFromBytes P((unsigned char * bytes, int length)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:427:20: warning: passing 'unsigned char *const' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_tob64(strbuf, ent->modulus.data, ent->modulus.len)); ^~~~~~~~~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_conf.c:429:20: warning: passing 'unsigned char *const' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_tob64(strbuf, ent->generator.data, ent->generator.len)); ^~~~~~~~~~~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ In file included from t_conf.c:477: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 12 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_conv.c t_conv.c:79:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' sprintf(chp, "%.2x", * (unsigned char *) src); ^ t_conv.c:79:2: note: include the header or explicitly provide a declaration for 'sprintf' 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_getpass.c t_getpass.c:165:9: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] kill (getpid (), SIGINT); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_sha.c t_sha.c:129:43: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] SHA1Transform(context->state, &data[i]); ^~~~~~~~ t_sha.c:49:58: note: passing argument to parameter 'buffer' here static void SHA1Transform(uint32 state[5], unsigned char buffer[64]) ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_math.c t_math.c:89:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mpz_init_set_str(rv, t_tohex(hexbuf, bytes, length), 16); ^~~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_math.c:114:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] r = t_fromhex(dest, hexbuf); ^~~~ ./t_pwd.h:239:33: note: passing argument to parameter here _TYPE( int ) t_fromhex P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_misc.c t_misc.c:60:23: warning: passing 'char [256]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, ebuf, strlen(ebuf)); ^~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_misc.c:114:35: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf(dotpath, "/tmp/rnd.$$", getpid()); ^ t_misc.c:114:35: warning: data argument not used by format string [-Wformat-extra-args] sprintf(dotpath, "/tmp/rnd.$$", getpid()); ~~~~~~~~~~~~~ ^ t_misc.c:117:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(dotpath); ^ t_misc.c:175:20: warning: implicit declaration of function 'raw_truerand' is invalid in C99 [-Wimplicit-function-declaration] preseed.trand1 = raw_truerand(); ^ t_misc.c:194:18: warning: implicit declaration of function 'getppid' is invalid in C99 [-Wimplicit-function-declaration] preseed.ppid = getppid(); ^ t_misc.c:201:5: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] read(i, preseed.devrand, sizeof(preseed.devrand)); ^ t_misc.c:202:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(i); ^ 8 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_pw.c t_pw.c:157:40: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tpw->pebuf.password.len = t_fromb64(tpw->pwbuf, passbuf)) > 0 && ^~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:159:36: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tpw->pebuf.salt.len = t_fromb64(tpw->saltbuf, saltstr)) > 0 && ^~~~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:203:40: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tpw->pebuf.password.len = t_fromb64(tpw->pwbuf, passbuf)) > 0 && ^~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:205:36: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (tpw->pebuf.salt.len = t_fromb64(tpw->saltbuf, saltstr)) > 0 && ^~~~~~~~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:259:21: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, user, strlen(user)); ^~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:260:21: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, ":", 1); ^~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:261:21: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, pass, strlen(pass)); ^~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:292:20: warning: passing 'unsigned char *const' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_tob64(strbuf, ent->password.data, ent->password.len), ^~~~~~~~~~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:293:21: warning: passing 'unsigned char *const' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_tob64(saltbuf, ent->salt.data, ent->salt.len), ent->index); ^~~~~~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ t_pw.c:318:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ t_pw.c:348:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (unlink(bakfile2) < 0 || (bakfp = fopen(bakfile2, "w")) == NULL)) ^ t_pw.c:357:27: warning: passing 'const struct t_pwent *' to parameter of type 'struct t_pwent *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] t_pwcopy(bakfp, passfp, diff); ^~~~ t_pw.c:367:3: warning: implicit declaration of function 'link' is invalid in C99 [-Wimplicit-function-declaration] link(pwname, bakfile); ^ In file included from t_pw.c:404: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 17 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_read.c cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_server.c t_server.c:96:21: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, ent->name, strlen(ent->name)); ^~~~~~~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c t_truerand.c t_truerand.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c yp_misc.c In file included from yp_misc.c:28: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c yp_tpasswd.c In file included from yp_tpasswd.c:28: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c yp_tconf.c In file included from yp_tconf.c:28: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c nsw_tpasswd.c In file included from nsw_tpasswd.c:26: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c nsw_tconf.c In file included from nsw_tconf.c:26: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c nsswitch.c In file included from nsswitch.c:27: ./nys_config.h:43:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_YP /* NSSwitch YP (NIS v2) support */ ^ ./nys_config.h:44:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_NIS /* NSSwitch NIS+ (NIS v3) support */ ^ ./nys_config.h:45:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DNS /* NSSwitch DNS/Hesiod support */ ^ ./nys_config.h:46:23: warning: '/*' within block comment [-Wcomment] /*#undef ENABLE_DBM /* NSSwitch DBM support */ ^ 4 warnings generated. rm -f libsrp.a ar cru libsrp.a t_client.o t_conf.o t_conv.o t_getpass.o t_sha.o t_math.o t_misc.o t_pw.o t_read.o t_server.o t_truerand.o yp_misc.o yp_tpasswd.o yp_tconf.o nsw_tpasswd.o nsw_tconf.o nsswitch.o ranlib libsrp.a cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c clitest.c clitest.c:28:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ clitest.c:46:10: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] n.data = buf1; ^ ~~~~ clitest.c:47:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] n.len = t_fromb64(n.data, hexbuf); ^~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ clitest.c:50:10: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] g.data = buf2; ^ ~~~~ clitest.c:51:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] g.len = t_fromb64(g.data, hexbuf); ^~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ clitest.c:54:10: warning: assigning to 'unsigned char *' from 'char [32]' converts between pointers to integer types with different sign [-Wpointer-sign] s.data = buf3; ^ ~~~~ clitest.c:55:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] s.len = t_fromb64(s.data, hexbuf); ^~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ clitest.c:60:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("A (to server): %s\n", t_tob64(hexbuf, A->data, A->len)); ^~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ clitest.c:67:10: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] B.data = buf1; ^ ~~~~ clitest.c:68:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] B.len = t_fromb64(B.data, hexbuf); ^~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ clitest.c:71:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("Session key: %s\n", t_tohex(hexbuf, skey, 40)); ^~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ clitest.c:73:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_tohex(hexbuf, t_clientresponse(tc), RESPONSE_LEN)); ^~~~~~~~~~~~~~~~~~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 12 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o clitest clitest.o libsrp.a -L../lib -lgmp cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c srvtest.c srvtest.c:90:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("n (to client): %s\n", t_tob64(hexbuf, ts->n.data, ts->n.len)); ^~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srvtest.c:91:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("g (to client): %s\n", t_tob64(hexbuf, ts->g.data, ts->g.len)); ^~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srvtest.c:92:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("salt (to client): %s\n", t_tob64(hexbuf, ts->s.data, ts->s.len)); ^~~~~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srvtest.c:97:10: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] A.data = buf; ^ ~~~ srvtest.c:98:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] A.len = t_fromb64(A.data, hexbuf); ^~~~~~ ./t_pwd.h:241:33: note: passing argument to parameter here _TYPE( int ) t_fromb64 P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srvtest.c:100:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("B (to client): %s\n", t_tob64(hexbuf, B->data, B->len)); ^~~~~~~ ./t_pwd.h:240:42: note: passing argument to parameter here _TYPE( char * ) t_tob64 P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srvtest.c:103:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("Session key: %s\n", t_tohex(hexbuf, skey, 40)); ^~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srvtest.c:109:13: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_fromhex(cbuf, hexbuf); ^~~~ ./t_pwd.h:239:33: note: passing argument to parameter here _TYPE( int ) t_fromhex P((char *, char *)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 8 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o srvtest srvtest.o libsrp.a -L../lib -lgmp cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c getpwtest.c getpwtest.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ getpwtest.c:13:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(0); ^ getpwtest.c:13:5: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o getpwtest getpwtest.o libsrp.a -L../lib -lgmp cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c srptest.c srptest.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ srptest.c:45:12: warning: passing 'char [513]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] t_random(hexbuf, 64); ^~~~~~ ./t_pwd.h:253:42: note: passing argument to parameter here _TYPE( void ) t_random P((unsigned char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srptest.c:91:25: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, ent->name, strlen(ent->name)); ^~~~~~~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srptest.c:92:25: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, ":", 1); ^~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srptest.c:93:25: warning: passing 'char [128]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] SHA1Update(&ctxt, pass, strlen(pass)); ^~~~ ./t_sha.h:23:60: note: passing argument to parameter 'data' here void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 5 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o srptest srptest.o libsrp.a -L../lib -lgmp cc -DHAVE_CONFIG_H -I. -I. -I. -I../include -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c srpbench.c srpbench.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ srpbench.c:131:37: warning: passing 'unsigned char [2]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("0x%s ^ ", t_tohex(hexbuf, testbase, sizeof(testbase))); ^~~~~~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srpbench.c:133:39: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("0x%s mod ", t_tohex(hexbuf, testexp, sizeof(testexp))); ^~~~~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ srpbench.c:135:37: warning: passing 'unsigned char [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] printf("0x%s = ", t_tohex(hexbuf, testmod, sizeof(testmod))); ^~~~~~~ ./t_pwd.h:238:42: note: passing argument to parameter here _TYPE( char * t_tohex ) P((char *, char *, unsigned)); ^ ./t_defines.h:28:14: note: expanded from macro 'P' #define P(x) x ^ 4 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o srpbench srpbench.o libsrp.a -L../lib -lgmp cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status creating config.h config.h is unchanged Making all in libkrypto cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c krypto.c krypto.c:215:5: warning: implicit declaration of function 'krypto_rand_conf' is invalid in C99 [-Wimplicit-function-declaration] krypto_rand_conf (confounder, conflen); ^ 1 warning generated. cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher.c cipher.c:133:17: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] unsigned char id; ^ ./krypto.h:105:61: note: previous declaration is here extern cipher_desc *cipher_getdescbyid _PROTO((unsigned char)); ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ cipher.c:145:17: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] unsigned char id; ^ ./krypto.h:107:67: note: previous declaration is here extern int cipher_supported _PROTO((unsigned char *, unsigned char)); ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ cipher.c:149:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen (list); i++) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 3 warnings generated. cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_crypt_ecb.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_crypt_cbc.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_crypt_cfb.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_crypt_ofb.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c hash.c hash.c:79:17: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] unsigned char id; ^ ./krypto.h:147:57: note: previous declaration is here extern hash_desc *hash_getdescbyid _PROTO((unsigned char)); ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ hash.c:91:17: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] unsigned char id; ^ ./krypto.h:149:65: note: previous declaration is here extern int hash_supported _PROTO((unsigned char *, unsigned char)); ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ hash.c:95:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen (list); i++) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 3 warnings generated. cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c krypto_rand_conf.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_imp_cast.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_imp_blowfish.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_imp_des.c cipher_imp_des.c:453:38: warning: 'memcmp' call operates on objects of type 'des_cblock' (aka 'unsigned char [8]') while the size is based on a different type 'des_cblock (*)' (aka 'unsigned char (*)[8]') [-Wsizeof-pointer-memaccess] if (memcmp(weak_keys[i],key,sizeof(key)) == 0) return(1); ~~~ ^~~ cipher_imp_des.c:453:38: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? if (memcmp(weak_keys[i],key,sizeof(key)) == 0) return(1); ^~~ 1 warning generated. cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_imp_none.c cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c hash_imp_md5.c hash_imp_md5.c:158:27: warning: 'memset' call operates on objects of type 'struct md5Context' while the size is based on a different type 'struct md5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ~~~ ^~~ hash_imp_md5.c:158:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~ 1 warning generated. cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c hash_imp_sha.c rm -f libkrypto.a ar cru libkrypto.a krypto.o cipher.o cipher_crypt_ecb.o cipher_crypt_cbc.o cipher_crypt_cfb.o cipher_crypt_ofb.o hash.o krypto_rand_conf.o cipher_imp_cast.o cipher_imp_blowfish.o cipher_imp_des.o cipher_imp_none.o hash_imp_md5.o hash_imp_sha.o ranlib libkrypto.a cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_test.c cipher_test.c:381:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen (list); i++) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ cipher_test.c:428:25: warning: passing 'char [40]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cipher_crypt (ciph, test_data, out, len); ^~~~~~~~~ ./krypto.h:117:59: note: passing argument to parameter here extern void cipher_crypt _PROTO((cipher *, unsigned char *, unsigned char *, ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ cipher_test.c:453:25: warning: passing 'char [40]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cipher_crypt (ciph, test_data, out, len); ^~~~~~~~~ ./krypto.h:117:59: note: passing argument to parameter here extern void cipher_crypt _PROTO((cipher *, unsigned char *, unsigned char *, ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ cipher_test.c:478:25: warning: passing 'char [40]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cipher_crypt (ciph, test_data, out, len); ^~~~~~~~~ ./krypto.h:117:59: note: passing argument to parameter here extern void cipher_crypt _PROTO((cipher *, unsigned char *, unsigned char *, ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ cipher_test.c:532:25: warning: passing 'char [40]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cipher_crypt (ciph, test_data, out, len); ^~~~~~~~~ ./krypto.h:117:59: note: passing argument to parameter here extern void cipher_crypt _PROTO((cipher *, unsigned char *, unsigned char *, ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ cipher_test.c:641:25: warning: passing 'char [40]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] cipher_crypt (ciph, test_data, out, len); ^~~~~~~~~ ./krypto.h:117:59: note: passing argument to parameter here extern void cipher_crypt _PROTO((cipher *, unsigned char *, unsigned char *, ^ ./krypto.h:36:22: note: expanded from macro '_PROTO' #define _PROTO(x) x ^ 6 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o cipher_test cipher_test.o libkrypto.a cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c hash_test.c hash_test.c:94:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen (list); i++) ^~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 1 warning generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o hash_test hash_test.o libkrypto.a cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c krypto_test.c krypto_test.c:59:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0; i < strlen (clist); i++) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ krypto_test.c:60:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (j = 0; j < strlen (hlist); j++) ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ krypto_test.c:73:41: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (memcmp (message1, buf2, strlen (message1))) ^~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ krypto_test.c:79:41: warning: passing 'unsigned char [45]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (memcmp (message2, buf2, strlen (message2))) ^~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ krypto_test.c:85:41: warning: passing 'unsigned char [26]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (memcmp (message1, buf2, strlen (message1))) ^~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ krypto_test.c:91:41: warning: passing 'unsigned char [45]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (memcmp (message2, buf2, strlen (message2))) ^~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ 6 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o krypto_test krypto_test.o libkrypto.a cc -DPACKAGE=\"libkrypto\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DTIME_WITH_SYS_TIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DHAVE_SRAND48=1 -DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_GETPID=1 -DCIPHER_BLOWFISH=1 -DCIPHER_DES=1 -DCIPHER_CAST5=1 -DHASH_MD5=1 -DHASH_SHA=1 -I. -I. -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c cipher_bench.c cipher_bench.c:65:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' memset(data, 0, 8); ^ cipher_bench.c:65:3: note: include the header or explicitly provide a declaration for 'memset' cipher_bench.c:80:70: warning: format specifies type 'char *' but the argument has type 'unsigned int' [-Wformat] printf("*** %s encryption/decryption error: [%08x %08x] != 0\n", *lo, *hi); ~~ ^~~ %u cipher_bench.c:80:58: warning: more '%' conversions than data arguments [-Wformat] printf("*** %s encryption/decryption error: [%08x %08x] != 0\n", *lo, *hi); ~~~^ cipher_bench.c:82:14: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 2 * NRUNS, elapsedus / 1000000, elapsedus % 1000000, ^~~~~~~~~~~~~~~~~~~ cipher_bench.c:82:35: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 2 * NRUNS, elapsedus / 1000000, elapsedus % 1000000, ^~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o cipher_bench cipher_bench.o libkrypto.a Making all in base cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status creating config.h config.h is unchanged /usr/pkg/bin/bmake all-recursive Making all in lib cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c commonio.c commonio.c:321:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c dialchk.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c dialup.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c encrypt.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c fputsx.c fputsx.c:51:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c getdef.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c getpass.c getpass.c:56:9: warning: 'PASS_MAX' macro redefined [-Wmacro-redefined] #define PASS_MAX 127 ^ /usr/include/limits.h:119:9: note: previous definition is here #define PASS_MAX 128 /* Legacy */ ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c groupio.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c gshadow.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c lockpw.c lockpw.c:94:7: warning: implicit declaration of function 'tpw_lock' is invalid in C99 [-Wimplicit-function-declaration] if (tpw_lock ()) ^ lockpw.c:124:43: warning: implicit declaration of function 'tpw_unlock' is invalid in C99 [-Wimplicit-function-declaration] return (pw_unlock () && spw_unlock () && tpw_unlock ()) ? 0:-1; ^ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c port.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c pwauth.c pwauth.c:299:25: warning: address of array 'clear' will always evaluate to 'true' [-Wpointer-bool-conversion] if (wipe_clear_pass && clear && *clear) ~~ ^~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c pwio.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c rad64.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c sgroupio.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c shadow.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c shadowio.c shadowio.c:66:18: warning: implicit declaration of function 'sgetspent' is invalid in C99 [-Wimplicit-function-declaration] return (void *) sgetspent(line); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c utent.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c md5.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c md5crypt.c md5crypt.c:82:17: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx,pw,strlen(pw)); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:85:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx,magic,strlen(magic)); ^~~~~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:88:17: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx,sp,sl); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:92:18: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,pw,strlen(pw)); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:93:18: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,sp,sl); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:94:18: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,pw,strlen(pw)); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:107:23: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx, pw+j, 1); ^~~~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:124:20: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,pw,strlen(pw)); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:129:20: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,sp,sl); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:132:20: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,pw,strlen(pw)); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ md5crypt.c:137:20: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD5Update(&ctx1,pw,strlen(pw)); ^~ ./md5.h:17:65: note: passing argument to parameter 'buf' here void MD5Update(struct MD5Context *context, unsigned char const *buf, ^ 11 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c tpwio.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c putgrent.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c putpwent.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c putspent.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c sgetgrent.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c sgetpwent.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../../libsrp -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c sgetspent.c rm -f libshadow.a ar cru libshadow.a commonio.o dialchk.o dialup.o encrypt.o fputsx.o getdef.o getpass.o groupio.o gshadow.o lockpw.o port.o pwauth.o pwio.o rad64.o sgroupio.o shadow.o shadowio.o utent.o md5.o md5crypt.o tpwio.o putgrent.o putpwent.o putspent.o sgetgrent.o sgetpwent.o sgetspent.o ranlib libshadow.a Making all in libmisc cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c addgrps.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c age.c age.c:205:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ age.c:225:21: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] long clock = time ((long *) 0) / SCALE; ^~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c basename.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c chkname.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c chowndir.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c chowntty.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c console.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c copydir.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c entry.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c env.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c failure.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c fields.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c hushed.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c isexpired.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c limits.c limits.c:287:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (strcmp(name, "*") == 0) { ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c list.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c log.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c login_access.c login_access.c:207:9: warning: implicit declaration of function 'innetgr' is invalid in C99 [-Wimplicit-function-declaration] return innetgr(group, machine, user, mydomain); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c login_desrpc.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c login_krb.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c loginprompt.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c mail.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c motd.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c myname.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c obscure.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c pam_pass.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c pwd2spwd.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c rlogin.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c salt.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c setugid.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c setup.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c setupenv.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c shell.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c strtoday.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c suauth.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c sub.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c sulog.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c ttytype.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c tz.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c ulimit.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -Dunix=1 -I/usr/pkg/include -O2 -march=i586 -Wno-error=return-type -I/usr/pkg/include -c utmp.c utmp.c:156:12: error: no member named 'ut_pid' in 'struct utmp' if (ut->ut_pid == pid) ~~ ^ utmp.c:208:19: error: no member named 'ut_id' in 'struct utmp' strncpy(utent.ut_id, ut->ut_id, sizeof ut->ut_id); ~~~~~ ^ utmp.c:208:30: error: no member named 'ut_id' in 'struct utmp' strncpy(utent.ut_id, ut->ut_id, sizeof ut->ut_id); ~~ ^ utmp.c:208:48: error: no member named 'ut_id' in 'struct utmp' strncpy(utent.ut_id, ut->ut_id, sizeof ut->ut_id); ~~ ^ utmp.c:211:9: error: no member named 'ut_pid' in 'struct utmp' utent.ut_pid = getpid(); ~~~~~ ^ utmp.c:212:9: error: no member named 'ut_type' in 'struct utmp'; did you mean 'ut_time'? utent.ut_type = LOGIN_PROCESS; ^~~~~~~ ut_time /usr/include/utmp.h:60:9: note: 'ut_time' declared here time_t ut_time; ^ utmp.c:216:32: error: no member named 'ut_id' in 'struct utmp' strncpy(utxent.ut_id, utent.ut_id, sizeof utxent.ut_id); ~~~~~ ^ utmp.c:219:25: error: no member named 'ut_pid' in 'struct utmp' utxent.ut_pid = utent.ut_pid; ~~~~~ ^ utmp.c:220:26: error: no member named 'ut_type' in 'struct utmp'; did you mean 'ut_time'? utxent.ut_type = utent.ut_type; ^~~~~~~ ut_time /usr/include/utmp.h:60:9: note: 'ut_time' declared here time_t ut_time; ^ utmp.c:296:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (utmpx = getutxent ()) { ~~~~~~^~~~~~~~~~~~~~ utmp.c:296:15: note: place parentheses around the assignment to silence this warning while (utmpx = getutxent ()) { ^ ( ) utmp.c:296:15: note: use '==' to turn this assignment into an equality comparison while (utmpx = getutxent ()) { ^ == utmp.c:303:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (utmp = getutent ()) { ~~~~~^~~~~~~~~~~~~ utmp.c:303:14: note: place parentheses around the assignment to silence this warning while (utmp = getutent ()) { ^ ( ) utmp.c:303:14: note: use '==' to turn this assignment into an equality comparison while (utmp = getutent ()) { ^ == utmp.c:304:13: error: no member named 'ut_pid' in 'struct utmp' if (utmp->ut_pid == pid) { ~~~~ ^ utmp.c:331:10: error: no member named 'ut_pid' in 'struct utmp' utline.ut_pid = utxline.ut_pid; ~~~~~~ ^ utmp.c:350:9: error: no member named 'ut_type' in 'struct utmp'; did you mean 'ut_time'? utline.ut_type = utxline.ut_type = USER_PROCESS; ^~~~~~~ ut_time /usr/include/utmp.h:60:9: note: 'ut_time' declared here time_t ut_time; ^ utmp.c:358:10: error: no member named 'ut_syslen' in 'struct utmpx' utxline.ut_syslen = strlen (utxline.ut_host) + 1; ~~~~~~~ ^ utmp.c:359:14: error: no member named 'ut_syslen' in 'struct utmpx' if (utxline.ut_syslen > sizeof (utxline.ut_host)) ~~~~~~~ ^ utmp.c:360:12: error: no member named 'ut_syslen' in 'struct utmpx' utxline.ut_syslen = sizeof (utxline.ut_host); ~~~~~~~ ^ utmp.c:363:2: warning: implicit declaration of function 'pututline' is invalid in C99 [-Wimplicit-function-declaration] pututline (&utline); ^ utmp.c:366:29: error: expected ')' if ((fd = open (_WTMP_FILE "x", O_WRONLY|O_APPEND)) != -1) { ^ utmp.c:366:17: note: to match this '(' if ((fd = open (_WTMP_FILE "x", O_WRONLY|O_APPEND)) != -1) { ^ utmp.c:370:18: error: use of undeclared identifier '_WTMP_FILE' if ((fd = open (_WTMP_FILE, O_WRONLY|O_APPEND)) != -1) { ^ 3 warnings and 17 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/security/srp_client/work/srp-1.4.4/base/libmisc *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/security/srp_client/work/srp-1.4.4/base *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/security/srp_client/work/srp-1.4.4/base *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/security/srp_client/work/srp-1.4.4 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/security/srp_client *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/srp_client