[openssl-users] openssl-1.1.0-stable-SNAP-20180802 issue

The Doctor doctor at doctor.nl2k.ab.ca
Thu Aug 2 11:30:15 UTC 2018


While compiling today's openssl 1.1.0 snap on FreeBSD 11.2 

I got

/usr/bin/cc  -I. -Icrypto/include -Iinclude -DZLIB -DZLIB_SHARED -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DL_ENDIAN -Wall -O3 -pthread -D_THREAD_SAFE -D_REENTRANT  -rdynamic -fPIC -MMD -MF crypto/asn1/tasn_utl.d.tmp -MT crypto/asn1/tasn_utl.o -c -o crypto/asn1/tasn_utl.o crypto/asn1/tasn_utl.c
cc: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
crypto/asn1/tasn_utl.c:60:5: error: use of undeclared identifier
      'CRYPTO_REF_COUNT'
  CRYPTO_REF_COUNT *lck;
  ^
crypto/asn1/tasn_utl.c:60:23: error: use of undeclared identifier 'lck'
      CRYPTO_REF_COUNT *lck;
        		^
crypto/asn1/tasn_utl.c:70:5: error: use of undeclared identifier 'lck'; did you
      mean 'lock'?
  lck = offset2ptr(*pval, aux->ref_offset);
  ^~~
  lock
crypto/asn1/tasn_utl.c:61:21: note: 'lock' declared here
    CRYPTO_RWLOCK **lock;
            	  ^
crypto/asn1/tasn_utl.c:75:10: error: use of undeclared identifier 'lck'; did you
	mean 'lock'?
	*lck = ret = 1;
	 ^~~
         lock
crypto/asn1/tasn_utl.c:61:21: note: 'lock' declared here
   CRYPTO_RWLOCK **lock;
		  ^
crypto/asn1/tasn_utl.c:75:14: warning: incompatible integer to pointer
	conversion assigning to 'CRYPTO_RWLOCK *' (aka 'void *') from 'int'
      [-Wint-conversion]
      *lck = ret = 1;
	   ^ ~~~~~~~
crypto/asn1/tasn_utl.c:83:14: warning: implicit declaration of function
       'CRYPTO_UP_REF' is invalid in C99 [-Wimplicit-function-declaration]
	 if (!CRYPTO_UP_REF(lck, &ret, *lock))
	      ^
crypto/asn1/tasn_utl.c:83:28: error: use of undeclared identifier 'lck'; did you
mean 'lock'?
    if (!CRYPTO_UP_REF(lck, &ret, *lock))
		       ^~~
                       lock
crypto/asn1/tasn_utl.c:61:21: note: 'lock' declared here
    CRYPTO_RWLOCK **lock;
		  ^
crypto/asn1/tasn_utl.c:87:14: warning: implicit declaration of function
      'CRYPTO_DOWN_REF' is invalid in C99 [-Wimplicit-function-declaration]
	if (!CRYPTO_DOWN_REF(lck, &ret, *lock))
	     ^
crypto/asn1/tasn_utl.c:87:30: error: use of undeclared identifier 'lck'; did you
   mean 'lock'?
   if (!CRYPTO_DOWN_REF(lck, &ret, *lock))
			^~~
                      lock
crypto/asn1/tasn_utl.c:61:21: note: 'lock' declared here
     CRYPTO_RWLOCK **lock;
          	     ^
3 warnings and 6 errors generated.
 *** Error code 1

Stop.
make[1]: stopped in /usr/source/openssl-1.1.0-stable-SNAP-20180802
*** Error code 1

 Stop.
 make: stopped in /usr/source/openssl-1.1.0-stable-SNAP-20180802


Please fix.

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
https://www.empire.kred/ROOTNK?t=94a1f39b  Look at Psalms 14 and 53 on Atheism
A problem is a chance for you to do your best.  -Duke Ellington


More information about the openssl-users mailing list