[Chilli] Bug "foreground mode"

Crox . crox53 at gmail.com
Wed May 15 15:44:04 UTC 2013


Hi,

I just installed the last available version of Coova-Chilli (ie :
Coova-Chilli-1.3.0), and I encountered two bugs.

                 *1) First note*
After built the souce code as follows :
*
*
*"./configure --disable-static --enable-shared --enable-largelimits
--enable-chilliredir --enable-chilliproxy --enable-chilliscript --with-poll"
*

During the make step I got this error message :
*
*
*"net.c: In fonction 'net_select_prepare' :*
* net.c:267:7 error: variable 'i' set but not used
[-Werror=unused-but-set-varaiable]"*

In fact in the *net.c* source the variable 'i' is define but not used
because of build options.
Then to fix it, i comment the lines 267 and 282, and add two new
declaration of 'i' after the two DEFINES : ENABLE_MODULES (line 270) and
USING_POLL (line 285).

                  *2) Second note*
When I try to launch Chilli in foreground mode ( option -f ), I get a
"*segmentation
fault*" error message. I suspect a small error in the source code, doesn't
it ?

Moreover, I precise that I got these two bugs with the versions *1.2.9* and
*1.3.0* of Coova-Chilli.

Otherwise I don't know if it can interested someone, but for my project I
realized the Coova-Chilli rpms for Mageia2 (32 and 64 bits). These rpms are
not generic because I willingly deleted the build option number and
files embedded the rpms to restrict the packet size. However the most of
the work has been done on the SPEC file and it just has to be adapted to
your needs.

Regards,
-- 
*Crox - Junior Developer for ALCASAR team*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130515/47900225/attachment.html>


More information about the Chilli mailing list