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

Daniel Berteaud daniel at firewall-services.com
Wed Apr 21 15:07:14 UTC 2010


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

-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: daniel at firewall-services.com
Web : http://www.firewall-services.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coova-chilli-1.2.2-rename_limits_to_chilli_limits.patch
Type: text/x-patch
Size: 15462 bytes
Desc: not available
URL: <http://lists.coova.org/pipermail/chilli/attachments/20100421/1d9fb5de/attachment.bin>


More information about the Chilli mailing list