[Chilli] coova-chilli compilation error 1.2.9

David Bird david at coova.com
Tue Jan 10 13:32:22 UTC 2012


Thanks
 
Unless specifically needed, build without pcap 

Francesco Colista <francesco.colista at gmail.com> wrote:

>With this configure and make options, i'm not able to compile :
>
>./configure --prefix=/usr \
>                 --sysconfdir=/etc \
>                 --mandir=/usr/share/man \
>                 --infodir=/usr/share/info \
>                 --localstatedir=/var/run/chilli \
>                 --libdir=/usr/lib \
>                 --sysconfdir=/etc \
>                 --with-openssl \
>                 --with-poll \
>                 --with-pcap \
>                 --enable-binstatusfile \
>                 --enable-statusfile \
>                 --enable-chillixml \
>                 --enable-ipwhitelist \
>                 --enable-redirinject \
>                 --enable-redirdnsreq \
>                 --enable-redirinject \
>                 --enable-debug \
>                 --enable-debug2 \
>                 --enable-sessgarden \
>                 --enable-shared \
>                 --enable-chilliredir \
>                 --enable-chilliscript \
>                 --enable-layer3 \
>                 --enable-dhcpopt \
>                 --enable-curl \
>                 --enable-largelimits
>
>
>export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
>
>make -j1
>
>I got this error:
>
>net.c: In function 'net_select_prepare':
>net.c:267:7: warning: variable 'i' set but not used 
>[-Wunused-but-set-variable]
>net.c: In function 'net_pcap_handler':
>net.c:648:5: error: too many arguments to function 'np->func'
>net.c: In function 'net_read_eth':
>net.c:718:5: warning: passing argument 4 of 'pcap_dispatch' from 
>incompatible pointer type [enabled by default]
>/usr/include/pcap/pcap.h:298:5: note: expected 'u_char *' but argument 
>is of type 'struct netpcap *'
>make[3]: *** [net.lo] Error 1
>make[3]: Leaving directory 
>`/home/fcolista/aports-fcolista/main/coova-chilli/src/coova-chilli-1.2.9/src'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory 
>`/home/fcolista/aports-fcolista/main/coova-chilli/src/coova-chilli-1.2.9/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory 
>`/home/fcolista/aports-fcolista/main/coova-chilli/src/coova-chilli-1.2.9'
>make: *** [all] Error 2
>
>libpcap version: 1.1.1
>
>
>Thanks.
>-- 
>:: Francesco ::
>Blog: http://fc1979.blogspot.com
>Jabber: francesco at jabber.org
>E-Mail: francesco at bsod.eu
>GnuPG: FE9DDD5F
>_______________________________________________
>Chilli mailing list
>Chilli at coova.org
>http://lists.coova.org/cgi-bin/mailman/listinfo/chilli


More information about the Chilli mailing list