http://zeitlin.homeunix.com/cgi-bin/mbugs/show_bug.cgi?id=912
Summary: build fails due to different openssl prototypes
Product: Mahogany
Version: from CVS
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Build/Compile/Install (*IX)
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
using openssl 0.9.7g build fails with these errors:
c++ -o util/ssl.o -c -I/home/multix/wx-cvs/M/include -I/usr/include/python2.4
-DNO_IDEA -
DNO_DSA -DOPENSSL_NO_KRB5 -I/usr/local/lib/wx/include/motif-ansi-release-2.6
-I/usr/local/
include/wx-2.6 -D__WXMOTIF__ -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I/home/multix/wx-cvs/M/lib/imap/c-client
-I/
home/multix/wx-cvs/M/lib/compface -I/home/multix/wx-cvs/M/src/wx/vcard
-fno-exceptions
-fno-rtti -fno-operator-names
-I/usr/local/lib/wx/include/motif-ansi-release-2.6 -I/usr/local/
include/wx-2.6 -D__WXMOTIF__ -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64
-D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -O2 -MMD -Wall util/ssl.cpp
util/ssl.cpp: In function `int SSL_pending(SSL*)':
util/ssl.cpp:105: error: declaration of C function `int SSL_pending(SSL*)'
conflicts with
/usr/include/openssl/ssl.h:1194: error: previous declaration `int
SSL_pending(const SSL*)' here
util/ssl.cpp: In function `const char* SSL_CIPHER_get_name(SSL_CIPHER*)':
util/ssl.cpp:109: error: declaration of C function `const char*
SSL_CIPHER_get_name(SSL_CIPHER*)'
conflicts with
/usr/include/openssl/ssl.h:1186: error: previous declaration `const char*
SSL_CIPHER_get_name(const SSL_CIPHER*)' here
util/ssl.cpp: In function `int SSL_CIPHER_get_bits(SSL_CIPHER*, int*)':
util/ssl.cpp:110: error: declaration of C function `int
SSL_CIPHER_get_bits(SSL_CIPHER*, int*)'
conflicts with
/usr/include/openssl/ssl.h:1184: error: previous declaration `int
SSL_CIPHER_get_bits(const
SSL_CIPHER*, int*)' here
util/ssl.cpp: In function `SSL_CIPHER* SSL_get_current_cipher(SSL*)':
util/ssl.cpp:111: error: declaration of C function `SSL_CIPHER*
SSL_get_current_cipher(SSL*)'
conflicts with
/usr/include/openssl/ssl.h:1183: error: previous declaration `SSL_CIPHER*
SSL_get_current_cipher(const SSL*)' here
util/ssl.cpp: In function `int SSL_get_fd(SSL*)':
util/ssl.cpp:112: error: declaration of C function `int SSL_get_fd(SSL*)'
conflicts with
/usr/include/openssl/ssl.h:1188: error: previous declaration `int
SSL_get_fd(const SSL*)' here
util/ssl.cpp: In function `int SSL_get_error(SSL*, int)':
util/ssl.cpp:114: error: declaration of C function `int SSL_get_error(SSL*,
int)' conflicts with
/usr/include/openssl/ssl.h:1326: error: previous declaration `int
SSL_get_error(const SSL*, int)'
here
util/ssl.cpp: In function `X509* SSL_get_peer_certificate(SSL*)':
util/ssl.cpp:115: error: declaration of C function `X509*
SSL_get_peer_certificate(SSL*)' conflicts
with
/usr/include/openssl/ssl.h:1275: error: previous declaration `X509*
SSL_get_peer_certificate(const SSL*)' here
util/ssl.cpp: In function `int SSL_state(SSL*)':
util/ssl.cpp:125: error: declaration of C function `int SSL_state(SSL*)'
conflicts with
/usr/include/openssl/ssl.h:1401: error: previous declaration `int
SSL_state(const SSL*)' here
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers