Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Dev

Problems compiling against OpenSSL-0.9.8k

 

 

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded


c.baumann at ppc-ag

Oct 19, 2009, 7:40 AM

Post #1 of 2 (201 views)
Permalink
Problems compiling against OpenSSL-0.9.8k

Hello,

after upgrading the OpenSSL version from 0.9.7j to 0.9.8k which I used
to compile OpenSSH-5.2, I get conflicting type definitions for authfile.c:
../openssl/include/openssl/sha.h:138: error: conflicting types for
'SHA256_CTX'
openbsd-compat/sha2.h:66: error: previous declaration of 'SHA256_CTX'
was here
../openssl/include/openssl/sha.h:145: error: conflicting types for
'SHA256_Init'
openbsd-compat/sha2.h:77: error: previous declaration of 'SHA256_Init'
was here
../openssl/include/openssl/sha.h:145: error: conflicting types for
'SHA256_Init'
openbsd-compat/sha2.h:77: error: previous declaration of 'SHA256_Init'
was here
../openssl/include/openssl/sha.h:146: error: conflicting types for
'SHA256_Update'
openbsd-compat/sha2.h:80: error: previous declaration of 'SHA256_Update'
was here
../openssl/include/openssl/sha.h:146: error: conflicting types for
'SHA256_Update'
openbsd-compat/sha2.h:80: error: previous declaration of 'SHA256_Update'
was here
../openssl/include/openssl/sha.h:147: error: conflicting types for
'SHA256_Final'
openbsd-compat/sha2.h:83: error: previous declaration of 'SHA256_Final'
was here
../openssl/include/openssl/sha.h:147: error: conflicting types for
'SHA256_Final'
openbsd-compat/sha2.h:83: error: previous declaration of 'SHA256_Final'
was here
../openssl/include/openssl/sha.h:149: error: conflicting types for
'SHA256_Transform'
openbsd-compat/sha2.h:78: error: previous declaration of
'SHA256_Transform' was here
../openssl/include/openssl/sha.h:149: error: conflicting types for
'SHA256_Transform'
openbsd-compat/sha2.h:78: error: previous declaration of
'SHA256_Transform' was here
../openssl/include/openssl/sha.h:184: error: conflicting types for
'SHA512_CTX'
openbsd-compat/sha2.h:71: error: previous declaration of 'SHA512_CTX'
was here
../openssl/include/openssl/sha.h:192: error: conflicting types for
'SHA512_Init'
openbsd-compat/sha2.h:113: error: previous declaration of 'SHA512_Init'
was here
../openssl/include/openssl/sha.h:192: error: conflicting types for
'SHA512_Init'
openbsd-compat/sha2.h:113: error: previous declaration of 'SHA512_Init'
was here
../openssl/include/openssl/sha.h:193: error: conflicting types for
'SHA512_Update'
openbsd-compat/sha2.h:116: error: previous declaration of
'SHA512_Update' was here
../openssl/include/openssl/sha.h:193: error: conflicting types for
'SHA512_Update'
openbsd-compat/sha2.h:116: error: previous declaration of
'SHA512_Update' was here
../openssl/include/openssl/sha.h:194: error: conflicting types for
'SHA512_Final'
openbsd-compat/sha2.h:119: error: previous declaration of 'SHA512_Final'
was here
../openssl/include/openssl/sha.h:194: error: conflicting types for
'SHA512_Final'
openbsd-compat/sha2.h:119: error: previous declaration of 'SHA512_Final'
was here
../openssl/include/openssl/sha.h:196: error: conflicting types for
'SHA512_Transform'
openbsd-compat/sha2.h:114: error: previous declaration of
'SHA512_Transform' was here
../openssl/include/openssl/sha.h:196: error: conflicting types for
'SHA512_Transform'
openbsd-compat/sha2.h:114: error: previous declaration of
'SHA512_Transform' was here


Setting -DOPENSSL_NO_SHA512 -DOPENSSL_NO_SHA256 reduces the number of
errors to one complaining about SHA256_CTX.


Regards,
Christoph Baumann

--

Dipl.-Phys. Christoph Baumann
Power PLUS Communications AG
Am Exerzierplatz 2
68167 Mannheim
Germany

phone: +49(621)40165-???
fax: +49(621)40165-???
mailto://c.baumann[at]ppc-ag.de
http://www.ppc-ag.de

Handelsregister-Nr.: HRB 8853
Sitz und Registergericht: Mannheim
Vorstand: Ingo Schönberg (Vorsitzender), Eugen Mayer
Vorsitzender des Aufsichtsrates Univ.-Prof. Dr. Torsten Gerpott


THE INFORMATION CONTAINED IN THIS ELECTRONIC MAIL TRANSMISSION IS
CONFIDENTIAL AND MAY ALSO CONTAIN PRIVILEGED INFORMATION OR WORK
PRODUCT. THE INFORMATION IS INTENDED ONLY FOR THE USE OF THE
INDIVIDUAL OR ENTITY TO WHOM IT IS ADDRESSED. IF YOU ARE NOT THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY USE,
DISSEMINATION, DISTRIBUTION OR COPYING OF THIS COMMUNICATION IS
STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS ELECTRONIC MAIL
TRANSMISSION IN ERROR, PLEASE IMMEDIATELY ERASE AND DELETE THE
ORIGINAL MESSAGE FROM YOUR DATABASE

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev[at]mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


dtucker at zip

Oct 19, 2009, 12:20 PM

Post #2 of 2 (173 views)
Permalink
Re: Problems compiling against OpenSSL-0.9.8k [In reply to]

Christoph Baumann wrote:
> Hello,
>
> after upgrading the OpenSSL version from 0.9.7j to 0.9.8k which I used
> to compile OpenSSH-5.2, I get conflicting type definitions for authfile.c:
> ../openssl/include/openssl/sha.h:138: error: conflicting types for
> 'SHA256_CTX'
> openbsd-compat/sha2.h:66: error: previous declaration of 'SHA256_CTX'
> was here
> ../openssl/include/openssl/sha.h:145: error: conflicting types for
> 'SHA256_Init'

You've got a "config.h" with the old settings somewhere in your
compiler's search path.

You probably just need to do a "make distclean" (or delete the openssh
directory and unpack the tarball again) and then rerun configure.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev[at]mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.