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

Hardy Beltran Monasterios hardybm at gmail.com
Wed Apr 21 14:56:32 UTC 2010


El dom, 18-04-2010 a las 19:08 +0200, Isidor Zeuner escribió:
> 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?

Hi Isidor

I have applied your patch

# cd coova-chilli-1.2.2
# patch -p1 < coova-chilli-1.2.2-limits.diff

But still I have the same compile errors :-(

I have read too the messages fomr Brigitta Bennici, which seems like has
the same compile errors.

Based on your comments about limits on limits.h and krb5.h, I will try
to find what to do. AFAIU limits.h should not include values already
defined in krb5.h. I got it right?

Thanks for your support


----
Hardy







More information about the Chilli mailing list