[Bug 13561] New: wine fails to build with openssl-0.9.8h

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 30 16:11:33 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13561

           Summary: wine fails to build with openssl-0.9.8h
           Product: Wine
           Version: unspecified
          Platform: All
               URL: http://bugs.gentoo.org/show_bug.cgi?id=224049
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wininet
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: vapier at gentoo.org


starting with openssl-0.9.8h, it has introduced a typedef named
"X509_EXTENSIONS" into openssl/x509.h.  unfortunately, wine uses a define of
the same name in include/wincrypt.h.

this triggers an obvious build failure when the typedef is preprocessed into:
typedef STACK ((LPCSTR)5);
instead of the expected:
typedef STACK X509_EXTENSIONS;

the full error looks like:
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-D__WINESRC__ -D_WINX32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith 
-O2 -march=k8 -pipe -g -Wimplicit-function-declaration  -o http.o http.c
In file included from /usr/include/openssl/ssl.h:183,
                 from internet.h:48,
                 from http.c:60:
/usr/include/openssl/x509.h:207: error: expected ‘)’ before numeric
constant
In file included from /usr/include/openssl/ssl.h:183,
                 from internet.h:48,
                 from http.c:60:
/usr/include/openssl/x509.h:929: error: expected identifier or ‘(’ before
‘LPCSTR’
/usr/include/openssl/x509.h:929: error: expected ‘)’ before numeric
constant
/usr/include/openssl/x509.h:929: error: expected declaration specifiers or
‘...’ before ‘(’ token
/usr/include/openssl/x509.h:929: error: expected ‘)’ before numeric
constant
In file included from /usr/include/openssl/ssl.h:183,
                 from internet.h:48,
                 from http.c:60:
/usr/include/openssl/x509.h:929:1: error: pasting ")" and "_it" does not give a
valid preprocessing token
In file included from internet.h:48,
                 from http.c:60:
/usr/include/openssl/ssl.h:1023: error: expected specifier-qualifier-list
before ‘(’ token
http.c: In function ‘HTTP_ReadChunked’:
http.c:1658: warning: comparison is always false due to limited range of data
type
http.c:1697: warning: large integer implicitly truncated to unsigned type
make: *** [http.o] Error 1


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list