[Chilli] Compiling errors with OpenWRT Kamikaze SDK

Fahd Kasri fahd.kasri at weblib.eu
Fri Jan 22 11:11:34 UTC 2010


Hi,

I'm trying to build the 1.2.0 package for OpenWRT, but I get this error:

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'

Could anybody help me with this?

Thanks a lot.

-- 
Fahd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20100122/91589d75/attachment.htm>


More information about the Chilli mailing list