[Chilli] Build troubles

Giovanni Bezicheri giovanni.bezicheri at nethesis.it
Wed Jun 25 13:40:52 UTC 2014


Hello,
I have some troubles when building coova-chilli from 
https://github.com/coova/coova-chilli.git (commit 
9d5257b4a6ece85765088faf77af8c7ec62896c8). It seems that rreq variable 
used at redir.c:3201 in the function redir_main_exit was not previous 
declared!

Making all in src
make[2]: Entering directory `/tmp/coova-chilli/src'
make[3]: Entering directory `/tmp/coova-chilli/src'
/bin/sh ../libtool --tag=CC --mode=compile 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 redir.lo -MD -MP -MF .deps/redir.Tpo -c -o redir.lo redir.c
libtool: compile: 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 redir.lo -MD -MP -MF .deps/redir.Tpo -c redir.c -fPIC -DPIC -o 
.libs/redir.o
redir.c: In function ‘redir_main_exit’:
redir.c:3201: error: ‘rreq’ undeclared (first use in this function)
redir.c:3201: error: (Each undeclared identifier is reported only once
redir.c:3201: error: for each function it appears in.)



More information about the Chilli mailing list