[Chilli] Unable to build coova-chilli 1.2.2 in CentOS 5.4 --with-openssl option

Hardy Beltran Monasterios hardybm at gmail.com
Thu Apr 8 14:33:00 UTC 2010


Hi,

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:
/usr/include/krb5/krb5.h:191: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_addrtype'
/usr/include/krb5/krb5.h:192: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_enctype'
/usr/include/krb5/krb5.h:193: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_cksumtype'
/usr/include/krb5/krb5.h:194: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'krb5_authdatatype'


My build environment

gcc 4.1.2
glibc 2.5
openssl 0.9.8e

The file '/usr/include/krb5/krb5.h' comes with this package:

krb5-devel-1.6.1-36.el5_4.1


What might be wrong ? 


TIA

---
Hardy Beltran Monasterios
La Paz, Bolivia



More information about the Chilli mailing list