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@winehq.org ReportedBy: vapier@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