http://bugs.winehq.com/show_bug.cgi?id=1827
Summary: dlls/wininet does not compile on Fedora Core 1 Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-net AssignedTo: wine-bugs@winehq.com ReportedBy: andrejoh@c2i.net
Trying to compile Wine from current CVS, gives the following compile error:
gcc -c -I/home/andrej/src/3rdparty/wine-cvs/dlls/wininet -I. -I/home/andrej/src/3rdparty/wine-cvs/include -I../../include -D__WINESRC__ -D_WINX32_ -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o cookie.o cookie.c In file included from /usr/include/openssl/ssl.h:179, from internet.h:36, from cookie.c:39: /usr/include/openssl/kssl.h:136: error: syntax error before '*' token /usr/include/openssl/kssl.h:149: error: syntax error before '*' token /usr/include/openssl/kssl.h:150: error: syntax error before '*' token /usr/include/openssl/kssl.h:151: error: syntax error before '*' token /usr/include/openssl/kssl.h:151: error: syntax error before '*' token /usr/include/openssl/kssl.h:152: error: syntax error before '*' token /usr/include/openssl/kssl.h:153: error: syntax error before '*' token /usr/include/openssl/kssl.h:155: error: syntax error before '*' token /usr/include/openssl/kssl.h:157: error: syntax error before '*' token /usr/include/openssl/kssl.h:159: error: syntax error before '*' token /usr/include/openssl/kssl.h:167: error: syntax error before '*' token In file included from internet.h:36, from cookie.c:39: /usr/include/openssl/ssl.h:909: error: syntax error before "KSSL_CTX" /usr/include/openssl/ssl.h:931: error: syntax error before '}' token make: *** [cookie.o] Error 1
Line 136 of openssl/kssl.h is as follows: krb5_octet FAR *key;
Compiling this on its own works fine; I assume the problem is with the FAR macro, which seems to be defined in Wine as well.
The OpenSSL include file is from openssl-devel-0.9.7a-23