[openssl-dev] Update RE: [openssl.org #4033] Unable to build openssl git master branch on NetBSD for > 24 hours

yancm via RT rt at openssl.org
Wed Sep 16 00:13:49 UTC 2015


Hi Rich,
I checked a couple of things..
apps/rehash.c is interesting (see below) -
is it supposed to have two rehash_main() definitions?
The second one is throwing the error?
thanks,
gene


********************
** Error  Message **
********************
gmake[2]: Leaving directory '/usr/local/src/openssl/apps'
gmake[2]: Entering directory '/usr/local/src/openssl'
Not available; use c_rehash script
Makefile:428: recipe for target 'rehash.time' failed
gmake[2]: *** [rehash.time] Error 1
gmake[2]: Leaving directory '/usr/local/src/openssl'
Makefile:139: recipe for target 'openssl' failed
gmake[1]: *** [openssl] Error 2
gmake[1]: Leaving directory '/usr/local/src/openssl/apps'
Makefile:290: recipe for target 'build_apps' failed
gmake: *** [build_apps] Error 1
clarity 24 #

*******************************
** Makefile - rehash targets **
*******************************
rehash: rehash.time
rehash.time: certs apps
         @if [ -z "$(CROSS_COMPILE)" ]; then \
                 (OPENSSL="`pwd`/util/opensslwrap.sh"; \
                 [ -x "apps/openssl.exe" ] && OPENSSL="apps/openssl.exe" 
|| :; \
                 OPENSSL_DEBUG_MEMORY=on; OPENSSL_CONF=/dev/null ; \
                 export OPENSSL OPENSSL_DEBUG_MEMORY OPENSSL_CONF; \
                 $$OPENSSL rehash certs/demo) && \
                 touch rehash.time; \
         else :; fi


*******************
** apps/rehash.c **
*******************
     426 int rehash_main(int argc, char **argv)
     427 {
     428     const char *env, *prog;
     429     char *e, *m;
     430     int errs = 0;
     431     OPTION_CHOICE o;
     432     enum Hash h = HASH_NEW;
     433
     434     prog = opt_init(argc, argv, rehash_options);
     435     while ((o = opt_next()) != OPT_EOF) {
     436         switch (o) {
     437         case OPT_EOF:
     438         case OPT_ERR:
     439             BIO_printf(bio_err, "%s: Use -help for summary.\n", 
prog);
....

     485 int rehash_main(int argc, char **argv)
     486 {
     487     BIO_printf(bio_err, "Not available; use c_rehash script\n");
     488     return (1);
     489 }
     490




More information about the openssl-dev mailing list