[Chilli] Missing File in SVN (cmdline.c)

Thierry Museux - www.fwt.fr - tm at fwt.fr
Sat Dec 3 07:52:03 UTC 2011


Svn r 457

With Unbuntu 11.10 32 bit (with gengetopt )
Error:
chilli.c:6080:7: error: variable 'i' set but not used [-Werror=unused-but-set-variable]


With debian 6 64bit
main-opt.c:231: error: unused variable ‘args_info’

With voyage Linux 0.8.0
main-opt.c:208: error: 'CMDLINE_PARSER_PACKAGE' undeclared (first use in this function)



Thierry Museux
France Wireless Technologies
www.fwt.fr
msn: tm at fwt.fr
Tel: + 33 (0) 1 41 08 70 78
Gsm: + 33 (0) 6 15 22 09 62

-----Message d'origine-----
De : Miguel Lopes - Cabocom [mailto:miguel.lopes at cabocom.cv] 
Envoyé : vendredi 2 décembre 2011 19:18
À : 'Thierry Museux - www.fwt.fr -'; 'dingo'; 'Fernando Macedo'
Cc : chilli at coova.org
Objet : RE: [Chilli] Missing File in SVN (cmdline.c)

Same error here. I am using Ubuntu, I sort it out, all I needed was to install gengetopt. After that it compiled and installed perfectly.

Kind Regards / Atentamente,

Miguel Lopes
CEO - Director



Tel - +2382428087
Fax - +2382428088
Email - miguel.lopes at cabocom.cv
Web - www.cabocom.cv
Facebook - facebook.cabocom.cv

-----Mensagem original-----
De: chilli-bounces at coova.org [mailto:chilli-bounces at coova.org] Em nome de Thierry Museux - www.fwt.fr -
Enviada: quinta-feira, 1 de Dezembro de 2011 13:33
Para: 'dingo'; 'Fernando Macedo'
Cc: chilli at coova.org
Assunto: Re: [Chilli] Missing File in SVN (cmdline.c)

With a fresh install
svn checkout http://dev.coova.org/svn/coova-chilli/
cd coova-chilli
./bootstrap
./configure --prefix= 
Make

I have an error:


gcc -DHAVE_CONFIG_H -I. -I..    -D_GNU_SOURCE -Wall -Werror -fno-builtin -fno-strict-aliasing -O2 -fomit-frame-pointer -funroll-loops -pipe -I../bstring -DDEFCHILLICONF='"/etc/chilli.conf"' -DDEFPIDFILE='"/var/run/chilli.pid"' -DDEFSTATEDIR='"/var/run"' -DSBINDIR='"/sbin"'    -g -O2 -MT main-opt.o -MD -MP -MF .deps/main-opt.Tpo -c -o main-opt.o main-opt.c
main-opt.c: In function 'options_print_version':
main-opt.c:208: error: 'CMDLINE_PARSER_PACKAGE' undeclared (first use in this function)
main-opt.c:208: error: (Each undeclared identifier is reported only once
main-opt.c:208: error: for each function it appears in.)
main-opt.c:208: error: 'CMDLINE_PARSER_VERSION' undeclared (first use in this function)
main-opt.c: In function 'main':
main-opt.c:231: error: storage size of 'args_info' isn't known
cc1: warnings being treated as errors
main-opt.c:241: error: implicit declaration of function 'cmdline_parser2'
main-opt.c:256: error: implicit declaration of function 'cmdline_parser_configfile'
main-opt.c:576: error: left-hand operand of comma expression has no effect
main-opt.c:576: error: value computed is not used
main-opt.c:576: error: left-hand operand of comma expression has no effect
main-opt.c:614: error: left-hand operand of comma expression has no effect
main-opt.c:614: error: value computed is not used
main-opt.c:614: error: left-hand operand of comma expression has no effect
main-opt.c:1157: error: implicit declaration of function 'cmdline_parser_free'
main-opt.c:231: error: unused variable 'args_info'
make[3]: *** [main-opt.o] Error 1
make[3]: Leaving directory `/root/coova-chilli/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/coova-chilli/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/coova-chilli'
make: *** [all] Error 2




Thierry Museux
France Wireless Technologies
www.fwt.fr
msn: tm at fwt.fr
Tel: + 33 (0) 1 41 08 70 78
Gsm: + 33 (0) 6 15 22 09 62


-----Message d'origine-----
De : dingo [mailto:outbackdingo at gmail.com] 
Envoyé : jeudi 1 décembre 2011 14:18
À : Fernando Macedo
Cc : Thierry Museux - www.fwt.fr -; 'David Bird'; chilli at coova.org
Objet : Re: [Chilli] Missing File in SVN (cmdline.c)

On Thu, 2011-12-01 at 11:12 -0200, Fernando Macedo wrote:
> chilli.c:6080:7: error: variable 'i' set but not used

Great now if we can fix chilli.c :)


_______________________________________________
Chilli mailing list
Chilli at coova.org
http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
 

__________ Information from ESET NOD32 Antivirus, version of virus signature database 6678 (20111202) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 




More information about the Chilli mailing list