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

David Bird david at coova.com
Wed Apr 21 17:41:56 UTC 2010


I committed some cleanups in the headers, allowing most .c files to just
include chillli.h. I also renamed limits.h to chilli_limits.h. 


On Wed, 2010-04-21 at 17:07 +0200, Daniel Berteaud wrote:
> Hi.

> I've been able to successfully compile coova-chilli 1.2.2 with openssl
> on CentOS (4.X but should also work on 5.X) with a modified version of
> the patch from Isidor Zeuner (Thank you)
> 
> I attach it.
> 
> The only changes are some additionnals limits -> chilli_limits in
> Makefil.in and Makfil.am
> 
> 
> Note that I've not tested the functionnality yet, it just compile fine.
> 
> Regards, Daniel
> 
> Le mercredi 21 avril 2010 à 10:56 -0400, Hardy Beltran Monasterios a
> écrit :
> > 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
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Chilli mailing list
> > Chilli at coova.org
> > http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
> 
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list