[Chilli] CoovaChilli 1.2.0 for OpenWRT

Fahd Kasri fahd.kasri at weblib.eu
Mon Jan 11 11:41:32 UTC 2010


Any luck on building 1.2.0 for OpenWRT Kamikaze 8.09.2?

I forced the Kamikaze ImageBuilder to use the 1.2.0 sources by dropping the
tarball in the "dl" directory and this what I get after executing make:

In file included from net.c:20:
system.h:231:1: warning: "offsetof" redefined
In file included from
/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2/bin/../lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/linux/posix_types.h:4,
                 from
/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2/bin/../lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/linux/types.h:8,
                 from
/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2/bin/../lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/linux/if.h:22,
                 from system.h:119,
                 from net.c:20:
/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2/bin/../lib/gcc/mips-linux-uclibc/4.1.2/../../../../mips-linux-uclibc/sys-include/linux/stddef.h:25:1:
warning: this is the location of the previous definition
net.c: In function 'net_open_eth':
net.c:692: warning: unused variable 'option'
net.c:690: warning: unused variable 'mr'
net.c: In function 'rx_ring':
net.c:1021: error: dereferencing pointer to incomplete type
net.c:1027: error: dereferencing pointer to incomplete type
net.c:1042: error: dereferencing pointer to incomplete type
net.c:1042: error: dereferencing pointer to incomplete type
net.c:1044: error: dereferencing pointer to incomplete type
net.c:1044: error: dereferencing pointer to incomplete type
net.c:1046: error: dereferencing pointer to incomplete type
net.c:1049: error: dereferencing pointer to incomplete type
net.c: In function 'tx_ring':
net.c:1095: error: dereferencing pointer to incomplete type
net.c:1096: error: dereferencing pointer to incomplete type
net.c:1113: error: dereferencing pointer to incomplete type
net.c:1119: error: dereferencing pointer to incomplete type
net.c:1121: error: dereferencing pointer to incomplete type
net.c:1128: error: dereferencing pointer to incomplete type
net.c: In function 'setup_rings':
net.c:1278: error: 'TPACKET_V2' undeclared (first use in this function)
net.c:1278: error: (Each undeclared identifier is reported only once
net.c:1278: error: for each function it appears in.)
net.c:1279: error: 'PACKET_VERSION' undeclared (first use in this function)
net.c:1288: error: 'PACKET_HDRLEN' undeclared (first use in this function)
net.c:1260: warning: unused variable 'unit'
net.c: In function 'set_buffer':
net.c:1349: warning: unused variable 'unit'
make[6]: *** [net.lo] Error 1
make[6]: Leaving directory
`/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/build_dir/mips/coova-chilli-1.2.0/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/build_dir/mips/coova-chilli-1.2.0'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/build_dir/mips/coova-chilli-1.2.0'
make[3]: ***
[/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/build_dir/mips/coova-chilli-1.2.0/.built]
Error 2
make[3]: Leaving directory
`/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/package/coova-chilli'
make[2]: *** [package/coova-chilli/compile] Error 2
make[2]: Leaving directory
`/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686'
make[1]: ***
[/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/mips/stamp/.package_compile]
Error 2
make[1]: Leaving directory
`/home/fahd/Work/kamikaze_8.09.2/OpenWrt-SDK-atheros-for-Linux-i686'
make: *** [world] Error 2

-- 
Fahd Kasri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20100111/8cb53288/attachment.htm>


More information about the Chilli mailing list