[Chilli] Compilation issue with OpenWRT

James @ ADSL24 james at adsl24.co.uk
Tue Aug 20 14:00:34 UTC 2013


Unable to compile coova-chilli 1.3.0 against the latest OpenWRT build. Get
an error:

 

In file included from
/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.
33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.4/../../../../mips-openwrt-linux-
uclibc/sys-include/linux/kernel.h:4:0,
                 from
/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.
33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.4/../../../../mips-openwrt-linux-
uclibc/sys-include/linux/netlink.h:4,
                 from system.h:129,
                 from chilli.h:23,
                 from chilli.c:20:
/home/
openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/l
ib/gcc/mips-openwrt-linux-uclibc/4.6.4/../../../../mips-openwrt-linux-uclibc
/sys-include/linux/sysinfo.h:7:8: error: redefinition of 'struct sysinfo'
/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.
33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.4/../../../../mips-openwrt-linux-
uclibc/sys-include/sys/sysinfo.h:28:8: note: originally defined here
chilli.c: In function 'acct_req':
chilli.c:1824:2: error: passing argument 1 of 'sysinfo' from incompatible
pointer type [-Werror]
/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.
33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.4/../../../../mips-openwrt-linux-
uclibc/sys-include/sys/sysinfo.h:49:12: note: expected 'struct sysinfo *'
but argument is of type 'struct sysinfo *'
cc1: all warnings being treated as errors
make[7]: *** [chilli.lo] Error 1
make[7]: Leaving directory
`/home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/coova-chilli-1
.2.9/src'
make[6]: *** [all-recursive] Error 1

 

 

Any ideas?

 

Thank you.

 

James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130820/665e9f33/attachment.html>


More information about the Chilli mailing list