compiling wine on fedora core 0.94
Panu Matilainen
pmatilai at welho.com
Wed Oct 1 17:33:26 UTC 2003
On Wed, 2003-10-01 at 20:27, traxtopel wrote:
> Problem compiling wine on fedora core 0.94
>
> trying to compile last wine drop 20030911 on fedora, bails out with
> Anyone have a solution.
>
> gcc -c -I. -I. -I../../include -I../../include -D_REENTRANT -fPIC
> -D__WINESRC__ -D_WINX32_ -Wall -mpreferred-stack-boundary=2
> -fno-strict-aliasing -Wpointer-arith -O2 -g -pipe -march=i386
> -mcpu=i686 -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[2]: *** [cookie.o] Error 1
>
> Problem seems to relate to an issue with krb5
>
> i.e. cookie.o
>
> typedef struct kssl_ctx_st
> {
>
> char *service_name;
> char *service_host;
> char *client_princ;
> char *keytab_file;
> char *cred_cache;
> krb5_enctype enctype;
> int length;
> krb5_octet do_not_use_this_in_wine *key;
> } KSSL_CTX;
> # 149 "/usr/include/openssl/kssl.h" 3 4
> krb5_error_code kssl_ctx_setstring(KSSL_CTX *kssl_ctx, int which, char
> *text);
> KSSL_CTX *kssl_ctx_new(void);
> KSSL_CTX *kssl_ctx_free(KSSL_CTX *kssl_ctx);
> void kssl_ctx_show(KSSL_CTX *kssl_ctx);
> krb5_error_code kssl_ctx_setprinc(KSSL_CTX *kssl_ctx, int which,
Haven't tried myself and don't have an FC0.94 box at hand to check but
the location of kerberos libs + includes changed between Severn 9.0.93
-> FC0.94, kerbers includes are now in /usr/include/krb5 (or was it
include/kerberos) which for example tripped compilation of RH9 pine on
FC0.94. In short it's quite possibly looking for the kerberos includes
(because openssl needs them) in a wrong place.
- Panu -
More information about the test
mailing list