[Chilli] coova-chilli compilation error 1.2.9

Fernando Macedo fmacedo at cpd.ufrgs.br
Tue Jan 10 17:00:20 UTC 2012


I'm getting these errors:

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='"/usr/local/etc/chilli.conf"' 
-DDEFPIDFILE='"/usr/local/var/run/chilli.pid"' 
-DDEFSTATEDIR='"/usr/local/var/run"' -DSBINDIR='"/usr/local/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:217: error: âCMDLINE_PARSER_PACKAGEâ undeclared (first use in 
this function)
main-opt.c:217: error: (Each undeclared identifier is reported only once
main-opt.c:217: error: for each function it appears in.)
main-opt.c:217: error: âCMDLINE_PARSER_VERSIONâ undeclared (first use in 
this function)
main-opt.c: In function âmainâ:
main-opt.c:240: error: storage size of âargs_infoâ isnât known
cc1: warnings being treated as errors
main-opt.c:250: error: implicit declaration of function âcmdline_parser2â
main-opt.c:265: error: implicit declaration of function 
âcmdline_parser_configfileâ
main-opt.c:623: error: left-hand operand of comma expression has no effect
main-opt.c:623: error: value computed is not used
main-opt.c:623: error: left-hand operand of comma expression has no effect
main-opt.c:1241: error: implicit declaration of function 
âcmdline_parser_freeâ
main-opt.c:240: error: unused variable âargs_infoâ

Should CMDLINE_PARSER_PACKAGE be in cmd.c? It's a blank file, created by 
bootstrap.sh.

Fernando

Em 10/01/2012 11:47, Francesco Colista escreveu:
> Il 10.01.2012 14:32 David Bird ha scritto:
>> Thanks
>>
>> Unless specifically needed, build without pcap
>>
>
> Without pcap, coova build correctly.
> Thanks.
>



More information about the Chilli mailing list