[Chilli] Error coova-chilli 1.2.2, CentOS 5.4 --with-openssl option

Isidor Zeuner chilli at quidecco.de
Sun Apr 18 17:08:34 UTC 2010


Hi Hardy,

> 
> I'm trying to build coova-chilli-1.2.2 on CentOS 5.4 but i have errors
> when I use '--with-openssl' option
> 
> I did:
> 
> ./configure --enable-miniportal --enable-chilliredir
> --enable-chilliproxy --with-openssl
> 
> This is the error (only first 20 lines):
> 
> In file included from /usr/include/krb5.h:7,
>                  from /usr/include/openssl/kssl.h:72,
>                  from /usr/include/openssl/ssl.h:191,
>                  from ssl.h:42,
>                  from conn.h:25,
>                  from redir.h:26,
>                  from chilli.c:27:
> /usr/include/krb5/krb5.h:139:2: error: #error undefined 16 bit type
> /usr/include/krb5/krb5.h:152:2: error: #error : undefined 32 bit type
> In file included from /usr/include/krb5.h:7,
>                  from /usr/include/openssl/kssl.h:72,
>                  from /usr/include/openssl/ssl.h:191,
>                  from ssl.h:42,
>                  from conn.h:25,
>                  from redir.h:26,
>                  from chilli.c:27:

The failing conditional in /usr/include/krb5/krb5.h depends on a
preprocessor variable defined in the system limits.h. Chilli has its
own limits.h, so krb5.h probably includes the wrong limits.h.

Could you try if it compiles correctly using the attached patch, which
will avoid this collision by renaming limits.h?

Best regards,

Isidor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coova-chilli-1.2.2-limits.diff.gz
Type: application/x-gzip
Size: 2664 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20100418/df82378b/attachment.bin>


More information about the Chilli mailing list