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
http://bugs.winehq.org/show_bug.cgi?id=13561
Robert Förster Dessa@gmake.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Dessa@gmake.de
http://bugs.winehq.org/show_bug.cgi?id=13561
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker
http://bugs.winehq.org/show_bug.cgi?id=13561
wine-2008@ryandesign.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-2008@ryandesign.com
http://bugs.winehq.org/show_bug.cgi?id=13561
Reece Dunn msclrhd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msclrhd@gmail.com
--- Comment #1 from Reece Dunn msclrhd@gmail.com 2008-05-31 05:01:39 --- I have checked the Windows SDK headers, and verified that there is an X509_EXTENSIONS macro there, so Wine is correct in that regard.
This is technically an issue with OpenSSL, as it affects Windows programs that use both these headers.
http://bugs.winehq.org/show_bug.cgi?id=13561
Phil sefi@s-e-f-i.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sefi@s-e-f-i.de
http://bugs.winehq.org/show_bug.cgi?id=13561
Russsell Harmon eatnumber1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eatnumber1@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=13561
--- Comment #2 from Jan Henrik Sylvester me@janh.de 2008-06-01 16:58:25 --- Created an attachment (id=13567) --> (http://bugs.winehq.org/attachment.cgi?id=13567) Fix incompatibility by undef before ssl.h include
This seems not to be the first incompatibility of this kind. dlls/wininet/internet.h already has a section of undefs before the include of openssl/ssl.h to "avoid conflict with wincrypt.h". Adding X509_EXTENSIONS to that list fixes the build.
http://bugs.winehq.org/show_bug.cgi?id=13561
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=13561
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-06-02 08:35:52 --- Fixed by 7c616799894faa48ee3277bc276a39bed55780e0.
http://bugs.winehq.org/show_bug.cgi?id=13561
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-06-06 10:39:03 --- Closing bugs fixed in 1.0-rc4.
http://bugs.winehq.org/show_bug.cgi?id=13561
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other OS/Version|All |other
--- Comment #5 from Austin English austinenglish@gmail.com 2012-02-23 15:10:27 CST --- Removing deprecated 'All' Platform/OS.